串口操作库 Windup.SerialTalker

码农软件 · 软件分类 · 常用工具包 · 2019-08-17 18:43:59

软件介绍

Windup.SerialTalker 是基于 C# 的串口操作库,简洁的声明,方便的应用协议扩展。

示例代码:

var talker = new Talker () {
    PortName = "COM3",
    BaudRate = 9600,
    LineBreak = new LineBreak () { //set linebreak type
        Type = "nt",
    },
    Proc = list => { // data arrived process method(important)
        var str = string.Empty;        
        foreach (var i in list) {
        var ch = (char)i;
            str += ch;
        }
        Console.WriteLine ("echo str: {0}", str);
    }
};


本文地址:https://codercto.com/soft/d/12583.html

The Information

The Information

James Gleick / Vintage / 2012-3-6 / USD 16.95

James Gleick, the author of the best sellers Chaos and Genius, now brings us a work just as astonishing and masterly: a revelatory chronicle and meditation that shows how information has become th......一起来看看 《The Information》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具