Busy Board for Toddlers

When you add LEDs you specify the RGB order of the LED colors. Change this variable until you find the one that matches your particular string (probably GRB).

FastLED NeoPixel: FastLED_NeoPixel< NumLeds, DataPin, RgbOrder > Class Template Reference (dmadison.github.io)

2 Likes

I normally use the Aidafruit libraries. They have good support.
e.g.


// ------------------ NeoPixels -----------------
#include <Adafruit_NeoPixel.h>

#define LED_PIN 4
#define LED_COUNT 120

Adafruit_NeoPixel strip(LED_COUNT, LED_PIN, NEO_GRB + NEO_KHZ800);
1 Like

Here’s a link to the Adafruit GitHub repo for the NeoPixel libraries if anyone is looking for it. Usage and installation instructions are at the bottom of the page in the README:

1 Like