miércoles, agosto 16, 2017

Arduino: add de-bounce and sleep to short-push-long-push - Electronics Weekly (blog)


Arduino: add de-bounce and sleep to short-push-long-push
Electronics Weekly (blog)
Caveat: This code uses the 'long' data type for its time variables and constants, whereas, as far as I can see, time is supposed to be held in 'unsigned long' data type if it is to be compared with Arduino's 'millis' real-time clock variable – although ...

No hay comentarios: