1. Getting started with Neopixels and Arduino



  2. Troubleshooting Neopixels



  3. How to Install the Neopixel Directory

    Project Name:    How to Install the Neopixel Directory with Sketch
    Name:            Patrick Chen
    School:          Sir Winston Churchill Secondary
    Date:            January 19, 2018
    Author:          Limor Fried (Lady Ada)
    Changes:         Modified by Patrick Chen, January 15, 2018
    Notes:          Location of compressed Neopixel file
    1.  Download the compressed Neopixel file from    
    2.  Locate the directory where your Arduino sketches are stored.
          For example, "H:\My Documents\Arduino"
    3.  Click on the downloaded ZIP file to open its location and content.
    4.  Drag the file located inside the ZIP file,
         which includes "Adafruit_Neopixel-mster", into the
         directory that you found in step 2.
    5.  To use NeoPixel, first open the file you extracted in step 4.
         Then, copy all of the files inside.
    6.  Find the Neopixel file that you are using, for example,
         "H:\My Documents\Arduino\skethc_dec12a"
    7.  Enter the file for the program, and paste the copied files from
         step 5 into this location in step 6.
    8.  Open the Arduino program and change the first line of code from
         #include to  #include  "./Adafuit_NeoPixel.h"
    #define PIN      6
    #define N_LEDS   1
    Adafruit_NeoPixel strip = Adafruit_NeoPixel(N_LEDS, PIN, NEO_GRB + NEO_KHZ800);
    void setup() {
    void loop() {
      chase(strip.Color(255, 0, 0)); // Red
      chase(strip.Color(0, 255, 0)); // Green
      chase(strip.Color(0, 0, 255)); // Blue
    static void chase(uint32_t c) {
      for(uint16_t i=0; i