串口发送一个字符串

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


void usend(int un,str sendstr);
//un:串口号 0或者1,
//sendstr:发送的字符串内容

示例

usend(1,"OK\r\n");

注意