Go Down

Topic: tone() with an additional task executed on the interrupt? (Read 948 times) previous topic - next topic

jbeuckm

I am using tone() but would like to do a bit of additional processing when that interrupt executes. I have some stuff that needs audio-rate type attention but I don't want to mess up the tone() output. Is there already a library for that?

Grumpy_Mike

Quote
Is there already a library for that?
Why do you need a libiary? Just write the code. If you want you can modify the code in the tone libiary to do what you want after the tone toggle.

Go Up