aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/lang/api/toggleled.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/lang/api/toggleled.rst')
-rw-r--r--docs/source/lang/api/toggleled.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/source/lang/api/toggleled.rst b/docs/source/lang/api/toggleled.rst
new file mode 100644
index 0000000..0cc20c2
--- /dev/null
+++ b/docs/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>`