My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Screens/AutomaticSettingsScreen.hpp@62:58e846621435, 2016-10-26 (annotated)
- Committer:
- Generic
- Date:
- Wed Oct 26 10:40:54 2016 +0000
- Revision:
- 62:58e846621435
- Parent:
- 23:bab197887d5e
Firmware
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kerneels Bezuidenhout |
22:dd9ff475b34c | 1 | #ifndef AUTOMATIC_SETTINGS_SCREEN_HPP |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 2 | #define AUTOMATIC_SETTINGS_SCREEN_HPP |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 3 | |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 4 | #include "Screen.hpp" |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 5 | |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 6 | class AutomaticSettingsScreen : public Screen |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 7 | { |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 8 | public: |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 9 | AutomaticSettingsScreen(int *nextScreen, float *P, float *I, float *D, float *Ts); |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 10 | |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 11 | void Draw(); |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 12 | void Process(); |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 13 | |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 14 | private: |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 15 | Label _lbTitle; |
Generic | 23:bab197887d5e | 16 | Button _btBack; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 17 | NumericLabel<float> _nlbP; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 18 | Button _btP; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 19 | NumericLabel<float> _nlbI; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 20 | Button _btI; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 21 | NumericLabel<float> _nlbD; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 22 | Button _btD; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 23 | NumericLabel<float> _nlbTs; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 24 | Button _btTs; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 25 | |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 26 | float *_P; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 27 | float *_I; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 28 | float *_D; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 29 | float *_Ts; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 30 | }; |
Kerneels Bezuidenhout |
22:dd9ff475b34c | 31 | #endif |