📄 ps2int.c
字号:
/****************************************************************************
* File:EINT1_LED.C
* 功能:使用外部中断1进行LED4的控制,每当有一次中断时,即取反LED4,
* 以便指示中断输入。
* 说明:将跳线器JP8_LED4短接。
****************************************************************************/
#include "config.h"
#include "ps2.c"
static unsigned char IntNum = 0;
static unsigned char key1;
static unsigned char key2;
static unsigned long key3;
static unsigned char Key_UP1 = 0;//Key_UP是键松开标识
static unsigned char Shift = 0;//Shift是Shift键按下标识
/****************************************************************************
* 名称:Eint0_Exception(void)
* 功能
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -