
My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Diff: Screens/MainMenuScreen.cpp
- Revision:
- 15:bc63b55a426d
- Parent:
- 10:cd8b61305ad6
--- a/Screens/MainMenuScreen.cpp Sun Oct 02 11:41:46 2016 +0200 +++ b/Screens/MainMenuScreen.cpp Sun Oct 02 09:54:14 2016 +0000 @@ -12,6 +12,7 @@ void MainMenuScreen::Draw() { + Clear(); _lbTitle.Draw(); _btAutomatic.Draw(); _btManual.Draw(); @@ -26,4 +27,7 @@ if( _btManual.Touched() ) *_nextScreen = MANUAL_CONTROL_SCREEN; + if( _btAutomatic.Touched() ) + *_nextScreen = AUTOMATIC_CONTROL_SCREEN; + }