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
main.cpp
- Committer:
- wkierepka
- Date:
- 2020-06-01
- Revision:
- 0:5a62c1cece88
File content as of revision 0:5a62c1cece88:
#include "mbed.h" #include "KeyboardTsLcd.h" int main() { KeyboardTsLcd Keyboard(0); LedLcd Led (2); while(1) { switch(Keyboard.eRead()) { case BUTTON_0: Led.On(3); break; case BUTTON_1: Led.On(2); break; case BUTTON_2: Led.On(1); break; case BUTTON_3: Led.On(0); break; default : Led.On(4); break; } wait(0.1); } }