Hi @oxygenben ,
To use UART pins, you can use the example SoftwareSerial_Basic.ino
provided in Ameba Arduino SDK.
Depending on the board being used, you can declare the UART pins that you would like to use as below:
#include <SoftwareSerial.h>
#if defined(BOARD_RTL8722DM)
//SoftwareSerial mySerial(0, 1); // RX, TX
SoftwareSerial mySerial(16, 15);
Thanks.
thanks for your quick response!
1 Like