vbenso commented on PR #6992: URL: https://github.com/apache/nuttx/pull/6992#issuecomment-1589601379
> Hey there @vbenso :-) Did you manage do implement the updates? How can I help? I have ESP32 + WS2812 setup ready for testing / help in development :-) I thas been a while since I work with NuttX. I do remember submitting the PR, fixed many things and left the callback change for last, however couldn't manage to touch it since. I'll move the WS2812 dedicated code into the application. And in the new solution, I think a callback registered from the user's app will translate the pixels to the RMT's time words. Being called by the RMT driver's IRQ every time it needs to refill it's buffer. > One question here: would it be possible to generate inverted pulses somehow with RMT so WS2812 gets signals over N-MOSFET transistor? It will invert signals but can interface 3.3V to 5V in case of devices that must have 5V DIO and does not accept direct 3.3V (like WS2812-MINI). With this approach the user's callback function will be able to adjust the timing and also de polarity of the output signal. The the RMT will be totally decoupled from the WS2812 and will be more generic, being able to generate other pulse sequences as well. I'll squeeze out some time this weekend for this changes and also the fix of some other ugly things that remain in this code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
