文件名称:first_up
介绍说明--下载内容来自于网络,使用问题请自行百度
鹦鹉学舌:单片机与上位机PC的通信程序设计方法:
⑴串口初始化:波特率定为4800
⑵串口接收数据:串口初始化后处于数据接收状态,当有数据到达串口时,串口将数据接收保存在寄存器中暂存
⑶串口发送数据:等数据接收完成后,将寄存器中暂存的数据通过串口发送给该数据的来源地。
⑷实验测试方法:在上位机上通过串口调试助手软件发送一个十六进制数据给单片机,单片机收到数据后立即把这个数据又发回给PC,并在串口调试助手显示。
-Parrot: SCM and PC-PC communication program design method: ⑴ serial initialization: baud rate set at 4800 ⑵ receiving serial data: serial data reception at the initialization state, when the arrival of serial data when receiving serial data stored in temporary register ⑶ serial send data: such as data receiving, upon completion, will register in the temporary data sent through the serial port to the data source. ⑷ experimental testing methods: In the host computer through serial debugging assistant software sends a hexadecimal data to the single-chip, single-chip data received immediately after the data also sent back to the PC, and in serial debugging aides show .
⑴串口初始化:波特率定为4800
⑵串口接收数据:串口初始化后处于数据接收状态,当有数据到达串口时,串口将数据接收保存在寄存器中暂存
⑶串口发送数据:等数据接收完成后,将寄存器中暂存的数据通过串口发送给该数据的来源地。
⑷实验测试方法:在上位机上通过串口调试助手软件发送一个十六进制数据给单片机,单片机收到数据后立即把这个数据又发回给PC,并在串口调试助手显示。
-Parrot: SCM and PC-PC communication program design method: ⑴ serial initialization: baud rate set at 4800 ⑵ receiving serial data: serial data reception at the initialization state, when the arrival of serial data when receiving serial data stored in temporary register ⑶ serial send data: such as data receiving, upon completion, will register in the temporary data sent through the serial port to the data source. ⑷ experimental testing methods: In the host computer through serial debugging assistant software sends a hexadecimal data to the single-chip, single-chip data received immediately after the data also sent back to the PC, and in serial debugging aides show .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
鹦鹉学舌程序/STARTUP.A51
鹦鹉学舌程序/STARTUP.LST
鹦鹉学舌程序/STARTUP.OBJ
鹦鹉学舌程序/t
鹦鹉学舌程序/t.asm
鹦鹉学舌程序/t.hex
鹦鹉学舌程序/t.lnp
鹦鹉学舌程序/t.LST
鹦鹉学舌程序/t.M51
鹦鹉学舌程序/t.OBJ
鹦鹉学舌程序/t.Opt
鹦鹉学舌程序/t.plg
鹦鹉学舌程序/t.Uv2
鹦鹉学舌程序/t_Opt.Bak
鹦鹉学舌程序/~$学舌程序说明及流程图.doc
鹦鹉学舌程序
鹦鹉学舌程序/鹦鹉学舌程序说明及流程图.doc
鹦鹉学舌程序/STARTUP.LST
鹦鹉学舌程序/STARTUP.OBJ
鹦鹉学舌程序/t
鹦鹉学舌程序/t.asm
鹦鹉学舌程序/t.hex
鹦鹉学舌程序/t.lnp
鹦鹉学舌程序/t.LST
鹦鹉学舌程序/t.M51
鹦鹉学舌程序/t.OBJ
鹦鹉学舌程序/t.Opt
鹦鹉学舌程序/t.plg
鹦鹉学舌程序/t.Uv2
鹦鹉学舌程序/t_Opt.Bak
鹦鹉学舌程序/~$学舌程序说明及流程图.doc
鹦鹉学舌程序
鹦鹉学舌程序/鹦鹉学舌程序说明及流程图.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.