You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use a piece of APA102 LED strip I had laying around.
My configuration:
/######################## MAIN CONFIG ########################/
#define LED_TYPE APA102 // You might also use a WS2811 or any other strip that is Fastled compatible
#define DATA_PIN D3 // Be aware: the pin mapping might be different on boards like the NodeMCU
#define CLK_PIN D5 // Only required when using 4-pin SPI-based LEDs
#define CORRECTION TypicalLEDStrip // If colors are weird use TypicalLEDStrip
#define COLOR_ORDER BGR // Change this if colors are swapped (in my case, red was swapped with green)
#define MILLI_AMPS 3000 // IMPORTANT: set the max milli-Amps of your power supply (4A = 4000mA)
#define VOLTS 5 // Voltage of the Power Supply
I get the error:
error: static assertion failed: Invalid pin specified static_assert(validpin(), "Invalid pin specified");
If I switch to WS2812B strip and comment out the CLK_PIN the code is compiling fine.
The text was updated successfully, but these errors were encountered:
I wanted to use a piece of APA102 LED strip I had laying around.
My configuration:
/######################## MAIN CONFIG ########################/
#define LED_TYPE APA102 // You might also use a WS2811 or any other strip that is Fastled compatible
#define DATA_PIN D3 // Be aware: the pin mapping might be different on boards like the NodeMCU
#define CLK_PIN D5 // Only required when using 4-pin SPI-based LEDs
#define CORRECTION TypicalLEDStrip // If colors are weird use TypicalLEDStrip
#define COLOR_ORDER BGR // Change this if colors are swapped (in my case, red was swapped with green)
#define MILLI_AMPS 3000 // IMPORTANT: set the max milli-Amps of your power supply (4A = 4000mA)
#define VOLTS 5 // Voltage of the Power Supply
I get the error:
error: static assertion failed: Invalid pin specified static_assert(validpin(), "Invalid pin specified");
If I switch to WS2812B strip and comment out the CLK_PIN the code is compiling fine.
The text was updated successfully, but these errors were encountered: