文件名称:controldeng
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2016-04-21
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- 好好学习****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现楼道间照明灯的方便控制,一个照明灯,在楼上和楼下各有一个(闭合式)开关控制。开关的闭合并不直接决定灯的亮灭,而开关状态的改变才是决定灯亮灭的关键。即不管两个开关当前的状态如何,只要有一个开关状态发声变化,都会使照明灯在打亮或者熄灭两种状态间切换。
-Achieve inter-corridor lighting control convenience, a lamp, upstairs and downstairs each have a (closed) switch. Switch is closed does not directly determine the bright lights off, change the switching state is the key to determine the lamp on or off. That no matter how the current state of the two switches, as long as there is a switch status change sound, will make playing in the bright lights off or switch between the two states.
-Achieve inter-corridor lighting control convenience, a lamp, upstairs and downstairs each have a (closed) switch. Switch is closed does not directly determine the bright lights off, change the switching state is the key to determine the lamp on or off. That no matter how the current state of the two switches, as long as there is a switch status change sound, will make playing in the bright lights off or switch between the two states.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
controldeng.cpp