文件名称:sushe_lamp
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- lud***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
利用人体红外和光照强度共同控制灯的开关。晚上有人自动开灯,白天和晚上无人以及晚上有人但睡觉时关灯,晚上睡觉时按一下睡眠开关就能关灯而不受光控和人体红外控制的影响,再按一下又可以灯灭,按了睡眠开关后那光和红外控制不起作用。因而设置了早上八点后自动恢复功能来,让此两种控制起作用,而避免了早上起床后要按开关才能让其起作用的麻烦-The human body and the light intensity infrared light switch common control. Some people automatically turn on the lights at night, day and night but no one was sleeping at night, and turn off the lights at night when lights are turned off by what can sleep without light switch control and IR control of the human body, and can click the lamp, according to the sleep light and infrared control switch that does not work. Thus set up the morning after eight automatic recovery feature, so that the two control work, and to avoid waking up the morning after the switch can be allowed to work according to the trouble of
(系统自动生成,下载前可以参看下载内容)
下载文件列表
sushe_lamp.c