AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
board/Keyboard.cpp@27:f29805113454, 2017-02-09 (annotated)
- Committer:
- sillevl
- Date:
- Thu Feb 09 12:28:56 2017 +0000
- Revision:
- 27:f29805113454
- Parent:
- 11:50572814f73e
ARCHIVE WIP, not working (crashes, cause unknown)
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 |