AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
board/Keyboard.cpp@11:50572814f73e, 2014-12-31 (annotated)
- Committer:
- sillevl
- Date:
- Wed Dec 31 15:27:43 2014 +0000
- Revision:
- 11:50572814f73e
- Parent:
- 4:2c91c9eccf3a
ShowBuzzer;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 4:2c91c9eccf3a | 1 | #include "Keyboard.h" |
sillevl | 4:2c91c9eccf3a | 2 | |
sillevl | 4:2c91c9eccf3a | 3 | |
sillevl | 11:50572814f73e | 4 | Keyboard::Keyboard(KeyboardPins keyboardPins) : Keypad( |
sillevl | 11:50572814f73e | 5 | keyboardPins.rows[0], keyboardPins.rows[1], keyboardPins.rows[2], keyboardPins.rows[3], |
sillevl | 11:50572814f73e | 6 | keyboardPins.cols[0], keyboardPins.cols[1], keyboardPins.cols[2], NC |
sillevl | 11:50572814f73e | 7 | ){ |
sillevl | 11:50572814f73e | 8 | } |
sillevl | 4:2c91c9eccf3a | 9 | |
sillevl | 11:50572814f73e | 10 | const char Keyboard::KEYTABLE[] = { '1','2','3', |
sillevl | 11:50572814f73e | 11 | '4','5','6', |
sillevl | 11:50572814f73e | 12 | '7','8','9', |
sillevl | 11:50572814f73e | 13 | '*','0','#' |
sillevl | 11:50572814f73e | 14 | }; |
sillevl | 11:50572814f73e | 15 |