Description
The ESP32 port does not support the invert parameter in PWM.
By reading the first comment to this post https://www.reddit.com/r/esp32/comments/zd9o2t/ho_do_i_invert_the_ledc_pwm_signal/ it seems like it would be quite trivial.
With a little guidance I might be able to do it myself, I can compile micropython, I just need to understand where to start for this specific task.
BTW: for some reason the preview of docs/library/machine.PWM.rst in Github does not show the paragraph in Constructors. It took me a while to understand why the page was showing up when searching for PWM invert while I could not spot invert in the page: I was looking at the preview where the constructor is missing!
Code Size
No response
Implementation
I intend to implement this feature and would submit a Pull Request if desirable
Code of Conduct
Yes, I agree
Description
The ESP32 port does not support the invert parameter in PWM.
By reading the first comment to this post https://www.reddit.com/r/esp32/comments/zd9o2t/ho_do_i_invert_the_ledc_pwm_signal/ it seems like it would be quite trivial.
With a little guidance I might be able to do it myself, I can compile micropython, I just need to understand where to start for this specific task.
BTW: for some reason the preview of
docs/library/machine.PWM.rstin Github does not show the paragraph inConstructors. It took me a while to understand why the page was showing up when searching forPWM invertwhile I could not spot invert in the page: I was looking at the preview where the constructor is missing!Code Size
No response
Implementation
I intend to implement this feature and would submit a Pull Request if desirable
Code of Conduct
Yes, I agree