aboutsummaryrefslogtreecommitdiffstats
path: root/source/lang/api/enabledebugports.rst
blob: bee2b0afed0044fa358a0e2f6c2fc07129c879d6 (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
.. highlight:: cpp

.. _lang-enabledebugports:

enableDebugPorts()
==================

Used to enable the JTAG and Serial Wire debugging ports.

Library Documentation
---------------------

.. doxygenfunction:: enableDebugPorts

Example
-------

 ::

    void setup() {
        enableDebugPorts();
        // Now you can debug using JTAG and SW-Debug
    }

    void loop() {
    }

See Also
--------

* :ref:`lang-disabledebugports`