Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
目前使用定时器轮询查电平状态,然后长按输出的时候,短按也会操作。
button.c 实现了长按短按,的功能, 你研究一下