C#串口接收的一个完整示例

上传者: liu513133872 | 上传时间: 2021-04-01 09:30:07 | 文件大小: 51KB | 文件类型: RAR
使用了C#中的SerialPort控件来接收串口发来的数据。

文件下载

资源详情

[{"title":"( 25 个子文件 51KB ) C#串口接收的一个完整示例","children":[{"title":"SerialportSample","children":[{"title":"SerialportSample","children":[{"title":"SerialportSample.sln <span style='color:#111;'> 890B </span>","children":null,"spread":false},{"title":"SerialportSample","children":[{"title":"Form1.cs <span style='color:#111;'> 6.78KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"SerialportSample.exe <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"SerialportSample.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"SerialportSample.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"SerialportSample.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"SerialportSample.exe <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"SerialportSample.pdb <span style='color:#111;'> 25.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferences.cache <span style='color:#111;'> 3.33KB </span>","children":null,"spread":false},{"title":"SerialportSample.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"GenerateResource.read.1.tlog <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.19KB </span>","children":null,"spread":false},{"title":"SerialportSample.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"GenerateResource.write.1.tlog <span style='color:#111;'> 812B </span>","children":null,"spread":false},{"title":"SerialportSample.SerialportSampleForm.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"SerialportSample.csproj <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false},{"title":"Form1.Designer.cs <span style='color:#111;'> 15.40KB </span>","children":null,"spread":false},{"title":"Form1.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"SerialportSample.suo <span style='color:#111;'> 19.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • good200xy :
    这个有参考价值。但还有改进的地方。增加协议等等
    2021-01-23
  • ffjdd :
    VS2010 win7 亲测可用 下了4、5个 就这个可以用 非常感谢
    2020-08-23
  • Hinger1 :
    确实不错 接收功能做的很好
    2020-08-11
  • gezhuag :
    谢谢分享,借鉴了一下很有帮助,
    2014-10-09
  • 凌云天下 :
    好东西,刚刚开始做串口,正需要这样的文档。
    2014-04-14
  • 小鸟4321 :
    好东西,不错的源码。
    2013-11-28
  • oxwanawxo :
    简单易懂,谢谢分享
    2013-07-01
  • dodolook_lin :
    确实不错 接收功能做的很好
    2012-12-20
  • yuershuizhongyou22 :
    运行了下可以,参考这个自己写了个呵呵
    2012-10-17
  • yangguangcarl :
    确实不错 接收功能做的很好
    2012-07-27

免责申明

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