Press Duration

Curiosity strikes us all. I am using it to tell the difference between a press and a hold. That is to set the time on a binary clock that I am making. A press will encrese the time by 1 and a hold will increase the time steadily by 1 about every 1/2 or 1 second.