My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Screens/AutomaticControlScreen.hpp@62:58e846621435, 2016-10-26 (annotated)
- Committer:
- Generic
- Date:
- Wed Oct 26 10:40:54 2016 +0000
- Revision:
- 62:58e846621435
- Parent:
- 17:3b6d66253c97
Firmware
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 1 | #ifndef AUTOMATIC_CONTROL_SCREEN_HPP |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 2 | #define AUTOMATIC_CONTROL_SCREEN_HPP |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 3 | |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 4 | #include "Screen.hpp" |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 5 | |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 6 | class AutomaticControlScreen : public Screen |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 7 | { |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 8 | public: |
Generic | 15:bc63b55a426d | 9 | AutomaticControlScreen(int *nextScreen, float *xPos, float *yPos, int *Ts, bool *started, int *ballOnPlate, float *xSP, float *ySP); |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 10 | |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 11 | void Draw(); |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 12 | void Process(); |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 13 | |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 14 | private: |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 15 | Label _lbTitle; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 16 | Button _btBack; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 17 | Button _btSettings; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 18 | Button _btStart; |
Generic | 17:3b6d66253c97 | 19 | Button _btStop; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 20 | Button _btMore; |
Generic | 15:bc63b55a426d | 21 | NumericLabel<int> _nlbTs; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 22 | Graph _gXPos; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 23 | Graph _gYPos; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 24 | |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 25 | |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 26 | float *_xPos; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 27 | float *_yPos; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 28 | int *_Ts; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 29 | bool *_started; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 30 | int *_ballOnPlate; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 31 | float *_xSP; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 32 | float *_ySP; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 33 | }; |
Kerneels Bezuidenhout |
14:5beb6b4850b7 | 34 | #endif |