- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 92kb
- Update:
- 2014-07-25
- Downloads:
- 0 Times
- Uploaded by:
- 林志浩
Description: WDT timer 16ms interrupt.
In the WDT interrupt, the presence of KEY_Now and KEY_Past record the last two IO state. According to the high to low can judge whether the button is pressed, the former low after the high judge the key is released.
The event handler (P13_Onclick) according to the key state switching LED light.
To Search:
File list (Check if you may need any files):
7_2_Timer_Key_LED\7_2_Timer_Key_LED.dep
.................\7_2_Timer_Key_LED.ewd
.................\7_2_Timer_Key_LED.ewp
.................\7_2_Timer_Key_LED.eww
.................\7_2_Timer_Key_LEDCustomSfr.sfr
.................\Debug\Exe\7_2_Timer_Key_LED.d43
.................\.....\Obj\7_2_Timer_Key_LED.pbd
.................\.....\...\7_2_Timer_Key_LED.pbd.browse
.................\.....\...\main.pbi
.................\.....\...\main.pbi.cout
.................\.....\...\main.r43
.................\main.c
.................\path.txt
.................\settings\7_2_Timer_Key_LED.cspy.bat
.................\........\7_2_Timer_Key_LED.dbgdt
.................\........\7_2_Timer_Key_LED.dni
.................\........\7_2_Timer_Key_LED.wsdt
.................\Debug\Exe
.................\.....\List
.................\.....\Obj
.................\Debug
.................\settings
7_2_Timer_Key_LED