- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
串口-vc(Serial port -vc)
串口-vc(Serial port -vc)
Baidu space | Baidu home page | login -Information (except to volley fly wings, can fly high!) Solar power, microcontroller program development, please call 0760QQ:707339005 home page blog album | personal files | friends see article
The realization of PC and MCU communication with VC 22:48 on Monday October 22, 2007 the implementation of computer and computer and microcomputer and single-chip communication program design method using Visual C++ 6 MSComm control under the Windows98 environment, and gives a complete single-chip microcomputer, communication program example.
Keywords serial communication, Visual, C++ 6, MSComm SCM
In the industrial test and automatic control system, between computer and computer, computer and MCU often need to exchange data, serial communication is the primary means of communication, it is efficient, convenient, and follow the unified national standards. As a powerful development tool, Visual C++ 6 is widely used in almost any field of Windows software development. Generally use Visual C++ 6 to develop serial communication program, there are two ways: one is to use Windows communication API function; the other is to use Visual C++ 6 standard control MSComm to realize. The first method needs to declare and invoke many API functions, which is very cumbersome. The second methods are easy to implement and meet the communication requirements in general. This paper makes use of MSComm communication control provided by Visual C++ 6 to prepare simple VC program, and completes the RS-232 serial port communication between microcomputer and singlechip.
1, hardware structure
The COM interface level of PC microcomputer is RS-232 standard. If two PCs communicate with each other, only three direct connections (TXD, RXD) and ground (GND) are needed. If the microcomputer and microcontroller communication, as the microcontroller UART for the TTL level, it is necessary to RS-232 level and TTL level conversion, you can dir
您可能关注的文档
- 动迁谈判技巧(Relocation negotiation skills).doc
- 动静压磨头安装调试工艺规程(Process specification for installation and debugging of static and dynamic grinding head).doc
- 动车日常维护的内容和方法(Contents and methods of daily maintenance of motor cars).doc
- 助理工程师需要了解什么(What does the assistant engineer need to know).doc
- 助理物流师考试题目(Assistant Logistics Engineer).doc
- 助学金申请书例文(Grant application for example).doc
- 助理职称评定条件(Conditions for assistant professional titles).doc
- 动物学2(Zoology 2).doc
- 励志演讲稿带着你的梦想一起飞(Motivational speech take your dream off).doc
- 励志人生感言(Inspirational words of life).doc
- 串口连接线制作方法(Serial connection wire manufacturing method).doc
- 串口通信基本连线方法(Serial communication basic connection method).doc
- 串气和倒液(Pour the liquid and gas mixing).doc
- 串讲资料第三章(The third chapter construes the data).doc
- 串行接口中文图形点阵液晶显示模块应用(Serial interface, Chinese graphics, dot matrix LCD module, application).doc
- 串讲资料第一章(The first chapter construes data).doc
- 串讲资料第二章(The second chapter construes the data).doc
- 串讲资料第四章(The fourth chapter construes the data).doc
- 中高级口译文章两译(Intermediate and advanced interpretation articles two translation).doc
- 临产征兆(Signs of labor).doc
最近下载
- 2025年江苏省初中学业水平考试(镇江市卷)中考英语试题含解析答案.pdf VIP
- 中核新能源人员行为安全“红黄线”管理办法(试行)培训考试试卷.docx
- 福建教育学院学前教育平时作业答案.docx VIP
- DB63T 662-2023高寒草地施肥技术规范.docx VIP
- 人教版2025秋小学数学三年级教学课件数量间的乘除关系连续两问的实际问题.pptx VIP
- 平行线专项证明题.doc VIP
- 人教版2025秋小学数学三年级教学课件数量间的乘除关系整理和复习.pptx VIP
- 2024年外泌体市场需求分析.pdf VIP
- 防城港市城市投资发展集团有限公司招聘笔试真题2024 .pdf VIP
- 人教版2025秋小学数学三年级教学课件数量间的乘除关系提问题、补条件.pptx VIP
文档评论(0)