文件名称:STC12C5A60S2_Uart_Str
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-05-04
- 文件大小:
- 34kb
- 下载次数:
- 0次
- 提 供 者:
- yush*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
串口1发送字符串函数
1、程序说明:
该例程演示了接在单片机串口1发送字符串函数。该串口通过
开发板的usb转串口芯片与电脑相连。
2、实验操作
连接好开发板的usb线,可从设备管理器中查看到串口的端口号,
打开串口调试助手,选择相应串口号,
选择波特率9600,8位数据位,1位停止位,无校验。
点打开串口 取消十六进制显示或是选择字符格式显示
该程序下载到开发板运行后可观察到接收窗口接收到字符。-Serial port 1 to send a string function
1, descr iption of the procedures:
This routine demonstrates the single serial port 1 to send a string function. Through the serial port
USB development board serial chip is connected with the computer.
2, experimental operation
Connect the development board of the USB line, you can see the serial port number the device manager,
Open the serial debugging assistant, the corresponding serial number,
Choose the baud rate of 9600, 8 data bits, 1 stop bit, no parity.
Point to open the serial port to cancel the sixteen hex display or the character format display
The program can be downloaded to the development board to run after the reception window can be observed to receive characters.
1、程序说明:
该例程演示了接在单片机串口1发送字符串函数。该串口通过
开发板的usb转串口芯片与电脑相连。
2、实验操作
连接好开发板的usb线,可从设备管理器中查看到串口的端口号,
打开串口调试助手,选择相应串口号,
选择波特率9600,8位数据位,1位停止位,无校验。
点打开串口 取消十六进制显示或是选择字符格式显示
该程序下载到开发板运行后可观察到接收窗口接收到字符。-Serial port 1 to send a string function
1, descr iption of the procedures:
This routine demonstrates the single serial port 1 to send a string function. Through the serial port
USB development board serial chip is connected with the computer.
2, experimental operation
Connect the development board of the USB line, you can see the serial port number the device manager,
Open the serial debugging assistant, the corresponding serial number,
Choose the baud rate of 9600, 8 data bits, 1 stop bit, no parity.
Point to open the serial port to cancel the sixteen hex display or the character format display
The program can be downloaded to the development board to run after the reception window can be observed to receive characters.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
6、串口1接收发送字符串实验\Application\Doc\readme.txt
..........................\...........\Header\STC12C5A60S2.H
..........................\...........\Source\main.c
..........................\...........\.tartup\STARTUP.A51
..........................\Lis\main.lst
..........................\...\STARTUP.lst
..........................\...\Uart_Str.m51
..........................\Obj\main.obj
..........................\...\STARTUP.obj
..........................\...\STARTUP._ia
..........................\...\Uart_Str
..........................\...\Uart_Str.hex
..........................\...\Uart_Str.lnp
..........................\...\Uart_Str.plg
..........................\Uart_Str.plg
..........................\Uart_Str.uvopt
..........................\Uart_Str.uvproj
..........................\Uart_Str_uvopt.bak
..........................\Uart_Str_uvproj.bak
..........................\Application\Doc
..........................\...........\Header
..........................\...........\Source
..........................\...........\Startup
..........................\Application
..........................\Lis
..........................\Obj
6、串口1接收发送字符串实验