Files

16 lines
202 B
C

#ifndef __KEY_H
#define __KEY_H
void KeyInit(void);//init PB1 and PB11
/* PB1 按下弹起返回1 PB11 按下弹起返回2 */
uint8_t Key_GetNum(void);//获取键位值
#endif