AGH UST mbed part 3
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
main.cpp
- Committer:
- matis755
- Date:
- 2020-05-09
- Revision:
- 1:36b3fd4a01fd
- Parent:
- 0:f4a48c08fea7
- Child:
- 2:db40a2b0b177
File content as of revision 1:36b3fd4a01fd:
#include "Keyboard_Ts_Lcd.h" int main() { KeyboardTsLcd Keyboard(0); LedLcd Led(2); while(1) { switch(Keyboard.eRead()) { case BUTTON_0: Led.On(3); break; case BUTTON_1: Led.On(2); break; case BUTTON_2: Led.On(1); break; case BUTTON_3: Led.On(0); break; default : Led.On(4); break; } wait(0.1); } }