Chris--A / Keypad

A version of the keypad library found in Wiring. This is just a copy made compatible with the Arduino IDE library manager.
GNU General Public License v3.0
248 stars 150 forks source link

Fix glitching behavior on Teensy 3.2 #6

Closed DavidMenting closed 7 years ago

DavidMenting commented 7 years ago

The pin_write HIGH followed by pin_mode INPUT results in a glitching button matrix on the Teensy 3.2 and possibly other microcontrollers. Replacing these two lines with one pin_mode INPUT_PULLUP solves the issue.

Chris--A commented 7 years ago

Hi,

Is this still needed? I haven't had time to look at it yet.

DavidMenting commented 7 years ago

Thanks for looking at it. I suspect it is a hardware bug in my custom Teensy-based board. I'll look into it an get back if this happens to be a software issue anyway.