Fork without short circuits

Dependents:   SaveKeypad

Fork of keypad by HM Yoong

No extra hardware is needed besides the wires and switches. The columns are outputs configured with open drain. The rows are inputs configured with pull up resistors. A key press pulls down its row. With scanning the column is determined thereafter.

See SaveKeypad for an example usage.

Download repository: zip gz

Files at revision 16:a9feaa7ac039

Name Size Actions
keypad.cpp 2441 Revisions Annotate
keypad.h 4007 Revisions Annotate