06 2018 档案

摘要:#include <reg52.h>#include <stdio.h>#define uchar unsigned charsbit LED = P2^2;uchar receive;uchar sdata[11]={13,10,'l','e','d',58,111,'0','0',13,10}; 阅读全文

posted @ 2018-06-30 16:08 arcfz 阅读(197) 评论(0) 推荐(0)

摘要:串口发送一帧数据时,两个字节的间隔时间是多少? 波特率:发送二进制数据位的速率,习惯上用 baud 表示,即我们发送一位二进制数据的持续时间=1/baud。 如果波特率为9600,发送一个位需要的时间为1/9600s=0.0001042s=0.1042ms,这里按数据位为8位,停止位为2位, 加起来 阅读全文

posted @ 2018-06-28 20:12 arcfz 阅读(289) 评论(0) 推荐(0)

摘要:using System; #region WndProc常量 public const int WM_DEVICECHANGE = 0x219; public const int DBT_DEVICEARRIVAL = 0x8000; public const int DBT_CONFIGCHAN 阅读全文

posted @ 2018-06-27 16:31 arcfz 阅读(169) 评论(0) 推荐(0)

摘要:button1, button2, richtexbox1, serialport1, using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.D 阅读全文

posted @ 2018-06-27 08:55 arcfz 阅读(155) 评论(0) 推荐(0)

摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文

posted @ 2018-06-14 15:25 arcfz 阅读(86) 评论(0) 推荐(0)

导航