Search for the Adafruit Neopixel library and install it
We also have a great tutorial on Arduino library installation at:
Install the NeoPixel library and go to File --> Examples --> Adafruit_NeoPixel --> strandtest.
If you cannot find that file in the dropdown menu go back up and reinstall the library.
This will launch a window containing the sample sketch. Upload it to your FLORA or GEMMA with the Upload button.
Once successfully uploaded to your FLORA or GEMMA, the pixel will flash and fade different colors. Congrats, you've tested your pixel!
We do test each pixel in the factory, but you should use this method to test that all three colors (red, green, blue) work on each of your pixels before sewing them into your project!
For GEMMA, you'll need to change the pin number in the Arduino sketch before uploading. Change "6" to "1":
Then upload the sample code to GEMMA by pressing the reset button (the red LED should start pulsing) and clicking the "upload" button in the Arduino software.