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/ManualSetpointScreen.cpp
- Revision:
- 23:bab197887d5e
- Parent:
- 22:dd9ff475b34c
- Child:
- 26:f57db8d6d79e
--- a/Screens/ManualSetpointScreen.cpp Mon Oct 03 00:31:36 2016 +0200 +++ b/Screens/ManualSetpointScreen.cpp Mon Oct 03 00:58:51 2016 +0000 @@ -48,8 +48,8 @@ *_xSP = floor(_tpSetpoint.GetX()); *_ySP = floor(_tpSetpoint.GetY()); - _nlbXSP.Draw("x (mm)=%.0f",*xSP),); - _nlbYSP.Draw("y (mm)=%.0f",*ySP),); + _nlbXSP.Draw("x (mm)=%.0f",*_xSP); + _nlbYSP.Draw("y (mm)=%.0f",*_ySP); } if( _btReset.Touched() ) @@ -59,8 +59,8 @@ *_xSP = floor(_tpSetpoint.GetX()); *_ySP = floor(_tpSetpoint.GetY()); - _nlbXSP.Draw("x (mm)=%.0f",*xSP),); - _nlbYSP.Draw("y (mm)=%.0f",*ySP),); + _nlbXSP.Draw("x (mm)=%.0f",*_xSP); + _nlbYSP.Draw("y (mm)=%.0f",*_ySP); } if( _btStart.IsActive() ) @@ -93,8 +93,8 @@ { if( !_btStop.IsActive() ) { - _btSta.Activate(); - _btStart.Drwa(0xFF00FF00); + _btStart.Activate(); + _btStart.Draw(0xFF00FF00); } }