My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Diff: Screens/CalibrateScreen.hpp
- Revision:
- 34:0b308a399f72
- Parent:
- 32:d490f8ca6d2a
- Child:
- 35:6baa558d3b86
--- a/Screens/CalibrateScreen.hpp Mon Oct 03 14:11:07 2016 +0000 +++ b/Screens/CalibrateScreen.hpp Mon Oct 03 16:21:01 2016 +0200 @@ -7,7 +7,7 @@ class CalibrateScreen : public Screen { public: - CalibrateScreen(int *nextScreen, float (*t)[2] ); + CalibrateScreen(int *nextScreen, float (*t)[2], int *ballOnPlate); void Draw(); void Process(); @@ -19,8 +19,11 @@ float (*_t)[2]; + int *_ballOnPlate; static const float _HOLD_TIME = 5; + + Timer _holdTimer; }; #endif