用SerialPort类做的串口例子(可实现自动查找串口以及自动发送功能)

上传者: fendouzhelx | 上传时间: 2020-01-03 11:20:14 | 文件大小: 5.25MB | 文件类型: zip
自己用SerialPort类写的串口程序,适合初学者看看,带有自动发送功能,打开串口,关闭串口以及自动连接串口功能

文件下载

资源详情

[{"title":"( 36 个子文件 5.25MB ) 用SerialPort类做的串口例子(可实现自动查找串口以及自动发送功能)","children":[{"title":"SerialPortTest(串口)","children":[{"title":"ReadMe.txt <span style='color:#111;'> 3.64KB </span>","children":null,"spread":false},{"title":"StdAfx.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"SerialPortTest.rc <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"SerialPortTest.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"SerialPortTest.rc2 <span style='color:#111;'> 406B </span>","children":null,"spread":false}],"spread":true},{"title":"SerialPortTest.cpp <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"SerialPortTest.aps <span style='color:#111;'> 21.16KB </span>","children":null,"spread":false},{"title":"SerialPortTest.dsp <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"SerialPortTestDlg.h <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"vc60.pdb <span style='color:#111;'> 364.00KB </span>","children":null,"spread":false},{"title":"SerialPortTest.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SerialPortTest.res <span style='color:#111;'> 2.96KB </span>","children":null,"spread":false},{"title":"SerialPortTest.ilk <span style='color:#111;'> 348.73KB </span>","children":null,"spread":false},{"title":"SerialPortTest.bsc <span style='color:#111;'> 5.14MB </span>","children":null,"spread":false},{"title":"SerialPortTest.obj <span style='color:#111;'> 14.96KB </span>","children":null,"spread":false},{"title":"SerialPortTest.pdb <span style='color:#111;'> 441.00KB </span>","children":null,"spread":false},{"title":"SerialPortTestDlg.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SerialPortTest.exe <span style='color:#111;'> 116.12KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 233.00KB </span>","children":null,"spread":false},{"title":"SerialPortTestDlg.obj <span style='color:#111;'> 37.87KB </span>","children":null,"spread":false},{"title":"StdAfx.sbr <span style='color:#111;'> 1.31MB </span>","children":null,"spread":false},{"title":"SerialPort.sbr <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"SerialPortTest.pch <span style='color:#111;'> 6.61MB </span>","children":null,"spread":false},{"title":"StdAfx.obj <span style='color:#111;'> 103.49KB </span>","children":null,"spread":false},{"title":"SerialPort.obj <span style='color:#111;'> 30.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"SerialPortTest.h <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"SerialPortTest.ncb <span style='color:#111;'> 249.00KB </span>","children":null,"spread":false},{"title":"resource.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"SerialPortTestDlg.cpp <span style='color:#111;'> 8.77KB </span>","children":null,"spread":false},{"title":"SerialPortTest.clw <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"SerialPortTest.opt <span style='color:#111;'> 54.50KB </span>","children":null,"spread":false},{"title":"StdAfx.cpp <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"SerialPortTest.dsw <span style='color:#111;'> 551B </span>","children":null,"spread":false},{"title":"SerialPort.h <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"SerialPort.cpp <span style='color:#111;'> 17.10KB </span>","children":null,"spread":false},{"title":"SerialPortTest.plg <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • FREELANCER__ :
    有不少例子可以参考,目前正需要.
    2018-11-27
  • feng7902 :
    是VC6的代码,为什么在头文件中直接赋值?InitPort(CWnd* pPortOwner, UINT portnr = 1, UINT baud = 19200, char parity =
    2017-02-08
  • xiaose135 :
    使用了一段时间,好用,谢谢分享
    2017-01-05
  • 裂风龙隼 :
    不能软件开启获取
    2016-09-13
  • Retn_z :
    很好,很有用
    2016-06-10

免责申明

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