Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Extra Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=68)
-   -   pic: auto code (http://www.chiefdelphi.com/forums/showthread.php?t=155137)

Nevada Reno 11-02-2017 18:59

pic: auto code
 

Mark McLeod 11-02-2017 19:01

Re: pic: auto code
 
This code will execute only once at the beginning of Autonomous. If TEST happens to be true the instant the robot is Enabled, then it will start the motor and quit. The motor will continue running forever.

You need to put a while loop around the outside of this (TEST needs to be inside the loop, too). Give it a Wait of 10ms or so as well.


All times are GMT -5. The time now is 17:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi