
MTM PPO mbed2d-2 program
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
Diff: main.cpp
- Revision:
- 0:528c126a5ac9
- Child:
- 1:3f9eb24c51b2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun May 10 20:47:57 2020 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "Keyboard_Ts_Lcd.h" + +int main() +{ + KeyboardTsLcd LedKeyboard(2); + KeyboardTsLcd TouchKeyboard(0); + while(1) + { + TouchKeyboard.eRead(); + wait(0.005); + LedKeyboard.pLed->On(3 - TouchKeyboard.pKeyboard->eRead()); + wait(0.095); + } +} \ No newline at end of file