#include <Adafruit_NeoPixel.h>

 #define PIN 11
  #define NUMPIXELS 37
  #define PIN_POW 5

// When we setup the NeoPixel library, we tell it how many pixels, and which pin to use to send signals.
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(NUMPIXELS, PIN, NEO_RGBW + NEO_KHZ800);

int delayval = 100; // delay for half a second
void setup() {
  pixels.begin(); // This initializes the NeoPixel library.
  pinMode(PIN_POW, OUTPUT);
   digitalWrite(PIN_POW, OUTPUT);
}

void loop() {
  // For a set of NeoPixels the first NeoPixel is 0, second is 1, all the way up to the count of pixels minus one.
  for(int i=0;i<NUMPIXELS;i++){
    // pixels.Color takes RGB values, from 0,0,0 up to 255,255,255
    pixels.setPixelColor(i, pixels.Color(0,200,0)); // Moderately bright green color.
    pixels.show(); // This sends the updated pixel color to the hardware.
    delay(delayval); // Delay for a period of time (in milliseconds).
  }


}
