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

Piezo stub doesn't clear queued tones #39

Open
richsilv opened this issue Oct 3, 2016 · 0 comments
Open

Piezo stub doesn't clear queued tones #39

richsilv opened this issue Oct 3, 2016 · 0 comments

Comments

@richsilv
Copy link

richsilv commented Oct 3, 2016

The Johnny Five docs state that a Piezo's noTone or off methods clear queued tones, so that a previously run play method will be stopped and not restarted. However, this doesn't seem to be happening in the stub - an individual tone is indeed stopped, but a tune passed to play will continue playing with the next scheduled note.

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