MBED part 1 final version
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
main.cpp
- Committer:
- rzeminska
- Date:
- 2020-05-09
- Revision:
- 0:04d5c5df5af6
File content as of revision 0:04d5c5df5af6:
#include "Keyboard_TsLcd.h" int main(){ KeyboardTsLcd Keyboard(0); LedLcd Lcd(2); while(1){ switch(Keyboard.eRead()){ case BUTTON_0: Lcd.On(3); break; case BUTTON_1: Lcd.On(2); break; case BUTTON_2: Lcd.On(1); break; case BUTTON_3: Lcd.On(0); break; default: Lcd.On(4); break; }; wait(0.1); } }