
vector
Dependencies: MBED1zadD2 mbed BSP_DISCO_F429ZI
Diff: main.cpp
- Revision:
- 2:f4852c55c418
- Parent:
- 0:a4ef65ad159f
--- a/main.cpp Mon May 25 13:41:17 2020 +0000 +++ b/main.cpp Mon Jun 15 12:27:46 2020 +0000 @@ -1,11 +1,12 @@ #include "mbed.h" -#include "KeyboardTsLcd.h" +#include "KeyboardLed.h" +#include "LCD_DISCO_F429ZI.h" - +LCD_DISCO_F429ZI LCD_Display; int main() { - KeyboardTsLcd LeftKeyboard(0); - LedLcd RightLed(2); + KeyboardLed LeftKeyboard(0); + Ledboard RightLed(2); while(1) { switch(LeftKeyboard.eRead()) { @@ -22,7 +23,7 @@ RightLed.On(0); break; default : - RightLed.On(4); + RightLed.Off(); break; } wait(0.1);