Tag Archives: keypad

Pi with a keypad matrix

 Pi with a keypad matrix http://hackyourmind.org/articles/2012/11/01/raspberry-pi-with-a-keypad-matrix.html Today we will see how to interfacing the Raspberry Pi with a matrix keypad usingRpi-hw library. Matrix keypad interfacing – Video The library provides the class keypad::matrix↱, defined in “rpi-hw/keypad/matrix.hpp”↱, with which it is possible to manage keypads of any size. Its constructor method takes two ordered lists containing the GPIO pins used by the device: keypad::matrix( { COL0, COL1, COL2, … }, // Column pins { ROW0, ROW1, ROW2, … } // Rows pins ) Let’s take