Started a gui menuflow
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI BSP_DISCO_F429ZI
main.h@3:b029a3f73a9e, 2020-06-11 (annotated)
- Committer:
- ahaas92
- Date:
- Thu Jun 11 22:55:06 2020 +0000
- Revision:
- 3:b029a3f73a9e
Init of gui structure ;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ahaas92 | 3:b029a3f73a9e | 1 | #ifndef __MAIN_H |
ahaas92 | 3:b029a3f73a9e | 2 | #define __MAIN_H |
ahaas92 | 3:b029a3f73a9e | 3 | #ifdef TARGET_DISCO_F429ZI |
ahaas92 | 3:b029a3f73a9e | 4 | #include "TS_DISCO_F429ZI.h" |
ahaas92 | 3:b029a3f73a9e | 5 | #include "LCD_DISCO_F429ZI.h" |
ahaas92 | 3:b029a3f73a9e | 6 | #include "Screens.h" |
ahaas92 | 3:b029a3f73a9e | 7 | |
ahaas92 | 3:b029a3f73a9e | 8 | /*******************************Variables**************************/ |
ahaas92 | 3:b029a3f73a9e | 9 | extern ScreenState display_screen; // Screen State Variable |
ahaas92 | 3:b029a3f73a9e | 10 | extern uint16_t setPressure ; // Pressure Setting |
ahaas92 | 3:b029a3f73a9e | 11 | extern Ticker ts_service; |
ahaas92 | 3:b029a3f73a9e | 12 | extern TS_DISCO_F429ZI ts; |
ahaas92 | 3:b029a3f73a9e | 13 | |
ahaas92 | 3:b029a3f73a9e | 14 | #else |
ahaas92 | 3:b029a3f73a9e | 15 | #error "This class must be used with DISCO_F429ZI board only." |
ahaas92 | 3:b029a3f73a9e | 16 | #endif // TARGET_DISCO_F429ZI |
ahaas92 | 3:b029a3f73a9e | 17 | |
ahaas92 | 3:b029a3f73a9e | 18 | #endif |