AVR Studio 7 ATSAMD21J18A program question

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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.

thanks

 

Code attached

 

 

 

 

Attachment(s): 

Last Edited: Sun. May 12, 2019 - 09:55 PM