Hi again....

I´m making a new project: 3 encoders, 3 rotary switch, 3 axis, 6 toggle switch (on-off-on) and 18 buttons.
I will make a 9x8 matrix, but i must be doing something wrong with encoders....


If i make one matrix with 1 row and 6 columns, the Encoders working well, but, if add one row more, Encoders not working.

working 6 encoders:



Nothing work:



And, i need 9x8 matrix!


Thanks....