Tests forked Keypad library.
Dependencies: FPointer keypad mbed
Schematic:
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 keypad for the forked library used in this project.
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
4:16191e501b63 | 2012-11-04 | Small bug | File Diff Annotate |
3:fb173f712440 | 2012-11-04 | Multiple keys added | File Diff Annotate |
2:eaa3d23e9b29 | 2012-11-03 | Added polling support. | File Diff Annotate |
1:8bbe2b267de6 | 2012-11-03 | - clean up ; - added led code from Rene Greiner's IRQKeypad1. | File Diff Annotate |
0:5410e5950602 | 2012-11-02 | Tests forked Keypad library | File Diff Annotate |