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 BSP_DISCO_F429ZI
KeyboardTsLcd.cpp
00001 #include "KeyboardTsLcd.h" 00002 00003 KeyboardTsLcd::KeyboardTsLcd(unsigned char ucColumnNr){ 00004 pKeyboard = new KeyboardTs(ucColumnNr); 00005 pLed = new LedLcd(ucColumnNr); 00006 } 00007 00008 void KeyboardTsLcd::eRead(void){ 00009 switch(pKeyboard -> eRead()){ 00010 case BUTTON_0: 00011 pLed -> On(0); 00012 break; 00013 case BUTTON_1: 00014 pLed -> On(1); 00015 break; 00016 case BUTTON_2: 00017 pLed -> On(2); 00018 break; 00019 case BUTTON_3: 00020 pLed -> On(3); 00021 break; 00022 default: 00023 pLed -> On(4); 00024 break; 00025 } 00026 }
Generated on Sun Jul 24 2022 01:31:24 by
1.7.2