PDA

View Full Version : LEDs on driver station


Elean Atencio
02-15-2010, 10:26 AM
How can i get the LEDs in the drivers station to work when a Digital input is true/false or a solenoid is on/off?

BradAMiller
02-16-2010, 03:13 PM
How can i get the LEDs in the drivers station to work when a Digital input is true/false or a solenoid is on/off?

There is a setLED() method on the DriverStationEnhancedIO class. You can use it by supplying a channel number (1-8) and a boolean value (true, false) that will operate the LED. The DriverStation must be set to use the Cypress enhanced I/O board in order for this to work.