aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/unimplemented/notone.rst
blob: 8af878b8a78f5916bb984c13a434b1d161fc852d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
.. _lang-notone:

noTone()
========

Description
-----------

Stops the generation of a square wave triggered by
`tone <http://arduino.cc/en/Reference/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.

See Also
--------

-  `tone <http://arduino.cc/en/Reference/Tone>`_ ()

.. include:: /lang/cc-attribution.txt