This is a simple UART echo example that utilizes mikroSDK 2.0 UART driver library.
- Authors : MIKROE
- Version : 3.0.0
- Date : ${COPYRIGHT_YEAR}.
- Plug in a USB Type C cable into USB-UART port.
- Alternatively, place the USB UART click in a mikroBUS socket and change TX and RX pins in code. In this case, you'll need to connect a USB Mini-B cable directly to the click.
We provide code for demonstrating the usage of functions contained in UART driver library. To run this example, follow these steps:
- Install the package from Package manager.
- Open example.
- It will take you to setups, so make one for your hardware.
- Choose adequate setup and the project will open.
- Go to Tools->UART Terminal.
- Click on Options, select adequate Port and set Baud rate to 115200.
- Click on Configure and then Connect.
- Program the example by clicking on Flash.
- You should see the greeting message on the terminal.
- Now you can also send data and see it in the Received data section.