Just finished my wind prediction Clock.

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();
}

See the notes here. Might help.

ESP8266 notes · FastLED/FastLED Wiki · GitHub

You might try #define DATA_PIN 1

I’m not sure which variant you’re using, but pins D5 to D8 inclusive work well on the D1 mini which equates to GPIO12 to GPIO15 inclusive.

Talking about pins, couldn’t believe you guys…but this was the key. Defined pin 5, with is in the Neopixel code (D1 on the NodeMCU of course). Now just connected the strip to D5, and with fasted pin 5 = pin D5!? But it works, thank you big time!