
MTM PPO mbed2d-2 program
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
main.cpp
- Committer:
- paweler
- Date:
- 2020-05-11
- Revision:
- 1:3f9eb24c51b2
- Parent:
- 0:528c126a5ac9
- Child:
- 2:ce9137eb0655
File content as of revision 1:3f9eb24c51b2:
#include "mbed.h" #include "Keyboard_Ts_Lcd.h" int main() { KeyboardTsLcd TouchKeyboard(0); KeyboardTsLcd LedKeyboard(2); while(1) { TouchKeyboard.eRead(); wait(0.005); LedKeyboard.pLed->On(3 - TouchKeyboard.pKeyboard->eRead()); wait(0.095); } }