PWM invert support for ESP32 #16894
Unanswered
DavideRossi
asked this question in
ESP32
Replies: 3 comments
-
See PR #10854, which implements it among many other improvements. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @robert-hh, do you have idea if I can just apply it against the current master branch (or 1.24) and have it working with no major issues? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can fetch that PR and rebase it onto the current master branch. That's what I did several times for testing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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 inConstructors
. It took me a while to understand why the page was showing up when searching forPWM 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
Beta Was this translation helpful? Give feedback.
All reactions