blob: 4390b524a920f7d1f2df5ac9763ab41864762789 (
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
|
.. _arduino-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>`_ ()
|