View Single Post
  #2   Spotlight this post!  
Unread 01-02-2005, 19:22
Unsung FIRST Hero
Greg Marra Greg Marra is offline
[automate(a) for a in tasks_to_do]
FRC #5507 (Robotic Eagles)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2005
Location: San Francisco, CA
Posts: 2,030
Greg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond reputeGreg Marra has a reputation beyond repute
Re: Showing PSI in user mode?

Quote:
Originally Posted by Billfred
Alright, I've seen certain people say that they've been able to get air pressure to appear as the user byte on the OI.

The problem is, I'm not sure how to read such data from the RC, and searching CD doesn't seem to turn up any information.

Can anyone shed some light on this?

Thanks!
Code:
User_Byte1 = yourvariablehere;
Then you can push the 'select' button on the operator interface to toggle between the different userbytes (you can define up to six). I believe that userbytes 1 and 2 are the only ones that show up on the OI, but I haven't been able to check this. Actually, I haven't even been able to check that the code above works. I'm only about 80% sure it does. All of the userbytes can be read through the Dashboard port by a Dashboard program.

Hope that helps.