View Single Post
  #1   Spotlight this post!  
Unread 26-01-2008, 14:49
Sykan's Avatar
Sykan Sykan is offline
Lead Programmer
AKA: David
FRC #0540 (Team 540)
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Virginia
Posts: 24
Sykan is on a distinguished road
Using While Statements

I was wondering how I can program a continuously updating while loop in teleop mode. for example if i wanted to complete a 90 degree turn: I've been trying it as while(temp_gyro_angle<900) but the robot freezes. How do I continuously update the while loop and get out the the while loop when finished?

Thank you for your help.