aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/unimplemented/notone.rst
blob: 485c9c53d32902abd2bd1a578dcbad61bc059c38 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
.. _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