I am new here and need some ideas. I have a keypad connected to AVR and a program that outputs what row and column that the user pressed. What I want to know is can i use this same code so that when the user presses a key, like 5, the LED will flash 5 times. See code below. If I need to write a new program to do this, that's fine. Just give me ideas on best way to do this.