登录
首页 » c# » C# 串口代码

C# 串口代码

于 2023-07-16 发布 文件大小:4.71 kB
0 58
下载积分: 2 下载次数: 2

代码说明:

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.IO; using System.IO.Ports;//COM口 申明调用 using System.Collections; using System.Data.OleDb; using System.Diagnostics; namespace V20串口升级 {     public partial class Form1 : Form     {         SerialPort sp =null;         bool isOpen = false;//打开串口标志         bool isSetProperty = false;//属性设置标志         bool isHex = false;//十六进制显示         int numtool = 0;         public Form1()         {           &nbs

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • usb_232
    这是一个硬件的开发实例,是USB到串口的轮换实例。(This is an example of the development of hardware, USB to Serial examples of the rotation.)
    2005-04-21 10:41:33下载
    积分:1
  • AprioriDataMine
    数据挖掘中关联规则的经典算法Apriori算法源代码,可以连接到数据库(Data Mining Association Rules classical algorithm Apriori algorithm source code, can be connected to the database)
    2007-01-25 11:31:59下载
    积分:1
  • Hanoi
    简单的汉诺塔算法,采用归约算法的思想,实例是三个盘子,三个柱子(Simple HANOR algorithm)
    2012-07-16 20:48:59下载
    积分:1
  • NRF24L01
    51单片机,下载可直接使用,程序注解详细,不懂可以直接问我
    2022-05-17 22:36:52下载
    积分:1
  • AdafruitCC3000
    wifi模块cc3000在arduino中的库,直接调用(wifi cc3000 arduino)
    2014-12-01 21:13:04下载
    积分:1
  • u021
    说明:  Fluent UDF编程实现边界识别,在边界添加源项(Fluent UDF program to realize boundary recognition and add source items at the boundary)
    2020-03-28 14:58:44下载
    积分:1
  • OV7670资料
    摄像头OV7670模块调试资料,硬件参考电路、51、STM32源码。(Camera OV7670 module debugging data, hardware reference circuit, 51, STM32 source code.)
    2020-06-19 16:40:01下载
    积分:1
  • c++简易停车管理系统
    非常简易的C++停车管理系统,经过编译,可通过。仅给初学者提供思路
    2022-03-12 14:37:26下载
    积分:1
  • RC500_STC89C52_CPU卡
    采用RC500读卡模块(驱动兼容RC522)通过SPI与单片机通信。 进行RFID射频卡的读写,包括常见的M1卡 S50、S70以及 复旦微电子的CPU卡FM1280。
    2022-08-20 13:10:03下载
    积分:1
  • Example_2
    鸡舍的智能补光程序,白天晚上自动补光开灯关灯 ,(The intelligent lighting program of the chicken coop can automatically fill the light on and off during the day and night.)
    2020-06-18 13:00:01下载
    积分:1
  • 696518资源总数
  • 105717会员总数
  • 10今日下载