Arduino Forum
Generate tone without tone library
Using Arduino
Audio
el_supremo
July 6, 2013, 6:34pm
2
Try this:
#define PERIOD (1000000L/(FREQ*2))
Also, read
How to post code properly
and do it.
Pete
show post in topic
Related Topics
Topic
Replies
Views
Activity
[solved] Using tone() on timer 2 pin
Audio
3
1539
May 6, 2021
So I just discovered that tone() can only output to 1pin.
Programming Questions
5
691
May 5, 2021
TimerFreeTone Library v1.5: Play tones without timers and therefore no conflicts
Audio
40
39689
May 6, 2021
PC Speaker without tone() or timers
Programming Questions
5
2037
May 5, 2021
Tone generator
Programming Questions
9
1955
May 5, 2021