User Activity

Hello to all!I'm a bit new to STM8 programming. I'm my current project using the STM8L052 board, my plan is to use a input of how many times the user press a button to activate or deactive a function. For example, if the user press the button 5 times...