Hi all.
i am working on this class project, its tool demonstrating automated car driving.there is a speedometer and an acceleration and deceleration button.
the problem is, the speedometer is supposed to show an increase/decrease in speed only if the button is long pressed..and what i have always done, is to reaction only if a button is clicked once. so how do i do that?

