View Single Post
  #1   Spotlight this post!  
Unread 19-02-2003, 12:54
authgeek1218's Avatar
authgeek1218 authgeek1218 is offline
Design/Programming Geek
#1218 (CHABots)
Team Role: Alumni
 
Join Date: Jan 2003
Location: Philadelphia
Posts: 26
authgeek1218 is an unknown quantity at this point
Send a message via AIM to authgeek1218
One final fairly massive problem with the code...

In short, our auton_mode is not being set to 1.

We've tried setting the competition port on pins 5 and 8. The controller flashes 'disabled' but auton_mode isn't set to 1.
We've tried setting our team number to 0. Same result.

We have set our auton_mode variable to 1 and our programs do run from there.
Code:
auton_mode		VAR PB_mode.bit6
^This is defined.
I've tried using the variable PB_mode.bit6 instead of auton_mode and this also does not work.

Is their any chance we got a bad OI that doesn't set the bit to 1 when auton mode is on? Something like that? Any help is really appreciated.

-Nick 1218
__________________