串口接收一个字符串

支持芯片: SHMICTRL系列芯片 ESP32-S3系列


str urecv(int un);
//un:串口号 0或者1,
//返回:接收的字符串内容

示例

str s;
s=urecv(1);

注意