View Single Post
  #6   Spotlight this post!  
Unread 06-03-2004, 19:39
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,642
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: LEDs in switch box.

You can have the switch pull the appropriate pin to ground (as the manual shows) and then have the PROGRAM turn the appropriate LED on to match the switch (Pwm1_red, for example).

This is what we do.

You can even use the program to have the lights give more information than just "on" or "off" for instance you may want to indicate an error condition by flashing the LED.

The code is not that hard to write and you don't need to have auxilary power supplies on your OI.

Just a suggestion.

Joe J.