Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I'm not sure how useful interrupts are on a button matrix. Commented Aug 19, 2020 at 14:42
  • polling force cpu to check i/o ports in loop that cause waste cpu time and code is a cascaded for loop. where using interrupts lets cpu doing its normal code and interrupt with its input Vector make every thing ready for you, by some bit-wise operations you can find changed port and send correct output. Commented Aug 22, 2020 at 8:32
  • That’s a very common newbie trap. But go ahead. Commented Sep 18, 2020 at 17:07