Runs a simple blink animation.
Runs a simple blink animation.
#define DATA_PIN 6
#define NUM_LEDS 60
#define BRIGHTNESS 50
#define BLINK_TIME 1000
void setup() {
strip.begin();
strip.setBrightness(BRIGHTNESS);
}
void loop() {
strip.setPixelColor(0, strip.Color(0, 0, 255));
strip.show();
delay(BLINK_TIME);
strip.setPixelColor(0, strip.Color(0, 0, 0));
strip.show();
delay(BLINK_TIME);
}
Header for the FastLED_NeoPixel library.
FastLED implementation of the Adafruit_NeoPixel class for WS2812B strips, with data.
Definition FastLED_NeoPixel.h:413