Just finished my wind prediction Clock. It shows the wind prediction, based on the WRF9 windmodel. Yes I’m proud. But… this is not running with FastLed (I now use the Adafruit Lib). I cant get the FastLED to show me anything. Even the blink example of fastLED will not light up any led.
This is so frustrating! Any Ideas to try something? I’m using the simple code below, the Lib files are found (no errors while uploading):
#include “FastLED.h”
#define NUM_LEDS 30
// my datapin is D1 (=GPIO5) on my NodeMCU I’v tried 5 instead of D1 but still no led’s
#define DATA_PIN D1
CRGB leds[NUM_LEDS];
void setup() {
// I HAVE TESTED THESE THREE
//FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<NEOPIXEL, DATA_PIN>(leds, NUM_LEDS);
}
void loop() {
leds[1] = CRGB::Red;
leds[2] = CRGB::Green;
leds[2] = CRGB::Blue;
FastLED.show();
}
