Skip to content

Probem with PWM pairs #66

@aleandros

Description

@aleandros

I get a "RuntimeError: You must start() the PWM channel first" whenever I use two "contiguous" PWM pins. For example, If I want to use P9_29 and P9_31, which correspond to EHRPWM0A and EHRPWM0B (or P9_14 and P9_16), I can start them with PWM.start, and I can change the duty cycle of the first one without problems, but when I try to call PWM.set_duty_cycle on the second one, I get the aforementioned error.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions