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:
- 52:c9e1974ae332
- Parent:
- 51:7760463a13d1
- Child:
- 62:58e846621435
--- a/Screens/ManualSetpointScreen.cpp Tue Oct 18 02:23:43 2016 +0200 +++ b/Screens/ManualSetpointScreen.cpp Tue Oct 18 02:27:25 2016 +0200 @@ -46,8 +46,8 @@ { _tpSetpoint.Update(); - *_ySP = floor(_tpSetpoint.GetX()); - *_xSP = floor(_tpSetpoint.GetY()); + *_ySP = -floor(_tpSetpoint.GetX()); + *_xSP = -floor(_tpSetpoint.GetY()); _nlbXSP.Draw("x (mm)=%.0f",*_xSP); _nlbYSP.Draw("y (mm)=%.0f",*_ySP); }