comparison Discovery/Inc/tStructure.h @ 845:17d9d6eddd8d Evo_2_23

Added new PreDiveCheck info page: In case a DiveO2 sensor is connected to the OSTC than the values of the DiveO2 internal pressure and temperature sensors may be used for predive checks. The pressure sensors is used for over / under pressure test and the values are visualized using a graph to make it easier to check if the pressure keeps stable. The temperature measurement gives an indication if the scrubber is getting active. This view is highly dependend on the surface temperature but may be useful e.g. for diving in european area. In addition the values ofthe connected sensors are shown.
author Ideenmodellierer
date Sun, 21 Jan 2024 22:24:36 +0100
parents 2a8af51ab04d
children 48b6a3b1f3f8
comparison
equal deleted inserted replaced
844:e04d7dd199fb 845:17d9d6eddd8d
63 #define MaskLineDigit _MB(7,15,0,255,0) 63 #define MaskLineDigit _MB(7,15,0,255,0)
64 #define InfoPageLogList 2 64 #define InfoPageLogList 2
65 #define InfoPageLogShow 3 65 #define InfoPageLogShow 3
66 #define InfoPageCompass 6 66 #define InfoPageCompass 6
67 #define InfoPageSensor 8 67 #define InfoPageSensor 8
68 #define InfoPagePreDive 9
68 69
69 #define StI _MB(0,1,0,0,0) 70 #define StI _MB(0,1,0,0,0)
70 #define StILOGLIST _MB(0,2,0,0,0) 71 #define StILOGLIST _MB(0,2,0,0,0)
71 #define StILOGSHOW _MB(0,3,0,0,0) 72 #define StILOGSHOW _MB(0,3,0,0,0)
72 #define StIDIVE _MB(0,4,0,0,0) 73 #define StIDIVE _MB(0,4,0,0,0)
73 #define StISIM _MB(0,5,0,0,0) 74 #define StISIM _MB(0,5,0,0,0)
74 #define StICOMPASS _MB(0,6,0,0,0) 75 #define StICOMPASS _MB(0,6,0,0,0)
75 #define StIDEBUG _MB(0,7,0,0,0) 76 #define StIDEBUG _MB(0,7,0,0,0)
76 #define StISENINFO _MB(0,8,0,0,0) 77 #define StISENINFO _MB(0,8,0,0,0)
78 #define StIPREDIVE _MB(0,9,0,0,0)
77 79
78 #define StI_GoToLogbook _MB(0,1,1,0,0) 80 #define StI_GoToLogbook _MB(0,1,1,0,0)
79 #define StI_GoToPlanner _MB(0,1,2,0,0) 81 #define StI_GoToPlanner _MB(0,1,2,0,0)
80 #define StI_StartSimulator _MB(0,1,3,0,0) 82 #define StI_StartSimulator _MB(0,1,3,0,0)
81 83
211 #define StMXTRA_O2_Fallback _MB(2,4,2,1,0) 213 #define StMXTRA_O2_Fallback _MB(2,4,2,1,0)
212 #define StMXTRA_ScrubTimer _MB(2,4,3,1,0) 214 #define StMXTRA_ScrubTimer _MB(2,4,3,1,0)
213 #define StMXTRA_ScrubTimer_Max _MB(2,4,3,2,0) 215 #define StMXTRA_ScrubTimer_Max _MB(2,4,3,2,0)
214 #define StMXTRA_ScrubTimer_Reset _MB(2,4,3,3,0) 216 #define StMXTRA_ScrubTimer_Reset _MB(2,4,3,3,0)
215 #define StMXTRA_ScrubTimer_OP_Mode _MB(2,4,3,5,0) 217 #define StMXTRA_ScrubTimer_OP_Mode _MB(2,4,3,5,0)
216
217 #define StMXTRA_PSCR_O2_Drop _MB(2,4,4,1,0) 218 #define StMXTRA_PSCR_O2_Drop _MB(2,4,4,1,0)
218 #define StMXTRA_PSCR_LUNG_RATIO _MB(2,4,4,2,0) 219 #define StMXTRA_PSCR_LUNG_RATIO _MB(2,4,4,2,0)
219 #define StMXTRA_CO2_Sensor _MB(2,4,5,1,0) 220 #define StMXTRA_Predive_Check _MB(2,4,5,1,0)
220 #define StMXTRA_CO2_Sensor_Calib _MB(2,4,5,2,0) 221
221 222
222 223
223 224
224 225
225 /* PAGE 5 */ 226 /* PAGE 5 */
338 #define StMSYS5_RebootMainCPU _MB(2,8,6,9,0) 339 #define StMSYS5_RebootMainCPU _MB(2,8,6,9,0)
339 #define StMSYS5_ScreenTest _MB(2,8,6,10,0) 340 #define StMSYS5_ScreenTest _MB(2,8,6,10,0)
340 #define StMSYS5_SetFactoryBC _MB(2,8,6,11,0) 341 #define StMSYS5_SetFactoryBC _MB(2,8,6,11,0)
341 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0) 342 #define StMSYS5_ResetBluetooth _MB(2,8,6,12,0)
342 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0) 343 #define StMSYS5_SetSampleIndx _MB(2,8,6,13,0)
344 #define StMSYS5_AdjustSurfPres _MB(2,8,6,14,0)
343 345
344 #define StMSYS_Custom0 _MB(2,8,1,0,0) 346 #define StMSYS_Custom0 _MB(2,8,1,0,0)
345 #define StMSYS_Custom1 _MB(2,8,2,0,0) 347 #define StMSYS_Custom1 _MB(2,8,2,0,0)
346 #define StMSYS_Custom2 _MB(2,8,3,0,0) 348 #define StMSYS_Custom2 _MB(2,8,3,0,0)
347 #define StMSYS_Custom3 _MB(2,8,4,0,0) 349 #define StMSYS_Custom3 _MB(2,8,4,0,0)