创客百科

姿势共享,有节操无门槛参与的创客百科,创客动力之源 \ (^_^) /

用户工具

站点工具


en:arduino:language:notone

noTone()

Description

Stops the generation of a square wave triggered by tone(). Has no effect if no tone is being generated. NOTE: if you want to play different pitches on multiple pins, you need to call noTone() on one pin before calling tone() on the next pin.

Syntax

noTone(pin)

Parameters

pin: the pin on which to stop generating the tone

Returns

nothing

Reference Home

本页面的其他翻译:
en/arduino/language/notone.txt · 最后更改: 2016/12/25 22:15 (外部编辑)