View Single Post
  #1   Spotlight this post!  
Unread 22-02-2011, 09:52
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
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.
Reply With Quote