Implement MCPWM module support
I'm going to begin development on a thin wrapper around MCPWM, starting with implementation of capture.
The MCPWM link is dead... new link is MCPWM
Updated URL.
Sounds like a great idea. Someone earlier (LinuxConfAU, I think) brought up the idea of using the MCPWM "RMT" function to clock bits out to NeoPixel type LEDs, which seems like it might work too.
Since I needed 6 PWM channels with independent frequencies, I extended the esp32-module with MCPWM support: https://github.com/bskp/micropython_esp32_mcpwm. Currently, only basic functionality is covered and I do not plan to dive much deeper. However, I'm happy if it helps someone else!
@bskp FYI this repository is no longer active. All activity is now at https://github.com/micropython/micropython, and also at https://forum.micropython.org
@dpgeorge thank you for the notice. Is there a chance for this feature being merged upstream, even though the API deviates from the one of machine.PWM? If so, I'll open a pull request.
G'day @bksp for what it's worth I still think this is a great hardware feature to have exposed in MicroPython :-)
The work in this repo has now been merged back into the main micropython/micropython repo, and it'd be well worth opening this issue over there and working towards an agreement on an API change to allow support for this. I'm happy to help if I can.
@damien did we work out how to lock this repo to prevent confusion?
did we work out how to lock this repo to prevent confusion?
It's possible to archive a repository to make it read-only, but I think it's good to keep this un-archived so we can close/update issues/PRs here as they are resolved upstream. (And we rarely get comments on this repo anymore anyway.)