1.5 Observing the Output on the Board and Serial Terminal

  1. Press the Start button to open Tera Term or PuTTY terminal application on the computer from the Start menu.
  2. Select the required Serial Port and then click OK.
    Figure 1-21. Selection of Serial COM Port
  3. In the Tera Term Serial port setup and connection dialog box, in the Speed box type or select the baud rate to 115200.
    Figure 1-22. Setting the Baud Rate
  4. An LED (LED0) on the PIC32CM JH01 Curiosity Pro Development Evaluation Kit toggles on a timeout basis and the default periodicity of the timeout is 500 milliseconds.
  5. The LED toggling rate is displayed on the Serial Terminal.
  6. Press the switch SW0 on the PIC32CM JH01 Curiosity Pro Evaluation Kit to change the default periodicity of the timeout to one second.
  7. Every subsequent pressing of the switch SW0 on the PIC32CM JH01 Curiosity Pro Evaluation Kit changes the periodicity of the timeout to 2 seconds, 4 seconds, 500 milliseconds, and back to 1 second in cyclic order.
    Figure 1-23. LED Toggling Rate on a Serial Terminal
    While the LED toggling rate on the Serial Terminal changes with every subsequent switch press, observe the same change in the toggling rate of the LED0 on the evaluation kit.