
My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Diff: Screens/AutomaticControlScreen.hpp
- Revision:
- 14:5beb6b4850b7
- Child:
- 15:bc63b55a426d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Screens/AutomaticControlScreen.hpp Sun Oct 02 11:41:46 2016 +0200 @@ -0,0 +1,38 @@ +#ifndef AUTOMATIC_CONTROL_SCREEN_HPP +#define AUTOMATIC_CONTROL_SCREEN_HPP + +#include "Screen.hpp" + +class AutomaticControlScreen : public Screen +{ +public: + AutomaticControlScreen(int *nextScreen, float *xPos, float *yPos, int *Ts, bool *started, int *ballOnPlate, float *xSP, float *ySp) + + void Draw(); + void Process(); + +private: + Label _lbTitle; + Button _btBack; + Button _btSettings; + Button _btStart; + Button _btStop; + Button _btMore; + NumericLabel _nlbTs; + Graph _gXPos; + Graph _gYPos; + + + float *_xPos; + float *_yPos; + int *_Ts; + bool *_started; + int *_ballOnPlate; + float *_xSP; + float *_ySP; + + + + +}; +#endif