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: MBED1zadD2 mbed BSP_DISCO_F429ZI
main.cpp
00001 #include "mbed.h" 00002 #include "KeyboardTsLcd.h" 00003 00004 00005 00006 int main() { 00007 KeyboardTsLcd LeftKeyboard(0); 00008 LedLcd RightLed(2); 00009 00010 while(1) { 00011 switch(LeftKeyboard.eRead()) { 00012 case BUTTON_0: 00013 RightLed.On(3); 00014 break; 00015 case BUTTON_1: 00016 RightLed.On(2); 00017 break; 00018 case BUTTON_2: 00019 RightLed.On(1); 00020 break; 00021 case BUTTON_3: 00022 RightLed.On(0); 00023 break; 00024 default : 00025 RightLed.On(4); 00026 break; 00027 } 00028 wait(0.1); 00029 } 00030 }
Generated on Fri Jul 15 2022 15:56:12 by
1.7.2