Originally Posted By: tirta
, when I press the one button, always 2 or 3 numbers are checked.


You are using diodes on buttons?

When using many inputs from matrix they are need to avoid "ghost" buttons press.

1N4148 diode is fine.

Sokol1