#ifndef __KEY_H #define __KEY_H #include "sys.h" #define KEY_BN GPIO_ReadInputDataBit(GPIOB,GPIO_Pin_8)//��ȡ����0 void KEY_Init(void);//IO��ʼ�� u8 KEY_Scan(u8); //����ɨ�躯�� #endif