Log in

View Full Version : LEDs on driver station


Elean Atencio
15-02-2010, 11:26
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
16-02-2010, 16:13
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.