4 Out-of-Box Demo
This is an interactive demo program.
The PIC32CM6408PL10048 is pre-programmed with an example
application that demonstrates GPIO control, capacitive touch, mechanical switch input, and
UART communication. These features are accessible through three example modes:
- Mode 1 (default): Blinks the yellow user LED (LED0) at a frequency of 0.5 Hz.
- Mode 2: Adjusts the LED blink
frequency in real time:
- User switch (SW0) toggles the blinking frequency between 0.5 Hz and 1 Hz.
- Touch button toggles the blinking frequency between 0.5 Hz and 5 Hz.
- Mode 3: Pressing the user switch (SW0) transmits an 8-bit incrementing counter value over UART. This data can be monitored in real time using MPLAB® Data Visualizer.
The modes are controlled via the kit’s CDC UART interface. To interact with the application,
open a COM port terminal with the following settings: 115200 baud, 8 data bits, 1 stop bit, no
parity.
Tip: DTR may need to be asserted in your terminal
program for proper communication.
Switch between programs by sending ‘1’, ‘2’, or ‘3’ over UART; send ‘0’ to reset and show the menu.
For full details, see: PIC32CM PL10 Curiosity Nano Out-of-Box Demo.
