Matrix lamp is only workin on 1 button.


In school i recently gotten a project in which we gonna do a simple 4 in row game. I did some of the code but cant get my matrix to work with certain button. I got a 8-5 Led matrix and declared button to pin 13-9 , The pin 13 worked exatly as intended and does it work but none of the other pins does. When i click the right button i can fill out that row of lamps but whenever i click on any other of the lamps everything disconnects. Even through i have exatly the same code as the right lamp.

Heres the code :

Nevermind solved!

Just as well, as you gave no useful details of your project and an external link to your code. If you want to post again, read the instructions first. :grinning: