#include <Adafruit_NeoPixel.h> // Use neoPixel library
//
Adafruit_NeoPixel stribe(8, 6, NEO_GRB + NEO_KHZ800);
void setup() {
stribe.begin(); // Aloita neopixelin käyttö
uint32_t color = stribe.Color(255, 0, 0);
//(RED,GREEN,BLUE) value 0..255
stribe.setBrightness(255); // Max brightness
for (int i = 0; i <= 3; i++) {
stribe.setPixelColor(i, color);
// Set color to led number i starting from 0
}
stribe.show(); // Send light command
}
void loop() {
// Do nothing
}