View Single Post
  #10   Spotlight this post!  
Unread 16-01-2008, 15:31
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Autonomous mode does not work

Quote:
Originally Posted by Vanquish View Post
When we uncomment the rest of this code we get a program error, an the program light on the RC turns red and nothing works. Any ideas?
The while() is your problem. The value of rc_dig_in01 doesn't change between one execution of the while() loop and the next, so this loop either does nothing, or runs forever and you get the red-light-of-death.