Keypad matrix interfaced to a Teensy3