Skip to content
Discussion options

You must be logged in to vote

Why don't you just use the RTTTLOutput class for this ?

You can also use the apprach used by that class which is just setting the frequency to 0 to switch off the tone.
Don't use millis(), but the calculated number of samples to drive your processing: e.g. you could use the StreamCopy copyMs() for this.

Replies: 9 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pschatzmann
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@pschatzmann
Comment options

@pschatzmann
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants