chipKIT® Development Platform

Inspired by Arduino™

Last edit: 2021-03-21 22:34 by Majenko

NoTone

  1. Synopsis

  2. Description

  3. Return Value

  4. Conforming To

  5. Examples

  6. See Also

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()