Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "FastLED.h"
- #define NUM_LEDS 60
- CRGB leds[NUM_LEDS];
- void setup() { FastLED.addLeds<DOTSTAR, 16, 15, RGB>(leds, NUM_LEDS); }
- void loop() {
- leds[0] = CRGB::White; FastLED.show(); delay(100);
- leds[0] = CRGB::Black; FastLED.show(); delay(100);
- }
Advertisement
Add Comment
Please, Sign In to add comment