enableDebugPorts() — Maple v0.0.10beta Documentation

### Navigation

- next
- previous |
- LeafLabs |
- Index »
- Complete Language Index »

# enableDebugPorts()

Used to enable the JTAG and Serial Wire debugging ports.

## Library Documentation

void enableDebugPorts(void )

  Enable the JTAG and Serial Wire (SW) debug ports.

  After you call this function, the JTAG and SW debug pins will no longer be usable as GPIOs.

  See: | disableDebugPorts()

## Example

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

>     void loop() {
>     }

## See Also

- disableDebugPorts()

### Navigation

- next
- previous |
- LeafLabs |
- Index »
- Complete Language Index »