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, ...
I just got my first Arduino board and have already been having a ton of fun with it. Of course, I started with the simple projects so I could learn to walk before running. Here are the first three ...