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.
我要做一个按键检测,通过ADC采样,检测按键触发的次数,来达到长按的目的;因为这长按的时间是不精确的,我想要按键按下五秒后,单片机才开始工作,问一下,有没有什么方法可以做到按键按下五秒后,单片机开始工作。