搜索资源列表
-
0下载:
由8031内部定时器1按方式1工作,即作为16位定时器使用,每0.1秒钟T1溢出中断一次。P1口的P1.0~P1.7分别接发光二极管的L1~L8。要求编写程序模拟一循环彩灯。彩灯变化花样可自行设计。例程给出的变化花样为:①L1、L2、…L8依次点亮;②L1、L2、…L8依次熄灭;③L1、L2、…L8全亮、全灭。各时序间隔为0.5秒。让发光二极管按以上规律循环显示下去。-By 8031 according to an internal timer means a work, that is, as
-
-
0下载:
定时器实验:
实验得到的结果为,四个8段数码管显示1234,当按下某键盘后,就会产生定时中断,四个8段数码管只会点亮相对应的那个,在一定延时后,四个8段数码管又恢复显示1234。
在flash调试时,需要修改RO BASE为0x00000000,其他不用修改,重新编译下载就可运行。
注意:由于系统产生中断,程序计数器就会跳到0x18处执行中断服务子程序,所以不能在SDRAM调试。 -Timer experiment: the experimental results for
-
-
1下载:
实验目的
目的:掌握定时器T0、T1的方式选择和编程方法,了解中断服务程序的设计方法,学会实时程序的调试技巧。
-Aim Objective: To master the timer T0, T1 of the mode selection and programming methods, to understand the design method of the interrupt service routine, and learn skills in real-time debu
-
-
0下载:
通过PC机内8253定时器设置时间常数,使其每隔10MS产生一次中断,并通过定时中断 ,接管中断服务程序,由汇编语言实现主程序,中断服务程序的编写。-PC-8253 timer to set the time constant, so that every 10MS generate an interrupt and timer interrupt and take over the interrupt service routine, assembly language main progra
-
-
0下载:
This example describes how to implement a scanning keyboard and then from the pressed key generate a corresponding defined sound frequency. Each time a key is pressed the corresponding frequency value is placed into the timer/counter register. When t
-
-
0下载:
PIC编程实例第七章,包含4个程序:
S071: TMR0定时中断例程
S072: WDT例程
S073: 习题编程题电路图
answer: 习题编程题答案-PIC programming examples in Chapter VII, includes four programs:
S071: TMR0 timer interrupt routine
S072: WDT routine
S073: Exercise circuit diagram progr
-