1.查询模式,高电平有效
设置如下,不起作用,没按按键的时候一直有key的事件,说明还是低电平有效的
还有什么地方需要改的吗?
#define PUSH1_POLARITY ACTIVE_HIGH
2.按键的消抖默认是多长时间?在哪里修改?
3.按键的poll周期是多少?在哪里修改?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
1.查询模式,高电平有效
设置如下,不起作用,没按按键的时候一直有key的事件,说明还是低电平有效的
还有什么地方需要改的吗?
#define PUSH1_POLARITY ACTIVE_HIGH
2.按键的消抖默认是多长时间?在哪里修改?
3.按键的poll周期是多少?在哪里修改?