Skip to content

Support PWM output. #5

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
Mar 23, 2018
Merged

Support PWM output. #5

merged 2 commits into from
Mar 23, 2018

Conversation

tannewt
Copy link
Member

@tannewt tannewt commented Mar 23, 2018

Also make the RTTTL parsing more resilient to whitespace and
capitalized notes.

Also make the RTTTL parsing more resilient to whitespace and
capitalized notes.
@tannewt tannewt requested a review from kattni March 23, 2018 21:19
Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for working this up!

@kattni kattni merged commit 89b09db into adafruit:master Mar 23, 2018
tannewt pushed a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Mar 24, 2018
@deshipu
Copy link

deshipu commented Mar 24, 2018

I think it would be much cleaner to have a separate function (or class) for playing a specified tone for a specified duration (like Arduino's tone() for example), and then just provide two implementations of it, and do dependency injection depending on whether DAC is available on the given pin or not.

@tannewt
Copy link
Member Author

tannewt commented Mar 26, 2018 via email

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.

3 participants