51单片机串口向计算机发送字符串C程序,本布衣实验过的,可以用,串口需有一个232-TTL电平转换 通过串口调试助手可以看到发送字符信息。波特率为9600 #include <REGX51.H> #include <stdio.h> //--- char *name_month(int n); void Delay(int x); void put(char str); void initUart(void); void putString...
向计算机C程序,本布衣实验过的,可以用,串口需有一个232-TTL电平转换 通过助手可以看到发送字符信息。波特率为9600 #include <REGX51.H> #include <stdio.h> //--- char *name_month(int n); void Delay(int x); void put(char str); void initUart(void); void putString(unsigned char const *pstr);...