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

C# 串口代码

于 2023-07-16 发布 文件大小:4.71 kB
0 107
下载积分: 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 个回复

  • HumiTemp
    TI CC2530读取温湿度传感器示例代码,实现温度、湿度数值的测量和读取。(sample code for CC2530 to read humture sensor data)
    2013-02-23 00:02:59下载
    积分:1
  • 1-5V转4-20mA
    标准接口1-5V转换成4-20mA程序,应用于标准传感器接入(Standard Interface 1-5V Converting 4-20mA Program for Standard Sensor Access)
    2020-06-22 13:40:02下载
    积分:1
  • tcs230
    使用stm32开发板操作tcs230颜色识别模块 库函数版本 使用开发板为正点原子mini开发板(Use stm32 development board operation tcs230 color recognition module library function version uses the development board for the punctual atom mini development board)
    2020-11-27 23:09:30下载
    积分:1
  • R63311-LCD--code
    安卓手机R63311液晶屏动驱初始化代码(R63311 initialization code)
    2020-12-08 21:19:19下载
    积分:1
  • 高级plc
    可用于平台测试,编写,供与高级plc专业人员,能够带给大家很大的帮助,虽然只是几百行代码,但是集结了我们团队的众多心血,希望大家好好看看,多多讨论,能够将plc与实际现结合,这是我希望看到的
    2022-03-14 13:34:39下载
    积分:1
  • water
    汪德灌教授那本 计算水力学书后的 perisiman 隐式差分法源代码的 c++版本,我是在fortran代码中改过来的,书中的fortran代码有错误, 请较高人才得以突破 这个东西应该比较有用的吧, 尤其对刚接触这方面知识的 注释很详细哦 而且有输入文件(Professor Wang Deguan that the calculation of hydraulics perisiman after the implicit difference method source code c++ Version, I was changed from fortran code, and the book fortran code error, please talents to break with this higher things you should be more useful, especially for刚接触this regard very detailed knowledge of the Notes and the input file Oh)
    2008-01-10 13:29:29下载
    积分:1
  • byy
    编程验证[x+1]是GF(28)=GF(2)[x]/(x8+x4+x3+x+1)的本原元,并给出GF(28)=GF(2)[x]/(x8+x4+x3+x+1)中以[x+1]为底的对数表和反对数表(Program verification [x+1] is the GF (28) = GF (2) [x]/(x8+ x4+ x3+ x+1) of the primitive element, and gives GF (28) = GF (2) [x]/(x8+ x4+ x3+ x+1) in order to [x+1] as the logarithm tables and antilog tables)
    2020-12-23 22:29:06下载
    积分:1
  • armYUANCHENG
    基于linux arm的远程监控程序,包含lcd 音频 视屏和一定linux的基本命令,提供客户端和服务器代码,可根据需要自行修改(Remote monitoring program Linux based on arm, including basic commands LCD audio video and Linux, provide the client and server code, can be modified according to the needs of its own)
    2014-04-18 09:51:17下载
    积分:1
  • kw-model
    原始K-w湍流模型源程序,用于参考编写自己的CFD代码(CFD code of k-w turbulent model, used writting your own cfd code)
    2021-01-02 15:08:57下载
    积分:1
  • 算法第三章
    说明:  主要用伪码写的,算法第三章,可以参考一下,很好改成C++(Mainly written in pseudo code, algorithm 3 Chapter, you can refer to, very good to change to C++.)
    2019-04-06 00:32:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载