Hintergrund-Farbe, Wertanzeige znd Version angepasst

This commit is contained in:
rxf
2024-07-11 23:22:24 +02:00
parent 68779b8f6a
commit 8414ceb404
3 changed files with 33 additions and 21 deletions

View File

@@ -26,9 +26,7 @@ typedef struct {
int highvalue;
int green;
int yellow;
lv_style_t style_arc;
lv_style_t style_label;
lv_style_t lv_style_value_label;
int value_offset;
} ARC;
@@ -39,8 +37,8 @@ typedef struct {
#ifdef MAIN
ARC arcTemp = {NULL, "temp", 40, -1, 110, 30.0, "%.1f", "°C", 10, 30, 20, 25};
ARC arcHum = {NULL, "humi", 170, -1, 110, 60.0, "%.0f", "%", 40, 100, 65, 70};
ARC arcTemp = {NULL, "temp", 40, -1, 110, 30.0, "%.1f°C", "°C", 10, 30, 20, 25, -11};
ARC arcHum = {NULL, "humi", 170, -1, 110, 60.0, "%.0f%%", "%", 40, 100, 65, 70, 2};
lv_obj_t * date_label;
lv_obj_t * time_label;
#else