NoTone

From chipKIT
Jump to: navigation, search

Synopsis

void noTone(uint8_t pin)

Description

noTone() stops generating a tone on an I/O pin which has previously been started through the tone() function.

Return Value

None

Conforming To

noTone() conforms to the Arduino 1.6.x API.

Examples

Generate a 1 second, 2KHz tone using the non-blocking functionality:

tone(4, 2000, -1);
delay(1000);
noTone(4);

See Also

tone()