arduino ide download

Download

 

sample code

#include <FastLED.h>

#define NUM_LEDS 9

#define COLOR_ORDER RGB
#define DATA_PIN 6

 

CRGB leds[NUM_LEDS];

void setup() {

FastLED.addLeds<WS2811, DATA_PIN,COLOR_ORDER>(leds, NUM_LEDS);

}

void loop() {
for (int i = 0; i<=4;i++){
leds[i] = CRGB::Green;
FastLED.show();}
delay(1000);

leds[3] = CRGB(0,0,0);
FastLED.show();
delay(500);
}