Loading...
Pages: [1]   Go Down
Author Topic: Make a tone sketch  (Read 302 times)
0 Members and 1 Guest are viewing this topic.
Portugal
Offline Offline
God Member
*****
Karma: 9
Posts: 743
Tomorrow I will know a BIT more than yesterday
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Debian,Mint,Ubuntu
Arduino Mega 2560
Arduino Nano
Arduino Duemilanove
MAC OS Montain Lion
Raspberry PI Model B


Montreal
Online Online
Edison Member
*
Karma: 16
Posts: 2204
Per aspera ad astra.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
noTone()
Description

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


Pages: [1]   Go Up
Print
 
Jump to: