登录
首页 » 通信 » c语言实现串口通讯的两个例子,分别为中断式和询问式两种

c语言实现串口通讯的两个例子,分别为中断式和询问式两种

于 2023-05-18 发布 文件大小:8.88 kB
0 169
下载积分: 2 下载次数: 1

代码说明:

c语言实现串口通讯的两个例子,分别为中断式和询问式两种-serial communications, the two examples were interrupted and asked-two-

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

发表评论

0 个回复

  • 简单的串口监控程序
    DELPHI 7 做的串口监控程序。软件简洁无按键,通过全局热键控制软件。可发字符。可调节窗口字体大小(ALT+箭头)。可存LOG文件。快捷键打开、新建LOG文件。
    2022-05-27 22:08:42下载
    积分:1
  • c# plc modibus
    c# 串口 以太网通信 modibus  连接 plc  从文本框输入负数 -2 补码=反+1=进位+原数 Vb 清除输入缓冲区 输出缓冲区 c#用不用清除??哪个函数?? //發送二進制數據 ?????????????? private void SendBytesData(SerialPort serialPort) { ////从 文本框取得数据 如果负数 -2 怎么办???? byte[] bytesSend = Encoding.Default.GetBytes(txtSend.Text); spcom.Write(bytesSend, 0, bytesSend.Length); } 通过MODBUS TCP读写PLC源码 功能模块一:读写PLC主模块 using System; using System.Net; using System.Net.Sockets; public static void WriteWord(int mwAddress,int mwValue) {写字到以太网 if (init_plc() == 0) { try { hi = mwAddress / 256; low = mwAddress - hi * 256; hi1 = mwValue / 256; ///////////16bit low1 = mwValue - hi * 256; sendBuf[7] = 6; sendBuf[8] = (byte)hi; sendBuf[9] = (byte)low; sendBuf[10]
    2022-07-10 15:42:30下载
    积分:1
  • VC 串口程序
    串口通信的源码,可以在vc6.0编译工具上编译通过,是学习串口通信的好源码。
    2022-07-19 05:57:33下载
    积分:1
  • matlab编的号符号速率估计的程序,比较容易的
    matlab编的信号符号速率估计的程序,比较容易的-matlab compiled the signal symbol rate estimation procedures, relatively easy
    2022-02-03 10:21:49下载
    积分:1
  • LaTeX技巧心得:编辑方便的幻灯片模板会议报告tex ppt
    LaTeX技巧心得:编辑方便的幻灯片模板会议报告tex ppt-LaTeX skills learned: Editor and convenient report of the meeting tex ppt slide template
    2022-01-26 03:10:06下载
    积分:1
  • UWB_Channel_IEEE_802_15_3a.rar是用MATLAB对UWB道进行仿真的实例,所仿真的道是UWB的标准道模型。...
    UWB_Channel_IEEE_802_15_3a.rar是用MATLAB对UWB信道进行仿真的实例,所仿真的信道是UWB的标准信道模型。-UWB_Channel_IEEE_802_15_3a.rar is used for UWB channel MATLAB simulation examples, the channel simulation is the standard UWB channel model.
    2023-05-13 01:20:03下载
    积分:1
  • 数字滤波器的详细实用设计方法介绍,非常实用
    数字滤波器的详细实用设计方法介绍,非常实用-Digital filter design method detailed practical introduction, very useful
    2022-01-30 14:57:21下载
    积分:1
  • nmea0183识别程序
    nmea0183识别程序-nmea0183 identification procedures
    2022-01-25 19:08:56下载
    积分:1
  • 语音输出流的例子
    语音输出流的例子-voice output streams example
    2022-08-22 15:45:11下载
    积分:1
  • 华为软件编程规范培训实例与练习.写很好直的学习
    华为软件编程规范培训实例与练习.写很好直的学习-Huawei software programming training examples and practice norms. Learning to write a good straight
    2022-03-20 09:51:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载