2 Send ‘Hello World’
This use case demonstrates how to send string messages from the microcontroller to the PC and use MPLAB Data Visualizer to see them. The EUSART will be configured for Asynchronous mode and only the TX pin will be used.
Note:
If a platform without an on-board UART to USB converter is used, there are many options of external UART to USB, such as the MCP2200 and the MCP2221A.
This use case follows the steps:
- Configure the system clock
- Configure EUSART2
- Configure the pins