文件名称:first_up

  • 所属分类:
  • 单片机(51,AVR,MSP430等)
  • 资源属性:
  • [ASM] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 101kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • fly***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

鹦鹉学舌:单片机与上位机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 .
(系统自动生成,下载前可以参看下载内容)

下载文件列表

鹦鹉学舌程序

............\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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org