Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI KEYBOARD_TS MBED BSP_DISCO_F429ZI
KeyboardTsLcd.cpp
- Committer:
- krzysiek99
- Date:
- 2020-05-08
- Revision:
- 1:53c866f28268
- Parent:
- 0:e989dd513005
File content as of revision 1:53c866f28268:
#include "KeyboardTsLcd.h" KeyboardTsLcd::KeyboardTsLcd(unsigned char ucColumn) { pKeyboard = new KeyboardTs(ucColumn); pLed = new LedLcd(ucColumn); } void KeyboardTsLcd::eRead() { 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; } }