Thread: LEDs
View Single Post
  #8   Spotlight this post!  
Unread 01-04-2014, 13:51
mechinn's Avatar
mechinn mechinn is offline
Registered User
FRC #0869 (Power Cord 869)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2005
Location: Middlesex High School
Posts: 4
mechinn is just really nicemechinn is just really nicemechinn is just really nicemechinn is just really nice
Re: LEDs

869 used a combination of an Arduino and Adafruit NeoPixel LED strips (http://www.adafruit.com/products/1460)

We used various combinations of digital outputs from the digital sidecar to send signals to the Arduino and had it do different things depending on what the robot was doing such as having blue/red depending on what the FMS told us our color was with
Code:
DriverStation.getInstance().getAlliance()
or our award winning countdown color rotation and blinking to let our drivers know how little time is left in the match without looking up from the robot based on the match time
Code:
DriverStation.getInstance().getMatchTime()