Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <FastLED.h>
- #define NUM_LEDS 284
- #define BRIGHTNESS 255
- CRGB leds[NUM_LEDS];
- void setup() {
- FastLED.addLeds<WS2811, 5, BRG>(leds, 0, 100);
- FastLED.addLeds<WS2812B, 7, GRB>(leds, 100, 144);
- FastLED.addLeds<WS2811, 9, BRG>(leds, 244, 40);
- FastLED.setBrightness( BRIGHTNESS );
- }
- void loop() {
- fill_gradient(leds, NUM_LEDS, CHSV(12,255,255), CHSV(120,255,255), FORWARD_HUES);
- FastLED.show();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement