NoTone()

From Microduino Wiki
Jump to: navigation, search

noTone()

  • Description

Stop the square wave produced by tone(). There will be no effect if no tone() is used here.

Note:If you want to produce different sound on multiple pins, you should call function noTone() to the pins before calling tone() to the next pin.

  • Syntax

noTone(pin)
  • Parameter

pin: The pin needing to be stopped to produce sound.

  • Return

No [Return to Arduino Syntax Manual]