View Single Post
  #10   Spotlight this post!  
Unread 09-10-2007, 16:43
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: OI control box, LED questions

Quote:
Originally Posted by Tanis View Post
As for the light mappings in the code, I'm not talking about where it ells the light whether to turn on or off, I'm talking about where it says that pinX = relay1_green. I found where it sets the p1_x, y, switch, trig, and the other inputs, but I couldn't find the outputs.
Those pins are a hardware feature of the OI. There's no code associated with them, other than the code which turns the LEDs on or off. You can find the pinout in the OI reference guide that you can download here; look for the documentation of ports 1 and 3.
Quote:
Is there a guide out there for using the dashboard port for inputs/outputs?
It's output only. The dashboard specification is included in the .zip file with the Dashboard Viewer program.