搜索资源列表
2013_work_3
- 1、使用T0或T1,完成基准为50ms的定时,使用查询方式完成即可; 2、利用50ms的基准定时,完成1s定时,每1秒,切换EZ-51开发板上某个LED(如LED0)的亮灭状态; 3、每10秒,控制EZ-51开发板上的蜂鸣器鸣叫1次; 4、分别用汇编和C51完成上述要求。-1, using the T0 or T1, the timing of completion basis of 50ms, can be accomplished using the query 2, usin
lab05
- 将定时器T0设置成定时方式,由P1.0输出高低电平之比为1:1的500Hz方波。-Set the timer T0 timing mode, P1.0 output from the high and low ratio of 1:1 for the 500Hz square wave.
Alarm-and-flash
- // 名称: 报警器与旋转灯 // - // 说明: 本例启用了两个定时器中断和一个外部中断, // 其中T0定时器溢出中断控制LED旋转,T1定时器溢出中断控制报警 // 声音输出,INT0中断控制报警系统的启动与停止.-alarm sound and flash led