Custom Keypad (matrix) Do we need diodes for this?

Hello guys.
I will make 4 x 10 matrix keypad for use with arduino lonardo. But i saw some keypads have diodes. do i need this ?

{  1,  2,  3, 4, 5, 6, 7, 8, 9, 10 },
{  1,  2,  3, 4, 5, 6, 7, 8, 9, 10 },
{  1,  2,  3, 4, 5, 6, 7, 8, 9, 10 },
{  1,  2,  3, 4, 5, 6, 7, 8, 9, 10 },

Look that:

[img width=335 height=500]https://raw.githubusercontent.com/tttapa/MIDI_controller/master/doc/Images/Button-matrix.png[/img]

If you want to handle several buttons pressed at once, yes you need it. If only one or two, they
are optional.

MarkT:
If you want to handle several buttons pressed at once, yes you need it. If only one or two, they
are optional.

thank you for answer.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.