Button
Button copied to clipboard
Bug: Wrong data type
In Button.h:
- unsigned int pressedStartTime;
should be
- unsigned long pressedStartTime;
as millis() returns unsigned long
This is important because it creates an artificial overflow scenario.