RX和TX的怎么配置呢?
Viki Shi:
请参考以下官方UART代码:dev.ti.com/…/node
YiKai Chen:
直接修改 CC2640R2_LAUNCHXL.h的下列配置
/* UART Board */
#define CC2640R2_LAUNCHXL_UART_RXIOID_2/* RXD */
#define CC2640R2_LAUNCHXL_UART_TXIOID_3/* TXD */
#define CC2640R2_LAUNCHXL_UART_CTSIOID_19/* CTS */
#define CC2640R2_LAUNCHXL_UART_RTSIOID_18/* RTS */