a
Dependencies: BSP_DISCO_F429ZI Keyboard_Ts1 LCD_DISCO_F429ZI Led_Lcd1 TS_DISCO_F429ZI mbed
main.cpp
- Committer:
- Dom952
- Date:
- 2016-04-23
- Revision:
- 1:08c60c168231
- Parent:
- 0:7e317e07d159
File content as of revision 1:08c60c168231:
#include "mbed.h" #include "Keyboard_Ts.h" #include "Led_Lcd.h" int main() { LedLcd Led(2); KeyboardTs Keyboard(2); while(1) { switch(Keyboard.eRead()) { case BUTTON_0: Led.On(0); break; case BUTTON_1: Led.On(1); break; case BUTTON_2: Led.On(2); break; case BUTTON_3: Led.On(3); break; default : Led.On(4); break; } wait(0.1); } }