Difference between revisions of "RGB LEDs"

From Mech
Jump to navigationJump to search
Line 1: Line 1:
'''WS2812 Addressable RGB LEDs (NeoPixels)'''
'''WS2812 Addressable RGB LEDs (NeoPixels)'''[[image:Adafruit_RGB_LEDS.jpg|thumb|250px|[http://www.adafruit.com/products/302 RGB LEDs]|right]]
[[image:Adafruit_RGB_LEDS.jpg|thumb|300px|[http://www.adafruit.com/products/302 RGB LEDs]|right]]



butt


'''Install the NeoPixels Library'''
'''Install the NeoPixels Library'''
Line 15: Line 16:




'''Wire Up Your LEDs'''[[image:RGB_LEDs_Wiring.jpg|thumb|150px|[https://cdn.sparkfun.com/datasheets/Components/LED/COM-12877.pdf RGB LEDs Datasheet]|right]]
'''Wire Up Your LEDs'''
*Diagram of how to wire 2 RGB LEDs together goes here
[[image:RGB_LEDs_Wiring.jpg|thumb|300px|[https://cdn.sparkfun.com/datasheets/Components/LED/COM-12877.pdf RGB LEDs Datasheet]|right]]



----
----

Revision as of 15:00, 13 March 2015

WS2812 Addressable RGB LEDs (NeoPixels)


butt

Install the NeoPixels Library

  • Download ZIP of all library files here
  • Unzip the ZIP file when it's done downloading
  • Put all of the files from the folder into a new folder called "Adafruit_NeoPixels"
  • Put this new folder into your Adruino Libraries folder (usually located at (home folder)/Documents/Arduino/Libraries)
    • If you don't have a "Libraries" folder in Arduino/Libraries, create one and put the Adafruit_NeoPixels folder in it
  • Restart the Arduino IDE if it's already running
  • Open up a new Arduino sketch (program) and check to see if the Adafruit NeoPixels library is installed by going to Sketch-->Import Library and seeing if the NeoPixels library is listed.


Wire Up Your LEDs

  • Diagram of how to wire 2 RGB LEDs together goes here



  • Write code
  • Applications