
mbed_1 - last program
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Diff: main.cpp
- Revision:
- 0:f3da1afb14d9
- Child:
- 2:39601122cf74
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun May 10 14:31:55 2020 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "KeyboardTsLcd.h" + +int main(){ + + KeyboardTsLcd Keyboard(0); + KeyboardTsLcd LedLcd(2); + + while(1){ + Keyboard.eRead(); + wait(0.1); + LedLcd.pLed -> On(3 - Keyboard.pKeyboard -> eRead()); + wait(0.1); + } +} \ No newline at end of file