Hi,
I’m trying to connect an ESP32 (link) to a WS2812B LED strip (link), but I’m getting the following errors in the serial monitor:
Setup:
The LED strip doesn’t respond, and I can't find solutions online. Any ideas? Thanks!
I’m trying to connect an ESP32 (link) to a WS2812B LED strip (link), but I’m getting the following errors in the serial monitor:
E (21652) led_strip_rmt: led_strip_rmt_wait_refresh_done(85): disable RMT channel failed
E (22155) rmt: rmt_tx_disable(774): channel can't be disabled in state 1Setup:
- Wiring: GND → GND, 5V → VIN, Data → D14 (tried other pins).
- Power: ESP32 powered via USB.
- Code: Using FastLED (example code below).
C++:
#include <FastLED.h>
#define DATA_PIN 14
#define NUM_LEDS 6
CRGB leds[NUM_LEDS];
void setup() {
Serial.begin(115200);
FastLED.addLeds<WS2812B, DATA_PIN, RGB>(leds, NUM_LEDS); // GRB ordering is typical
}
void loop() {
// Turn the LED on, then pause
leds[0] = CRGB::Red;
FastLED.show();
delay(500);
// Now turn the LED off, then pause
leds[0] = CRGB::Black;
FastLED.show();
delay(500);
}