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.
怎么用单片机检测按键是否长按5秒,长按5秒,后级单片机开始工作,否,后级单片机不工作;求个参考例程
没有现成的,就是按键检测功能,建议你自己写一个,非常简单。时间长度用Timer来定长度。
已在另一个帖子回复:http://www.deyisupport.com/question_answer/microcontrollers/msp430/f/55/t/129338.aspx