文件名称:serialconnection
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 17kb
- 下载次数:
- 0次
- 提 供 者:
- zhang*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
这个程序实现的是接收字符,再把这个字符串口发送。
还要一个要注意的是波特率,而波特率附送的小程序算出
实验方法:打开串口调试程序(小工具目录里)选择您正确的串口号,波特率选9600,
然后发送一串字符,这一串字符就马上会被单片机回发到电脑-The program implementation is to receive characters, then this string I send. Also one should note that the baud rate, while the baud rate accompanied by a small program calculates experimental method: Open the serial port debugger (small tools directory) Choose your correct serial number, baud rate 9600 election, and then send a bunch of characters, this will be a string of characters immediately back to the computer microcontroller
还要一个要注意的是波特率,而波特率附送的小程序算出
实验方法:打开串口调试程序(小工具目录里)选择您正确的串口号,波特率选9600,
然后发送一串字符,这一串字符就马上会被单片机回发到电脑-The program implementation is to receive characters, then this string I send. Also one should note that the baud rate, while the baud rate accompanied by a small program calculates experimental method: Open the serial port debugger (small tools directory) Choose your correct serial number, baud rate 9600 election, and then send a bunch of characters, this will be a string of characters immediately back to the computer microcontroller
(系统自动生成,下载前可以参看下载内容)
下载文件列表
串口和计算机通信\STARTUP.A51
................\STARTUP.LST
................\STARTUP.OBJ
................\uart_51
................\uart_51.c
................\uart_51.hex
................\uart_51.lnp
................\uart_51.LST
................\uart_51.M51
................\uart_51.OBJ
................\uart_51.Opt
................\uart_51.plg
................\uart_51.Uv2
................\uart_51_Opt.Bak
................\uart_51_Uv2.Bak
串口和计算机通信
................\STARTUP.LST
................\STARTUP.OBJ
................\uart_51
................\uart_51.c
................\uart_51.hex
................\uart_51.lnp
................\uart_51.LST
................\uart_51.M51
................\uart_51.OBJ
................\uart_51.Opt
................\uart_51.plg
................\uart_51.Uv2
................\uart_51_Opt.Bak
................\uart_51_Uv2.Bak
串口和计算机通信