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: BSP_DISCO_F429ZI LCD_DISCO_F429ZI TS_DISCO_F429ZI mbed
KeyboardTsLcd.cpp
00001 00002 #include "KeyboardTsLcd.h" 00003 00004 KeyboardTsLcd::KeyboardTsLcd() 00005 { 00006 pKeyboard = new KeyboardTs(0); 00007 pLed = new LedLcd(0); 00008 00009 }; 00010 int KeyboardTsLcd::eRead (void) { 00011 switch(pKeyboard -> eRead()) { 00012 case LED_0: 00013 pLed -> On(0); 00014 return 2; 00015 case LED_1: 00016 pLed -> On(1); 00017 return 1; 00018 case LED_2: 00019 pLed -> On(2); 00020 return 0; 00021 00022 default: 00023 pLed -> On(4); 00024 return 4; 00025 } 00026 }; 00027
Generated on Sat Jul 23 2022 10:37:40 by
