Question
Double press, long and short press
Hi all,
I am using the stm8l152c6 discovery board which has one user button.
I would like to implement that the button pressed once, blink the led, when pressed twice, the led off, also button pressed for 5 sec or less than 5 sec, do somthing.
Please assist or where can I find the relevant information?
