文件名称:simple_S_watch
介绍说明--下载内容来自于网络,使用问题请自行百度
用PIC单片机内部定时器0,作为16位定时器使用,并开启溢出中断。单片机的外部中断0引脚接开关SW2,并设置为下降沿的触发方式。可计时0SW2按键按下时,LCD上显示“Timer0 Start”, 定时器0开始工作,LED显示屏进行秒计数,再按下SW2键时定时器0停止工作,LCD上显示“Timer0 Stop”,并显示秒数,当按下SW3时,显示屏复位。-PIC microcontroller with internal timer 0, as the 16-bit timer, and turn overflow interrupt. External microcontroller interrupt 0 pin is connected to the switch SW2, and set on the falling edge of the trigger. Be timed button press 0SW2 displayed when " Timer0 Start" , Timer 0 start working, LED display counting seconds, Timer 0 stops working and then press SW2 button displayed on the LCD " Timer0 Stop" , and the LCD displays the number of seconds, when pressed SW3, the display is reset.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
S_Watch/18f452i.lkr
S_Watch/ex4.c
S_Watch/Ex4.cod
S_Watch/Ex4.cof
S_Watch/ex4.err
S_Watch/Ex4.hex
S_Watch/Ex4.lst
S_Watch/Ex4.mcp
S_Watch/Ex4.mcs
S_Watch/ex4.mcw
S_Watch/Ex4.mptags
S_Watch/ex4.o
S_Watch/Ex4.tagsrc
S_Watch/P18F_LCD.h
S_Watch/untitled.mcw
S_Watch/WAP_LCD.c
S_Watch/WAP_LCD.o
S_Watch_proteus/Last Loaded s_watch.DBK
S_Watch_proteus/s_watch.DSN
S_Watch_proteus/s_watch.PWI
S_Watch
S_Watch_proteus
S_Watch/ex4.c
S_Watch/Ex4.cod
S_Watch/Ex4.cof
S_Watch/ex4.err
S_Watch/Ex4.hex
S_Watch/Ex4.lst
S_Watch/Ex4.mcp
S_Watch/Ex4.mcs
S_Watch/ex4.mcw
S_Watch/Ex4.mptags
S_Watch/ex4.o
S_Watch/Ex4.tagsrc
S_Watch/P18F_LCD.h
S_Watch/untitled.mcw
S_Watch/WAP_LCD.c
S_Watch/WAP_LCD.o
S_Watch_proteus/Last Loaded s_watch.DBK
S_Watch_proteus/s_watch.DSN
S_Watch_proteus/s_watch.PWI
S_Watch
S_Watch_proteus
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.