Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
378 B
5
Indexable
Never
#include <FastLED.h>

#define NUM_LEDS  144
#define LED_PIN   6

CRGB leds[NUM_LEDS];

void setup()  {
    FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS);
    FastLED.setBrightness(10);
}


void loop() {
(int i = 0; i < 20; i++ );
(int a = 21; a < 40; i++ );
(int u = 41; u < 60; i++ );

{
    leds[i].setRGB(0,255,250);
    FastLED.show();
     
}