-
Hi, I have SmartLED Everlight 12-23C which has slightly different timings from WS2812 LEDs.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I2s methods do not have the means to set the pulse timing specifically. They are sent using a ratio of sorts, either 1/4 of cycle width "on" or 3/4 of cycle width is "on". The timing you listed above already meets this criteria (300ns is 1/4 of 1200ns, 900ns is 3/4 of 1200ns). Further, all the methods already have a reset time of > 50us. Further, the i2s doesn't produce the most consistent pulse widths either, so +-50ns is very common. The actual cycle width is set to 1250us (the most common spec) which still should produce a signal that meets the spec you listed above. Did you try the already available methods? The RMT methods do provide specific timing and the closest one to the above would be the NeoEsp32Rmt1Ws2811Method. |
Beta Was this translation helpful? Give feedback.
I2s methods do not have the means to set the pulse timing specifically. They are sent using a ratio of sorts, either 1/4 of cycle width "on" or 3/4 of cycle width is "on". The timing you listed above already meets this criteria (300ns is 1/4 of 1200ns, 900ns is 3/4 of 1200ns). Further, all the methods already have a reset time of > 50us.
Further, the i2s doesn't produce the most consistent pulse widths either, so +-50ns is very common.
The actual cycle width is set to 1250us (the most common spec) which still should produce a signal that meets the spec you listed above. Did you try the already available methods?
The RMT methods do provide specific timing and the closest one to the above w…