文件名称:DISP
介绍说明--下载内容来自于网络,使用问题请自行百度
/*用rtos编写LED数码管显示程序,其中有用于计算的程序*/
/*另加LED流水灯*/
//须加入conf_tny.a51将周期数改为1000(原为10000),即将报时周期改为1ms,将TimeSharing由5改为1,即将时间片改为1ms
/*测试结果:1)可很稳定地显示,LED的闪烁也正常
2)如果将Timer1的定时中断改为1000即1ms发送一次,可以看到LED流水灯速度时显示加快,但同时数码管出现闪烁,系统超载-/* Rtos prepared using digital tube LED display program, there is one of the procedures used to calculate*//* plus water LED lights*///add conf_tny.a51 will have to be re-cycle the number of 1000 (formerly 10000), is about to cycle time changed to 1ms, the TimeSharing by 5 to 1, is about to change the time slice 1ms/* test results: 1) can be very stable display, LED normally flashes of 2) If the Timer1 interrupt timing changed to 1000 that is sent 1ms time, we can see the speed of LED lights when the water shows up, but at the same time there blinking LED, system overload
/*另加LED流水灯*/
//须加入conf_tny.a51将周期数改为1000(原为10000),即将报时周期改为1ms,将TimeSharing由5改为1,即将时间片改为1ms
/*测试结果:1)可很稳定地显示,LED的闪烁也正常
2)如果将Timer1的定时中断改为1000即1ms发送一次,可以看到LED流水灯速度时显示加快,但同时数码管出现闪烁,系统超载-/* Rtos prepared using digital tube LED display program, there is one of the procedures used to calculate*//* plus water LED lights*///add conf_tny.a51 will have to be re-cycle the number of 1000 (formerly 10000), is about to cycle time changed to 1ms, the TimeSharing by 5 to 1, is about to change the time slice 1ms/* test results: 1) can be very stable display, LED normally flashes of 2) If the Timer1 interrupt timing changed to 1000 that is sent 1ms time, we can see the speed of LED lights when the water shows up, but at the same time there blinking LED, system overload
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DISP.C
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.