View Single Post
  #10   Spotlight this post!  
Unread 15-03-2006, 13:05
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: Good Switch For Autonomous Mode Select

Quote:
Originally Posted by blue_crew
How do we display custom variables on the OI 4 digit display?
To display User_Byte1 (a variable in the code) press the OI select button a couple times till the display reads "uXXX", where XXX are the 3 digits of User_Byte1 (it should first flash u012 because that is your firmware version). You can change User_Byte1 in code using the joystick as Kris noted. User_Byte1 is global and defined in ifi_aliases as txdata.user_byte1.allbits. It is normally set to the Breaker that tripped but you can change that. The other 5 User_Bytes can be displayed on the dashboard.

I personally use OI rotary switches since I always have plenty of OI analog inputs left.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"

Last edited by The Lucas : 15-03-2006 at 13:10.