I'm using interrupts to detect button press lengths, but it will sometimes not detect that I've released the button

前端 未结 0 905
暖寄归人
暖寄归人 2020-12-18 10:41
#include 

DS3231 clock;
RTCDateTime dt;

const int INTERRUPT_PIN = 2;
int prevTime, pressedTime, releasedTime, heldTime;
bool settingTimes = false;
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题