Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Diff: Screens/AutomaticMoreScreen.cpp
- Revision:
- 54:75dc5c3b7cfc
- Parent:
- 20:70c5b1e499f0
- Child:
- 55:d1a00f344351
--- a/Screens/AutomaticMoreScreen.cpp Tue Oct 18 02:34:48 2016 +0200
+++ b/Screens/AutomaticMoreScreen.cpp Wed Oct 19 19:53:19 2016 +0200
@@ -4,7 +4,8 @@
Screen(),
_lbTitle( SCREEN_W/2, 0, "More", Label::CENTER, Font24),
_btBack(0,SCREEN_H-30,100,30,"Back"),
- _btManualSP(0, 27, SCREEN_W, 30, "Manual Tracking")
+ _btManualSP(0, 27, SCREEN_W, 30, "Manual Tracking"),
+ _btSquare(0,27+35, SCREEN_W, 30, "Square")
{
_nextScreen = nextScreen;
}
@@ -26,4 +27,9 @@
{
*_nextScreen = MANUAL_SETPOINT_SCREEN;
}
+
+ if( _btSquare.Touched() )
+ {
+ *_nextScreen = SQUARE_SCREEN;
+ }
}