|
Code doesnt work With While Loops
Whenever I try to use while loops the robot farts out and decides to not let anything work (Drive system, arm motors, sensors, ect.). But when I take the loop out everything is fine and dandy. I have the while loop set to always run (constant false to a stop if true) and I have a 50ms timer. I'm trying to use a button latching system like it has in the example code. I figured out a way around it with globals but I'm afraid that when I put in the autonomous it won't work. Any suggestions?
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
|