Skip to content

Add PWM class as wrapper. #1

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

Merged
merged 2 commits into from
Aug 12, 2023
Merged

Add PWM class as wrapper. #1

merged 2 commits into from
Aug 12, 2023

Conversation

yuuu
Copy link
Contributor

@yuuu yuuu commented Aug 5, 2023

We have added a wrapper class to achieve what we were conversing about in the following Pull Request.

mruby-esp32/mruby-esp32#49

The PWM class allows beginners to experiment with PWM more easily.

@yuuu yuuu requested a review from vickash August 5, 2023 22:14
@yuuu yuuu self-assigned this Aug 5, 2023
@vickash
Copy link
Contributor

vickash commented Aug 9, 2023

This looks good to me, except shouldn't it be [:resolution] instead of [resolution] on line 8?

Wrt managing use of timers, channels etc., maybe that is better left up to the user, like you've done here.

@yuuu
Copy link
Contributor Author

yuuu commented Aug 10, 2023

Thank you for your review.

This commit fixed at line 8. Please check it again.
dc138bf

@vickash vickash merged commit a4ee58e into master Aug 12, 2023
@vickash
Copy link
Contributor

vickash commented Aug 12, 2023

Thank you for your review.

This commit fixed at line 8. Please check it again. dc138bf

Sorry. Must have been looking at the previous commit. Merging.

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