MFC CSerialPort类串口通信

上传者: u011112614 | 上传时间: 2019-12-21 21:21:33 | 文件大小: 29.07MB | 文件类型: rar
使用SerialPort类,在InitPort()函数中修改串口值为1或2,即可使用COM1或者2.

文件下载

资源详情

[{"title":"( 61 个子文件 29.07MB ) MFC CSerialPort类串口通信","children":[{"title":"CSerialPortComm","children":[{"title":"ipch","children":[{"title":"cserialportcomm-ec940ff5","children":[{"title":"cserialportcomm-89f5cc0a.ipch <span style='color:#111;'> 66.56MB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"StdAfx.cpp <span style='color:#111;'> 217B </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 877B </span>","children":null,"spread":false},{"title":"CSerialPortComm.dsw <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"CSerialPortComm.cpp <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false},{"title":"CSerialPortCommDlg.h <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.sln <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"CSerialPortComm.plg <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"CSerialPortComm.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"CSerialPortComm.rc <span style='color:#111;'> 5.36KB </span>","children":null,"spread":false},{"title":"CSerialPortCommDlg.cpp <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.suo <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"link.read.1.tlog <span style='color:#111;'> 5.54KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.ilk <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"CSerialPortComm.pdb <span style='color:#111;'> 3.95MB </span>","children":null,"spread":false},{"title":"CSerialPortComm.pch <span style='color:#111;'> 19.31MB </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 2.20MB </span>","children":null,"spread":false},{"title":"link-cvtres.read.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 356.00KB </span>","children":null,"spread":false},{"title":"rc.write.1.tlog <span style='color:#111;'> 742B </span>","children":null,"spread":false},{"title":"CSerialPortComm.exe.embed.manifest <span style='color:#111;'> 667B </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 217.00KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.exe.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"rc.command.1.tlog <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.lastbuildstate <span style='color:#111;'> 149B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"CSerialPortComm_manifest.rc <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"link-cvtres.write.1.tlog <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"CSerialPortComm.write.1.tlog <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"CSerialPortComm.log <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.exe <span style='color:#111;'> 108.00KB </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"CSerialPortCommDlg.obj <span style='color:#111;'> 140.20KB </span>","children":null,"spread":false},{"title":"rc.read.1.tlog <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 539.61KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 97.43KB </span>","children":null,"spread":false},{"title":"vc100.idb <span style='color:#111;'> 1.00MB </span>","children":null,"spread":false},{"title":"CSerialPortComm.res <span style='color:#111;'> 2.68KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.exe.embed.manifest.res <span style='color:#111;'> 732B </span>","children":null,"spread":false},{"title":"SerialPort.obj <span style='color:#111;'> 134.45KB </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 670B </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.obj <span style='color:#111;'> 127.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 3.65KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.ncb <span style='color:#111;'> 81.00KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.clw <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.vcxproj <span style='color:#111;'> 7.76KB </span>","children":null,"spread":false},{"title":"SerialPort.cpp <span style='color:#111;'> 13.72KB </span>","children":null,"spread":false},{"title":"SerialPort.h <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"CSerialPortComm.rc2 <span style='color:#111;'> 407B </span>","children":null,"spread":false},{"title":"CSerialPortComm.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"CSerialPortComm.dsp <span style='color:#111;'> 4.35KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.aps <span style='color:#111;'> 38.00KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.vcxproj.filters <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.h <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"CSerialPortComm.sdf <span style='color:#111;'> 48.71MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • malove110 :
    不错,适合我用
    2018-02-28
  • joelapple :
    用的是CSerialPort 类, 在 SerialPort.cpp 中启用了线程。
    2017-01-24
  • zhy_2009_cool :
    很不错的资源,适合初学者,谢谢分享
    2016-02-24
  • 找寻ing :
    enen ,,很受用,不错
    2016-01-15
  • 一朵小春春 :
    可以用,谢谢分享
    2015-07-23

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明