文件名称:7_2_Timer_Key_LED
介绍说明--下载内容来自于网络,使用问题请自行百度
WDT定时器设置为16ms中断。
在WDT中断,记录下最近两次的IO状态存在KEY_Now和 KEY_Past中。根据前高后低可判断按键按下,前低后高可判断按键松开。
事件处理函数P13_Onclick()根据按键状态切换LED 亮灭 。-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.
在WDT中断,记录下最近两次的IO状态存在KEY_Now和 KEY_Past中。根据前高后低可判断按键按下,前低后高可判断按键松开。
事件处理函数P13_Onclick()根据按键状态切换LED 亮灭 。-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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
7_2_Timer_Key_LED/7_2_Timer_Key_LED.dep
7_2_Timer_Key_LED/7_2_Timer_Key_LED.ewd
7_2_Timer_Key_LED/7_2_Timer_Key_LED.ewp
7_2_Timer_Key_LED/7_2_Timer_Key_LED.eww
7_2_Timer_Key_LED/7_2_Timer_Key_LEDCustomSfr.sfr
7_2_Timer_Key_LED/Debug/Exe/7_2_Timer_Key_LED.d43
7_2_Timer_Key_LED/Debug/Obj/7_2_Timer_Key_LED.pbd
7_2_Timer_Key_LED/Debug/Obj/7_2_Timer_Key_LED.pbd.browse
7_2_Timer_Key_LED/Debug/Obj/main.pbi
7_2_Timer_Key_LED/Debug/Obj/main.pbi.cout
7_2_Timer_Key_LED/Debug/Obj/main.r43
7_2_Timer_Key_LED/main.c
7_2_Timer_Key_LED/path.txt
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.cspy.bat
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.dbgdt
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.dni
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.wsdt
7_2_Timer_Key_LED/Debug/Exe
7_2_Timer_Key_LED/Debug/List
7_2_Timer_Key_LED/Debug/Obj
7_2_Timer_Key_LED/Debug
7_2_Timer_Key_LED/settings
7_2_Timer_Key_LED
7_2_Timer_Key_LED/7_2_Timer_Key_LED.ewd
7_2_Timer_Key_LED/7_2_Timer_Key_LED.ewp
7_2_Timer_Key_LED/7_2_Timer_Key_LED.eww
7_2_Timer_Key_LED/7_2_Timer_Key_LEDCustomSfr.sfr
7_2_Timer_Key_LED/Debug/Exe/7_2_Timer_Key_LED.d43
7_2_Timer_Key_LED/Debug/Obj/7_2_Timer_Key_LED.pbd
7_2_Timer_Key_LED/Debug/Obj/7_2_Timer_Key_LED.pbd.browse
7_2_Timer_Key_LED/Debug/Obj/main.pbi
7_2_Timer_Key_LED/Debug/Obj/main.pbi.cout
7_2_Timer_Key_LED/Debug/Obj/main.r43
7_2_Timer_Key_LED/main.c
7_2_Timer_Key_LED/path.txt
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.cspy.bat
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.dbgdt
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.dni
7_2_Timer_Key_LED/settings/7_2_Timer_Key_LED.wsdt
7_2_Timer_Key_LED/Debug/Exe
7_2_Timer_Key_LED/Debug/List
7_2_Timer_Key_LED/Debug/Obj
7_2_Timer_Key_LED/Debug
7_2_Timer_Key_LED/settings
7_2_Timer_Key_LED
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
