Chart geht schon fast

This commit is contained in:
rxf
2024-07-07 15:33:47 +02:00
parent 87eb2a30d4
commit b1be91b52f
6 changed files with 125 additions and 26 deletions

View File

@@ -40,7 +40,7 @@ typedef struct {
#ifdef MAIN
ARC arcTemp = {NULL, "temp", 30, 0, 110, 30.0, "%.1f", "°C", 10, 30, 20, 25};
ARC arcHum = {NULL, "humi", 180, 0, 110, 60.0, "%.0f", "%",0, 100, 50, 70};
ARC arcHum = {NULL, "humi", 180, 0, 110, 60.0, "%.0f", "%",0, 100, 65, 70};
#else
extern ARC arcTemp;
extern ARC arcHum;
@@ -50,6 +50,9 @@ extern ARC arcHum;
void setup_grafik(void);
void lv_create_main_gui(void);
void setValuetoArc(ARC arc, float value);
void drawChart();
void updatechartData(float value, float value_hum);
#endif