View Single Post
  #2   Spotlight this post!  
Unread 12-04-2005, 23:28
ConKbot of Doom ConKbot of Doom is offline
Team Alumni
FRC #1184 (Cobra Robotics)
Team Role: Leadership
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Maryland
Posts: 153
ConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura aboutConKbot of Doom has a spectacular aura about
Re: LED drivers on OI

Quote:
Originally Posted by Andrew Schuetze
Our initial research finds that IFI has built in the ability to drive LEDs on ports 1 & 3 that are the same ones mapped on the OI.
As I understand it the default mapping of the OI LEDs can be customized for user defined values such as we propose. Please point out flaws in my understanding or highlight better options that you see.

A question that I have is if the joystick ports are the same why isn't there an option to drive LEDs in all four ports? Does this option already exist and I just don't realize it? Please explain as best you can to me who has a marginal understanding of the default code.
The 4 ports aren't all the same, rather than LEDs, ports 2&4 have connections for the buttons on ports 1 and 3 respectively. That way you can access 8 buttons on one joystick port.

In User_routines.C there is a section called "robot feedback LEDs" I'm not sure which ones the LED drivers in the port use, but it is some of the ones in there.
__________________
2005 Philly #1 seeded team, highest average points, and semi-finalists
Thanks to 103 and 484 for being alliance mates.