Go Down

Topic: Make a tone sketch (Read 533 times) previous topic - next topic

HugoPT

hello all

I need to produce a sound for an alarm system.I was looking for a tone library but I havent seend you can I stop the tone then.
The tone starts but never ends.
I had also try to put a delay but nothing happens.
Can some one just post me a code of a sketch with just a simple tone 1200Hz repiting every 2 seconds.
Debian,Mint,Ubuntu
Arduino Mega 2560
Arduino Nano
Arduino Duemilanove
MAC OS Montain Lion
Raspberry PI Model B

Magician

Quote
noTone()
Description

Stops the generation of a square wave triggered by tone(). Has no effect if no tone is being generated.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy