Keypad des Wahnsinns: 1,2,5x Keypad 3x4

MikeLimaZulu:
byte colPins[COLS] = {26, 22, 24}; //connect to the column pinouts of the keypad

Wenn ich solche Codezeilen sehe, frage ich mich, wie so seltsame Anschlussreihenfolgen zustande kommen. Einziger Einfall: Das ist Zeug, das mal jemand von jemandes Zeug kopiert hat, der mal Zeug kopiert hat. Dann hat es nochmal jemand kopiert. Und dann nochmal.

Um ein dermaßen einfaches Gitter auszuwerten (nicht „ansteuern“) benötigt man keine Bibliothek. Es sei denn, man hat Bock darauf, eine Bibliothek einzusetzen.

Gruß

Gregor