Thread: LED Set method
View Single Post
  #1   Spotlight this post!  
Unread 18-02-2010, 18:18
Egg 3141592654's Avatar
Egg 3141592654 Egg 3141592654 is offline
Now a mentor, always a student
FRC #0810 (Mechanical Bulls)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Long Island
Posts: 53
Egg 3141592654 is on a distinguished road
LED Set method

Ok, so our team wants to have certain LEDs light up when tasks are being performed. I have gotten the DriverStation enhanced IO LED.get method, but i can't figure out how to set the lights to go on or off. The set method requires a 1D array as input, but i only want certain lights to go on and off. Do i just change the boolean value in the array, or is there more than meets the eye. Pre-thanks in advance.

Team 810's only vet programmer.
__________________
"The answers to the book of life are not found in the back." Charlie Brown

Software Mentor - Team Apex Robotics 5803

Lead Programmer - Team 810 Mechanical Bulls '09-'11
Reply With Quote