Datasheet
Arduino Library Installation
Controlling NeoPixels “from scratch” is quite a challenge, so we provide a library letting you focus on the fun and
interesting bits. The library works with most mainstream Arduino boards and derivatives: Uno, Mega, Leonardo, Micro,
Adafruit Flora, etc. — most anything with an Atmel AVR 8-bit processor from 8 to 16 MHz — and also works with the
Arduino Due and all varieties of the PJRC Teensy boards.
Because processor-specific assembly language is used, this library does not work on Netduino, ChipKIT or other
advanced “Arduino-like” boards. Others may have written code and libraries for such boards, but we’re not able to
provide technical support for any bugs or trouble you might encounter there; it’s some real frontier engineering. Some
of these alternative libraries are covered in the “Advanced Coding” section.
Install Adafruit_NeoPixel via Library Manager
Recent versions of the Arduino IDE (1.6.2 and later) make library installation super easy via the Library Manager
interface. From the Sketch menu, > Include Library > Manage Libraries... In the text input box type in "NeoPixel". Look
for "Adafruit NeoPixel by Adafruit" and select the latest version by clicking on the dropbox menu next to the Install
button. Then click on the Install button. After it's installed, you can click the "close" button.
Manually Install Adafruit_NeoPixel Library
If you’re using an older version of the IDE, or just want to set things up manually, “classic” installation of the library is as
follows: you can visit the Adafruit_NeoPixel library page at Github and download from there, or just click this button:
Download Adafruit_NeoPixel for Arduino
https://adafru.it/cDj
1. Uncompress the ZIP file after it’s finished downloading.
2. The resulting folder should contain the files Adafruit_NeoPixel.cpp, Adafruit_NeoPixel.h and an “examples” sub-
folder. Sometimes in Windows you’ll get an intermediate-level folder and need to move things around.
3. Rename the folder (containing the .cpp and .h files) to Adafruit_NeoPixel (with the underscore and everything),
and place it alongside your other Arduino libraries, typically in your (home folder)/Documents/Arduino/Libraries
folder. Libraries should
never
be installed in the “Libraries” folder alongside the Arduino application itself…put
© Adafruit Industries https://learn.adafruit.com/adafruit-neopixel-uberguide Page 41 of 68