动态设置串口波特率

支持芯片: SHMICTRL系列芯片 ESP32-S3系列
void setcom(int usartn, int baudrate);
//usartn =0 or 1 串口编号
//baudrate 波特率

示例

setcom(1,115200);

说明