Code: Select all
if (digitalRead(buttonPin)==LOW)
Code: Select all
volatile uint32_t pressStart
I'm not sure how they get cleared independently of any debounce timing. I am pretty code illiterate I'm trying to make as much sense of this as I can.
I am unsure what you suggest I do.
Thanks for all your help so far.