a
KeyboardTsLcd.cpp
- Committer:
- Dom952
- Date:
- 2016-04-23
- Revision:
- 0:ac955d66b87c
File content as of revision 0:ac955d66b87c:
#include "KeyboardTsLcd.h" KeyboardTsLcd::KeyboardTsLcd (unsigned char _ucColumn) { pKeyboard = new KeyboardTs(_ucColumn); pLed = new LedLcd(_ucColumn); } void KeyboardTsLcd::eRead( void ) { switch(pKeyboard -> eRead()) { case BUTTON_0: pLed -> On(0); break; case BUTTON_1: pLed -> On(1); break; case BUTTON_2: pLed -> On(2); break; case BUTTON_3: pLed -> On(3); break; default : pLed -> On(4); break; } }