comparison Discovery/Inc/tInfo.h @ 1007:65d35e66efb9 GasConsumption

Improve compass calibration dialog: The previous calibration dialog showed some "magic" numbers and a 60 second count down. The new version is trying to guide the user through the calibration process: first rotate pitch, then roll and at last yaw angle. A step to the next angle is taken when enough data per angle is collected (change from red to green). To enable the yaw visualization a simple calibration is done while rotating the axis. The function behind the calibration was not modified => the suggested process can be ignored and the same handling as the with old dialog may be applied. With the new process the dialog may be left early. Anyhow it will still be left after 60 seconds and the fine calibration is performed in the same way as before.
author Ideenmodellierer
date Mon, 05 May 2025 21:02:34 +0200
parents 17d9d6eddd8d
children 5b913cdaa9dc
comparison
equal deleted inserted replaced
1006:75f958ca5d0e 1007:65d35e66efb9
58 void tInfo_write_field_on_off(uint32_t editID, uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font, const char *text, uint8_t int1); 58 void tInfo_write_field_on_off(uint32_t editID, uint16_t XleftGimpStyle, uint16_t XrightGimpStyle, uint16_t YtopGimpStyle, const tFont *Font, const char *text, uint8_t int1);
59 59
60 void tInfo_write_buttonTextline(GFX_DrawCfgScreen *screenPtr, uint8_t left2ByteCode, char middle2ByteCode, char right2ByteCode); 60 void tInfo_write_buttonTextline(GFX_DrawCfgScreen *screenPtr, uint8_t left2ByteCode, char middle2ByteCode, char right2ByteCode);
61 void tInfo_write_buttonTextline_simple(uint8_t left2ByteCode, char middle2ByteCode, char right2ByteCode); 61 void tInfo_write_buttonTextline_simple(uint8_t left2ByteCode, char middle2ByteCode, char right2ByteCode);
62 62
63 void tInfo_drawPixel(int16_t x, int16_t y, uint8_t color);
64 void tInfo_draw_colorline(point_t start, point_t stop, uint8_t color);
65 void t_Info_draw_circle(point_t center, uint8_t radius, int8_t color);
66
63 void tInfo_setEvent(uint32_t inputEventID, uint32_t inputFunctionCall); 67 void tInfo_setEvent(uint32_t inputEventID, uint32_t inputFunctionCall);
64 68
65 void tInfo_set_on_off(uint32_t editID, uint8_t int1); 69 void tInfo_set_on_off(uint32_t editID, uint8_t int1);
66 void exitInfo(void); 70 void exitInfo(void);
67 void exitInfoToBack(void); 71 void exitInfoToBack(void);