ardupilot
ardupilot copied to clipboard
AP_HAL_ESP32: RCOutput ported to new mcpwm driver
Ported RCOutput code to new MCPWM driver
Best regards, A. Romanov
What's wrong with the old code that it needed all these changes?
Old driver was deprecated and will be removed in next idf 6.x release.
I don't like new driver, it hides actual hardware implementation too much, to my taste. And much more verbose.
The only positive is that it is possible to use one timer for group of six rc out pins, so they work synchronized and may consume less power.