I am using Arduino mega, Arduino wifi shield and a keypad.
When I connect the keypad to Arduino, it function properly.
However, when I add the wifi shield, the middle column (2,5,8) does not give correct values.
I am getting (1,4,7) instead go (2,5,8)
I am using this connection diagram.
and I am using the same program in the link
How can I solve the problem.