FastLED, NodeMCU Pin Selection, Arduino 1.8.13

#include <FastLED.h>
#define LED_PIN     9
#define NUM_LEDS    60

Good day All,

I'd like to send OTA sketches to my NodeMCU. I would like to use pin GPI05 to drive the LEDs. Do I insert "GPI05" in the #define LED_PIN line? I see GPI05 is D1 on the pinout. Should I use "1" in the field?

TIA

Start with pin 1.
It should be the default, to use the labels on the board. I don't know if that really is the case :confused:

Here are some notes. I don't know if they are up to date: ESP8266 notes · FastLED/FastLED Wiki · GitHub.
There has been improvements in the latest version.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.