#include "REG52.H"#define const_voice_short 40 //蜂鸣器短叫的持续时间#define const_voice_long 200 //蜂鸣器长叫的持续时间#define const_key_time1 500 //按键去抖动的延时时间#define co ...
分类:
其他好文 时间:
2019-11-27 23:49:01
阅读次数:
194
#include "REG52.H"#define const_time_05s 222#define const_time_1s 444#define const_time_3s 1332#define const_time_6s 2664 #define const_voice_short 40 ...
分类:
其他好文 时间:
2019-11-26 22:21:59
阅读次数:
111
/// <summary> /// WAV文件信息 /// </summary> public struct WavInfo { public string groupid; public string rifftype; public long filesize; public string ch ...
Computer networks link computers by communication lines and software protocols,allowing data to be exchanged rapidly and reliably. 计算机网络通过通信线路和软件协议将计算 ...
分类:
其他好文 时间:
2019-11-05 22:03:14
阅读次数:
115
1、 class Animal(object): voice = '咩' def __init__(self,voice): #__init__为python内置函数 Animal.voice = voice #直接对类的属性进行修改 def cat(self): pass print(Animal ...
分类:
编程语言 时间:
2019-11-04 11:34:49
阅读次数:
78
歌名:《A Thousand Years》 演唱:Christina Perri Heart beats fast(心跳得越来越快) Colors and promises(眼前愈加斑斓的色彩 耳边你的誓言晕开) How to be brave(该如何变得勇敢) How can I love whe ...
分类:
其他好文 时间:
2019-11-03 18:20:55
阅读次数:
87
即美国之音(The Voice of America,简称VOA)。美国之音是一家提供45种语言服务的动态的国际多媒体广播电台。美国之音通过互联网、手机和社交媒体提供新闻、资讯和文化节目,每周服务全球1.64亿的民众。美国之音亦是美国广播事业管理委员会(广播理事会)监管下的政府机构,创立于1942年 ...
分类:
其他好文 时间:
2019-10-31 18:07:17
阅读次数:
208
管道(Pipe)及有名管道(named pipe):管道可用于具有亲缘关系进程间的通信,有名管道克服了管道没有名字的限制,因此,除具有管道所具有的功能外,它还允许无亲缘关系进程间的通信;信号(Signal):信号是比较复杂的通信方式,用于通知接受进程有某种事件发生,除了用于进程间通信外,进程还可以发 ...
分类:
系统相关 时间:
2019-10-29 11:22:34
阅读次数:
94
“阻塞”与"非阻塞"与"同步"与“异步"不能简单的从字面理解,提供一个从分布式系统角度的回答。1.同步与异步 同步和异步关注的是消息通信机制 (synchronous communication/ asynchronous communication) 所谓同步,就是在发出一个*调用*时,在没有得到 ...
分类:
其他好文 时间:
2019-10-29 00:30:20
阅读次数:
90
在linux下的多个进程间的通信机制叫做IPC(Inter-Process Communication),它是多个进程之间相互沟通的一种方法。在linux下有多种进程间通信的方法:半双工管道、命名管道、消息队列、信号、信号量、共享内存、内存映射文件,套接字等等。使用这些机制可以为linux下的网络服 ...
分类:
系统相关 时间:
2019-10-26 21:19:11
阅读次数:
109