3.10.1 User LED (D5)

One user-programmable blue indicator LED (D5) is available on the WBZ451HPE Curiosity Board, and this LED can be turned ON or OFF using the connected GPIO pin PB7. Drive the pin to a high level to turn OFF the LED and drive the pin to a low level to turn ON the LED.

Important: PB7 also functions as an SWO pin on the WBZ451HPE module. During a programming/debug session with MPLAB X IDE, this pin is always driven low by the WBZ451HPE module, thus, causing the user LED to turn ON during the entire DEBUG session. When the DEBUG session is exited, this pin resumes normal operation.