动态设置串口波特率

void setcom(int usartn, int baudrate);
//usartn =0 or 1 串口编号
//baudrate 波特率

示例

setcom(1,115200);

说明