Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn when PWM channels are reused #48

Open
ArendJan opened this issue Jun 3, 2024 · 0 comments
Open

Warn when PWM channels are reused #48

ArendJan opened this issue Jun 3, 2024 · 0 comments

Comments

@ArendJan
Copy link
Contributor

ArendJan commented Jun 3, 2024

pwm channels
Warn the user when the same pwm channels are used for multiple pins/motors.

This config would give warnings:

motor:
  left_front:
    name: left_front
    device: mirte
    type: pp
    pins:
      p1: 18
      p2: 19
  right_rear:
    name: right_rear
    device: mirte
    type: pp
    pins:
      p1: 3
      p2: 2

as 2&3 have channel 1A&1B. 18&19 have the same channels. Driving around with these pins does not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant