This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
const int NUM_LEDS = 25; | |
const int LED_PIN = 27; | |
static CRGB leds[NUM_LEDS]; | |
CRGB correct(CRGB c) { | |
// fix RGB order :( | |
return CRGB(c.g, c.r, c.b); | |
} |