0138
.
.
.
#include
#define LED_PIN 2
#define NUM_LEDS 12
CRGB leds[NUM_LEDS];
void setup() {
FastLED.addLeds(leds, NUM_LEDS);
FastLED.setMaxPowerInVoltsAndMilliamps(5, 500);
FastLED.clear();
FastLED.show();
}
void loop() {
//RED GREEN BLUE
LED[0] = CRGB(255, 0, 0);
LED[1] = CRGB(0, 255, 0);
LED[2] = CRGB(, 0, 255);
FastLED.show();
}
Comments
Post a Comment