Skip to content

PWM invert support for ESP32 #16824

@DavideRossi

Description

@DavideRossi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementationsport-esp32

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy