PaulS
Well-known member
Thanks houtson, but modifying my basic sketch above to:
...does not work for me.
Am I missing something?
Thanks,
Paul
Code:
#include <WS2812Serial.h>
#define USE_WS2812SERIAL
#include <FastLED.h>
#define DATA_PIN 7
#define NUM_LEDS 1
#define NUM_STRIPS 1
CRGB leds[NUM_LEDS];
void setup() {
// FastLED.addLeds<NUM_STRIPS, WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS);
FastLED.addLeds<WS2812SERIAL, DATA_PIN, BRG>(leds, NUM_LEDS);
leds[0] = CRGB::Red;
FastLED.show();
}
void loop() {
}
...does not work for me.
Am I missing something?
Thanks,
Paul