Code: Select all
#include <Adafruit_NeoPixel.h>
#define LED_COUNT 129
#define LED_PIN A4
Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);
void setup() {
strip.begin();
}
void loop() {
strip.fill((255, 0, 0), 1, 10);
strip.fill((0, 0, 255), 20);
strip.show(); // Send the updated pixel colors to the hardware.
}