SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By microMind
#197154
Greetings,
I am experimenting with the ESP32 dev kit. My conclusion is to trigger an alarm using a piezo buzzer. I've attempted to to use the Arduino reference example of the tone() function but everytime i compile i get an error stating the tone() function is not declared properly. Is there a library that i am missing. This happens whether its a complex sketch capable of darth vaders march or a simple 2 to 4 line sketch. Any help, explanation, suggestion welcome. Thanks in advance.
By paulvha
#197159
you have to #include <Tone.h>, but if you have done that. please share your code.
By microMind
#197175
Hi. Thank you. I will look into your suggestion. Ill update you later.