comparison Discovery/Inc/tStructure.h @ 539:d784f281833a

Added inertia simulation for compass heading: In previous version calculated compass values were directly used for visualization of the compass. This causes a fast changing (jumping) of values. With the inertia introduction the compass behalfs more like an analog compass. The final value is reached slowly and the displayed values are more stable. For configuration a new menu item has been added to the compass menu allowing to switch inertia off (default), small and large inertia simulation
author Ideenmodellierer
date Sat, 10 Oct 2020 16:59:18 +0200
parents 1721b26335f1
children 6fbf7cd391cb
comparison
equal deleted inserted replaced
538:b1eee27cd02b 539:d784f281833a
236 #define StMHARD1_Bluetooth _MB(2,7,1,1,0) 236 #define StMHARD1_Bluetooth _MB(2,7,1,1,0)
237 237
238 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0) 238 #define StMHARD2_Compass_SetCourse _MB(2,7,2,2,0)
239 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0) 239 #define StMHARD2_Compass_ResetCourse _MB(2,7,2,3,0)
240 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0) 240 #define StMHARD2_Compass_Calibrate _MB(2,7,2,4,0)
241 #define StMHARD2_Compass_Inertia _MB(2,7,2,5,0)
241 242
242 //#define StMHARD2_Exit _MB(2,7,2,2,0) 243 //#define StMHARD2_Exit _MB(2,7,2,2,0)
243 244
244 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0) 245 #define StMHARD3_O2_Sensor1 _MB(2,7,3,1,0)
245 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0) 246 #define StMHARD3_O2_Sensor2 _MB(2,7,3,2,0)
249 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0) 250 #define StMHARD4_BrightnessEco _MB(2,7,4,1,0)
250 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0) 251 #define StMHARD4_BrightnessStd _MB(2,7,4,2,0)
251 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0) 252 #define StMHARD4_BrightnessHigh _MB(2,7,4,3,0)
252 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0) 253 #define StMHARD4_BrightnessMax _MB(2,7,4,4,0)
253 254
254 #define StMHARD5_Button1 _MB(2,7,5,1,0) 255 #define StMHARD5_Button1 _MB(2,7,5,1,0)
255 #define StMHARD5_ButtonBalance1 _MB(2,7,5,2,0) 256 #define StMHARD5_ButtonBalance1 _MB(2,7,5,2,0)
256 #define StMHARD5_ButtonBalance2 _MB(2,7,5,3,0) 257 #define StMHARD5_ButtonBalance2 _MB(2,7,5,3,0)
257 #define StMHARD5_ButtonBalance3 _MB(2,7,5,4,0) 258 #define StMHARD5_ButtonBalance3 _MB(2,7,5,4,0)
258 259
259 //#define StMHARD6_UpdateCPU2_No _MB(2,7,6,1,0) 260 //#define StMHARD6_UpdateCPU2_No _MB(2,7,6,1,0)