Map button matrix to integers

HazardsMind:
That does not make sense either. You cannot read 2 pins at the sametime with just one digital read. I don't know, maybe we finally can, and I just didn't get the memo.

Maybee, we both didn't get the memo :smiley: But what I meant in my code is reading the value of a button that is on a specific X Y coordinate. A 2D array must be used for this to work.