摘要: 通信方式:并行,串行 异步:起始位,数据位(任意)校验位,停止位 【一帧数据格式】 同步:同步时钟信号和数据信号,具体不知道 串行方式:单工通信,半双工通信,全双工通信 接口标准:RS232(25针,9针)公头,母头 USB转串口 CH340 驱动 SCON PCON 接收寄存器,发送寄存器都是SB 阅读全文
posted @ 2019-12-24 18:03 pie_thn 阅读(1119) 评论(0) 推荐(0) 编辑
摘要: NEC红外协议 引导码9ms高电平,4.5ms低电平,0:0.56mslow+0.56mshigh 1:0.56mslow+1.56mshigh 红外发射电路(遥控器),脉宽调制,38KHz载波 红外二极管 红外接收电路,解码,集成电路 中断0,T0 (本来想用TMOD的T0.gate=1,来计算脉 阅读全文
posted @ 2019-12-13 22:37 pie_thn 阅读(294) 评论(0) 推荐(0) 编辑
摘要: the partition of labled '/' is /dev/sdb8 (eg:(hdb1,gpt8)) linux (hdb1,gpt8)/vmliuz root=/dev/sdb8 initrd (hdb1,gpt8)/initrd.img boot 阅读全文
posted @ 2019-06-16 10:27 pie_thn 阅读(141) 评论(0) 推荐(0) 编辑
摘要: ##############encoding format####################### plain text stored at the disk by encoding which some specifical encode format,such as utf8,gbk py 阅读全文
posted @ 2019-05-25 23:41 pie_thn 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 把数据放在acquire 和release 之间,可以防止线程安全。当sleep足够趋近于0的时候,没有IOl阻碍,lock之前的执行后,执行locked ,当存在sleep时,取决于cpu的速度,(sleep(0,0001),output:okokokok99okok0kokokokokokok9 阅读全文
posted @ 2019-04-18 18:20 pie_thn 阅读(81) 评论(0) 推荐(0) 编辑
摘要: THE OUTPUT: musicmoverscombination 0.0end the musicmusicend the moversmoversend the musicend the movers 阅读全文
posted @ 2019-04-17 22:21 pie_thn 阅读(91) 评论(0) 推荐(0) 编辑
摘要: Paketage Spiling sk.send(b'123) sk.seng(b'456) possible:>>>b'123456 ture is >>>b'123 >>>b'456 Coding PY3:(Str,Bytes) str:unicode >>>>(encoding)['utf8' 阅读全文
posted @ 2019-04-14 10:08 pie_thn 阅读(85) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-04-11 12:15 pie_thn 阅读(3) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-04-05 16:40 pie_thn 阅读(2) 评论(0) 推荐(0) 编辑
摘要: ##############COMPUTER NETERWORK#################### 以电或光的形式表示的数据称为编码,编码方法(计算机网络):电位方法、脉冲方法、调制方法 物理链路的特性:网络负载(offered load)、信息速率(information rate)、容量( 阅读全文
posted @ 2019-04-01 23:34 pie_thn 阅读(91) 评论(0) 推荐(0) 编辑