Datasheet
Pi 5V to LED 5V
Pi GND to LED GND
Pi GPIO18 to LED Din
On the Raspberry Pi, NeoPixels must be connected to
GPIO10, GPIO12, GPIO18 or GPIO21 to work!
CircuitPython Installation of NeoPixel Library
You'll need to install the Adafruit CircuitPython NeoPixel (https://adafru.it/yew) library on your CircuitPython board.
First make sure you are running the latest version of Adafruit CircuitPython (https://adafru.it/Amd) for your board.
Next you'll need to install the necessary libraries to use the hardware--carefully follow the steps to find and install these
libraries from Adafruit's CircuitPython library bundle (https://adafru.it/uap). Our CircuitPython starter guide has a great
page on how to install the library bundle (https://adafru.it/ABU).
For non-express boards like the Trinket M0 or Gemma M0, you'll need to manually install the necessary libraries from
the bundle:
neopixel.mpy
adafruit_bus_device
Before continuing make sure your board's lib folder or root filesystem has the neopixel.mpy, and
adafruit_bus_device files and folders copied over.
Next connect to the board's serial REPL (https://adafru.it/Awz) so you are at the CircuitPython >>> prompt.
Python Installation of NeoPixel Library
© Adafruit Industries https://learn.adafruit.com/adafruit-neopixel-uberguide Page 25 of 100