Hi,
can somebody give some advise how to realise such function which t.e. would increment value while PushButton is depressed.
For example we would like to set time in a countdown timer. When we press button once it increments by +1, when we keep button depressed it increments faster.
It would be something like: while (buttons is depressed) do something.
Is there a better way to realise that without while loop? And finally how we can get the state of the PushButton (pressed, activated, released, etc.)?