
通信
文章平均质量分 77
htyy521
这个作者很懒,什么都没留下…
展开
-
串口通信公共类JustinIO
using System;using System.Runtime.InteropServices;namespace JustinIO { class CommPort { public int PortNum; //1,2,3,4 public int BaudRate; //1200,2400,4800,9600 public byte ByteSize; //7 bits原创 2006-09-21 10:55:00 · 1385 阅读 · 1 评论 -
crc校验类
using System;namespace CRC8{ /// /// CRC8 的摘要说明。 /// public class CRC8:ICRC { #region CRC 8 位校验表 /// /// CRC 8 位校验表 /// public byte[] CRC8_Table = new byte[] { 0原创 2006-10-19 10:57:00 · 1341 阅读 · 0 评论 -
crc串口通信校验
using System;namespace CRC8{ /// /// CRCIO 的摘要说明。 /// public class CRCIO { public CRCIO() { } public static int GetKey(byte[] data) { int count = data.Length; byte[] buf = new byte[原创 2006-10-19 10:58:00 · 1886 阅读 · 0 评论