r/FastLED • u/yukiiiiii2008 • Feb 07 '24
Discussion Which code does FastLED use to make a 0.2us delay for WS2812B?
I recently encountered an issue with my board:
https://www.reddit.com/r/arduino/comments/1al0y1e/when_i_read_pin_0_an_interference_signal_is/
I want to create the pulse signal myself to find out if the error is caused by FastLED.
Edit:
After some search, I think it uses rmt:
https://github.com/FastLED/FastLED/blob/master/src/platforms/esp/32/clockless_rmt_esp32.cpp
But still have no idea what caused the above error.
Edit2:
You can see this Git Hub issue to find out more about it: https://github.com/FastLED/FastLED/issues/1596
1
Upvotes
2
u/Yves-bazin Feb 07 '24
If you are using an esp32 indeed fastLED by default uses the rmt driver. Could you please share your code so we can see what could be the issue. You can still try the option to use the i2s driver instead of the rmt for the esp32
1
u/Doormatty Feb 07 '24
What if you add
To your code?