查看会员资料
用 户 名:j_l***
发送消息- Email:用户隐藏
- Icq/MSN:
- 电话号码:
- Homepage:
- 会员简介:
最新会员发布资源
CS18-2
- 定时中断。采用定时器T0,定时50ms,每次定时溢出引起中断,在中断程序中对计数器累加。每一秒LED亮0.2s,熄0.8s。 特色:低功耗。程序中技巧在于将1s分成cnt记20次,0.2秒占20 ,即中断的前4次都点亮,后16次都熄灭。-Interrupted from time to time. The use of timer T0, from time to time 50ms, each caused by overflow from time to time interrupted