Connect the FLORA to your computer with a USB cable.
For version 2 pixels:
Install the NeoPixel library and go to File-->Examples-->Adafruit_NeoPixel-->strandtest.
The example sketch is set for 60 pixels, so you can change "Adafruit_NeoPixel(60...);" to "Adafruit_NeoPixel(3...);" if you like, but it will still work just fine with the defaults. This sketch will animate through all colors and is a good test. Be sure this sketch lights up your pixels before making any modifications to the code.
For version 1 pixels:
In the Adafruit IDE, open up the Smart Pixels sample code-- go to File-->Examples-->Adafruit_FloraPixel-->floratest. Check out our "Getting Started with Flora" tutorial for more info on the software.
The example sketch is set for eight pixels, so you can change "Adafruit_FloraPixel(8);" to "Adafruit_FloraPixel(3);" if you like, but it will still work just fine with the defaults. This sketch will animate through all colors and is a good test. Be sure this sketch lights up your pixels before making any modifications to the code.
Page last edited November 29, 2012
Text editor powered by tinymce.