
Mbed touchscreed project. To be corrected
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
main.cpp
- Committer:
- piotrlopata
- Date:
- 2020-05-08
- Revision:
- 1:55e05d2aa9cd
- Parent:
- 0:f8f35dda9f62
File content as of revision 1:55e05d2aa9cd:
#include "KeyboardTsLcd.h" int main() { KeyboardTsLcd Keyboard(0); KeyboardTsLcd Leds(2); while(1) { switch ( Keyboard.eRead() ) { case BUTTON_0: Leds.pLed->On(3); break; case BUTTON_1: Leds.pLed->On(2); break; case BUTTON_2: Leds.pLed->On(1); break; case BUTTON_3: Leds.pLed->On(0); break; default: Leds.pLed->On(4); break; } wait(0.1); } }