摘要
采用分秒显示,用t0定时,在4位七段LED上显示分和秒,秒时钟每秒闪烁一次,表示电子表正在运行。若想重新设置时间,须复位单片机。定时时间到则蜂鸣器演奏音乐《八月桂花香》;复位状态为00分00秒并且演奏音乐《八月桂花香》,等待按键设置时间,时间开始设置,立即停止播放音乐。
This paper presents an experimental timer used for teaching the single-chip computer.It shows the time with minute and second by using the timer tO and 4 LEDs. The display of second sparkles every second. It also plays music during time setting.The hardware and software of the system are outlined.
出处
《自动化技术与应用》
2008年第4期98-101,共4页
Techniques of Automation and Applications