aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api/toggleled.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/lang/api/toggleled.rst')
-rw-r--r--source/lang/api/toggleled.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/lang/api/toggleled.rst b/source/lang/api/toggleled.rst
new file mode 100644
index 0000000..0cc20c2
--- /dev/null
+++ b/source/lang/api/toggleled.rst
@@ -0,0 +1,17 @@
+.. _lang-toggleled:
+
+toggleLED()
+===========
+
+Switches the LED from off to on, or on to off.
+
+Library Documentation
+---------------------
+
+.. doxygenfunction:: toggleLED
+
+See Also
+--------
+
+- :ref:`BOARD_LED_PIN <lang-constants-led>`
+- :ref:`togglePin() <lang-togglepin>`