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

Add: PWM support relay mode #49

Closed
RaulTrombin opened this issue Sep 26, 2023 · 3 comments
Closed

Add: PWM support relay mode #49

RaulTrombin opened this issue Sep 26, 2023 · 3 comments

Comments

@RaulTrombin
Copy link
Member

Check if PWM crate support relay mode like ardupilot

@patrickelectric
Copy link
Member

relay mode can be accomplish using a 0xffff as channel value

@RaulTrombin
Copy link
Member Author

Actually the 409"6" value isn't acepted by the pca library method.

pwm_
pwm_1

Cause it sets the OFF counter, not the dutycicle directly, you have ON & OFF.

For this, it's possible to use the full_on/full_off methods.

Already tested. Just need to clean the code

#68

@RaulTrombin
Copy link
Member Author

We added this function with previous PR.

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

2 participants