AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Keyboard.cpp Source File

Keyboard.cpp

00001 #include "Keyboard.h"
00002 
00003 
00004 Keyboard::Keyboard(KeyboardPins keyboardPins) : Keypad(
00005         keyboardPins.rows[0], keyboardPins.rows[1], keyboardPins.rows[2], keyboardPins.rows[3],
00006         keyboardPins.cols[0], keyboardPins.cols[1], keyboardPins.cols[2], NC
00007         ){
00008 }
00009 
00010 const char Keyboard::KEYTABLE[] = { '1','2','3',
00011                                      '4','5','6',
00012                                      '7','8','9',
00013                                      '*','0','#'
00014 };
00015