文件名称:simple_S_watch
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2014-01-02
- 文件大小:
- 71kb
- 下载次数:
- 0次
- 提 供 者:
- Jaso*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用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
.......\ex4.c
.......\Ex4.cod
.......\Ex4.cof
.......\ex4.err
.......\Ex4.hex
.......\Ex4.lst
.......\Ex4.mcp
.......\Ex4.mcs
.......\ex4.mcw
.......\Ex4.mptags
.......\ex4.o
.......\Ex4.tagsrc
.......\P18F_LCD.h
.......\untitled.mcw
.......\WAP_LCD.c
.......\WAP_LCD.o
......._proteus\Last Loaded s_watch.DBK
...............\s_watch.DSN
...............\s_watch.PWI
S_Watch
S_Watch_proteus