Power management can make or break your Arduino project, especially when running on batteries. From selecting efficient voltage regulation to using deep sleep modes, small changes can deliver huge ...
There is an example of a programme that differentiates between long and short push-button pushes on the Arduino.cc website, but I was not taken it. However their was an example I did like the look of, ...