Closed XavierGerD closed 2 weeks ago
Closed because I needed a level shifter... D'oh
So it works now ?
Thanks for the reply. It seems most of my issues are fixed now, it was indeed a problem with the 3.3V logic.
However, one weird issue still remains. When using setPixelinBuffer
and showPixelsFromBuffer
, giving the pixels high-ish RGB values makes the ESP crash. For example:
for (uint16_t i = 0; i < NUM_LEDS_PER_STRIP; i++) {
driver.setPixelinBuffer(i, red, green, blue);
}
driver.showPixelsFromBuffer();
In this case, the values 215, 30, 149 shows the proper color just fine. But as soon as I raise the red channel to something like 200+, the ESP crashes repeatedly:
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
Any ideas on why this might be? I'm calling the setPixelinBuffer
and showPixelFromBuffer
methods from inside a task.
Hello Strange I will have a look at it Yves
Hi,
I've been attempting to stream some data over WiFi to display LED color/video. Unfortunately, I'm unable to make the display work consistently. Bugs include:
Using WS2813Cs, here is my code (I removed the irrelevant parts, hopefully I didn't forget anything)
As mentioned above, the most common bug is that the LEDs display random colors. For example, if I set the RGB values to (255, 0,0), it will show the colors properly. But, if I bring down the value below about (150, 0,0), then I start to see some flickering. Also, changing the color too quickly crashed the ESP sometimes.
Also I should mention that the LEDs show perfectly fine when using a built-in color function that doesn't rely on the WiFi data. So I'm not sure it's an electrical problem.
Any insight is much appreciated! Thanks!!