文件名称:rs232
介绍说明--下载内容来自于网络,使用问题请自行百度
单片机串口通信,连接好串口或者usb转串口至电脑,下载该程序,打开电源
打开串口调试程序,将波特率设置为9600,无奇偶校验
晶振11.0592MHz,发送和接收使用的格式相同,如都使用
字符型格式,在发送框输入 hello,I Love MCU ,在接
收框中同样可以看到相同字符,说明设置和通信正确-Connect the serial port or usb to serial port to your computer, download the program, turn the power to open the serial port debugger, set the baud rate 9600, no parity crystal 11.0592MHz, send and receive using the same format, use characters such as type format, sending the box to enter hello, I Love MCU, the receiver box can also see the same characters, indicating the correct setting and communication
打开串口调试程序,将波特率设置为9600,无奇偶校验
晶振11.0592MHz,发送和接收使用的格式相同,如都使用
字符型格式,在发送框输入 hello,I Love MCU ,在接
收框中同样可以看到相同字符,说明设置和通信正确-Connect the serial port or usb to serial port to your computer, download the program, turn the power to open the serial port debugger, set the baud rate 9600, no parity crystal 11.0592MHz, send and receive using the same format, use characters such as type format, sending the box to enter hello, I Love MCU, the receiver box can also see the same characters, indicating the correct setting and communication
(系统自动生成,下载前可以参看下载内容)
下载文件列表
rs232.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.