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 (the pins on the JTAG
    // header on the Maple) as ordinary pins.
}