Arduino Programming Language: Tone

Name

tone()

Description

The tone() function is used to generate a determined frequency for an amount of time on a pin. The function can express one tone at a time. If a tone is alredy playing on a different pin, a new tone function won't have effect. If the tone is playing on the same pin, the call will set its frequency.