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

PWM example #43

Merged
merged 1 commit into from
Jan 10, 2022
Merged

PWM example #43

merged 1 commit into from
Jan 10, 2022

Conversation

NandoBongers
Copy link
Contributor

This example is testing the PWM functionality created in pull request #29.

The example I wrote puts the timer in PWM mode using the specified pin with a frequency of 100Hz and a duty cycle of 50%. I can confirm it works, also with different frequencies and duty cycles:
image

…ed pin with a frequency of 100Hz and a duty cycle of 50%
@NandoBongers NandoBongers marked this pull request as ready for review January 10, 2022 08:38
@luctius luctius merged commit 7fbce26 into stm32-rs:master Jan 10, 2022
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

Successfully merging this pull request may close these issues.

2 participants