aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/arduino/notone.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/arduino/notone.rst')
-rw-r--r--docs/source/arduino/notone.rst47
1 files changed, 47 insertions, 0 deletions
diff --git a/docs/source/arduino/notone.rst b/docs/source/arduino/notone.rst
new file mode 100644
index 0000000..4390b52
--- /dev/null
+++ b/docs/source/arduino/notone.rst
@@ -0,0 +1,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>`_ ()
+