aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api/disabledebugports.rst
diff options
context:
space:
mode:
Diffstat (limited to 'source/lang/api/disabledebugports.rst')
-rw-r--r--source/lang/api/disabledebugports.rst31
1 files changed, 31 insertions, 0 deletions
diff --git a/source/lang/api/disabledebugports.rst b/source/lang/api/disabledebugports.rst
new file mode 100644
index 0000000..43ac337
--- /dev/null
+++ b/source/lang/api/disabledebugports.rst
@@ -0,0 +1,31 @@
+.. highlight:: cpp
+
+.. _lang-disabledebugports:
+
+disableDebugPorts()
+===================
+
+Used to disable the JTAG and Serial Wire debugging ports.
+
+Library Documentation
+---------------------
+
+.. doxygenfunction:: disableDebugPorts
+
+Example
+-------
+
+ ::
+
+ void setup() {
+ disableDebugPorts();
+ }
+
+ void loop() {
+ // Now you can use the debug port pins as ordinary pins
+ }
+
+See Also
+--------
+
+* :ref:`lang-enabledebugports`