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
The ws2812.write function should emit the reset signal and the data.
Actual behavior
On the ESP32-C3 only the reset signal is generated. The data is not generated.
I could narrow down the problem to the function ws2812_fill_memory_encoded which writes new items to the RMT memory, but nothing appears on the outside. To be honest I have no idea what is going wrong, but I have a workaround. The new SDK offers a translator callback to generate new RMT items on the fly from input data. I have a patch for this.
Test code
This should burn a hole in your retina using the onboard RGB LED of the ESP32-C3-DevKitM-1:
ws2812.write({pin=8, data=string.char(255,0,0)})
NodeMCU startup banner
NodeMCU ESP32 build unspecified powered by Lua 5.1.4 [5.1-doublefp] on IDF v4.4-beta1-284-ge5892a7286
Hardware
ESP32-C3
The text was updated successfully, but these errors were encountered:
Expected behavior
The
ws2812.write
function should emit the reset signal and the data.Actual behavior
On the ESP32-C3 only the reset signal is generated. The data is not generated.
I could narrow down the problem to the function
ws2812_fill_memory_encoded
which writes new items to the RMT memory, but nothing appears on the outside. To be honest I have no idea what is going wrong, but I have a workaround. The new SDK offers a translator callback to generate new RMT items on the fly from input data. I have a patch for this.Test code
This should burn a hole in your retina using the onboard RGB LED of the ESP32-C3-DevKitM-1:
NodeMCU startup banner
NodeMCU ESP32 build unspecified powered by Lua 5.1.4 [5.1-doublefp] on IDF v4.4-beta1-284-ge5892a7286
Hardware
ESP32-C3
The text was updated successfully, but these errors were encountered: