串口发送一个字符串


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

示例

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

注意