#include <Adafruit_NeoPixel.h> // Add NeoPixel library
// Create new Adafruit_NeoPixel type variable named "strip" with 8 LEDs connected to pin 6
Adafruit_NeoPixel strip(8, 6, NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin(); // Start using NeoPixel
uint32_t color = strip.Color(255, 0, 0); // Create new color with values (red, green, blue)
strip.setPixelColor(0, color); // Set color to first NeoPixel
strip.setBrightness(255); // Set NeoPixel brightness to maximum
strip.show(); // Send colors to strip
}
void loop() {
// Do nothing
}