disableDebugPorts() — Maple v0.0.10beta Documentation

### Navigation

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

# disableDebugPorts()

Used to disable the JTAG and Serial Wire debugging ports.

## Library Documentation

void disableDebugPorts(void )

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

  You can call this function in order to use the JTAG and SW debug pins as ordinary GPIOs.

  See: | enableDebugPorts()

## Example

>     void setup() {
>         disableDebugPorts();
>     }

>     void loop() {
>         // Now you can use the debug port pins as ordinary pins
>     }

## See Also

- enableDebugPorts()

### Navigation

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