slipstick:
Or you could wait until the button hasn't been pressed for maybe 3 or 5 seconds and then store the count and start blinking.But you have to decide. A lot of the skill in programming is working out in detail what you want to happen and when.
Steve
I was thinking in this, i press the button 10 times...then i wait for 5 seconds and the LED has to blink for 10 times, it makes sense?