Hi,
I was wondering if there is a code template to use a button with short press and long press. I want the Imp to upload a measurement when the button is pressed and reset when the button is pressed for longer than 5 seconds.
Thanks
Hi,
I was wondering if there is a code template to use a button with short press and long press. I want the Imp to upload a measurement when the button is pressed and reset when the button is pressed for longer than 5 seconds.
Thanks
Never mind. I was able to use the hardware.millis() to figure this out.