View Single Post
  #2   Spotlight this post!  
Unread 14-01-2008, 09:55
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Help Autonomous code not working

1: You say it doesn't work, but that isn't enough information. Tell us what you expect it to do, and tell us what it's doing instead.

2: Put code between [ code ] and [ /code ] tags when you post it here. It will preserve the formatting.

3: Don't use delay loops the way it looks like you're trying to. If you take too long before calling the Putdata() function, the master CPU assumes your code is hung and signals a code error. You'll need to figure out how to execute the complete while (autonomous_mode) loop without pausing in the middle.