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:
- 32:d490f8ca6d2a
- Child:
- 34:0b308a399f72
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Screens/CalibrateScreen.hpp Mon Oct 03 15:55:55 2016 +0200 @@ -0,0 +1,26 @@ +#ifndef CALIBRATE_SCREEN_HPP +#define CALIBRATE_SCREEN_HPP + +#include "Screen.hpp" +#include "mbed.h" + +class CalibrateScreen : public Screen +{ +public: + CalibrateScreen(int *nextScreen, float (*t)[2] ); + + void Draw(); + void Process(); + +private: + Label _lbTitle; + Button _btBack; + Label _lbMessage; + + + float (*_t)[2]; + + static const float _HOLD_TIME = 5; + Timer _holdTimer; +}; +#endif