View Single Post
  #2   Spotlight this post!  
Unread 03-02-2005, 21:44
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,113
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: 4-Digit feedback from bot

Quote:
Originally Posted by Hershey
My team is going to try to use a potentiometer (or a sensor that will give a degree feedback) on our arm. The way that we wanted see the values we were getting was to use the 4-Digit LEDS that usually display the team number. We looked through the manual and all of the other forums, but we couldn't find anything. Any help would be greatly appreciated.
You can put an 8-bit value on the display. I don't have access to the code at the moment, so don't take any of this verbatim; look it up for yourself.

There's a global variable called User_Byte (or something like it) that your code can set. The part of the default code that controls the red and green feedback LEDs on the OI will copy its value to the numeric display when the OI display select button is used to select the user byte.