initial commit [141.14.129.234,mike]

This commit is contained in:
mike committed 2026-10-13 19:55:01 +02:00
commit 80dedb840f
22 files changed
+1723

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
// Stündliche Vorhersage für das Meteogramm, wie sie von Open-Meteo abgerufen wird.
#pragma once
#include <stdint.h>
const int METEOGRAM_DAYS = 3;
const int METEOGRAM_HOURS = METEOGRAM_DAYS * 24; // ab heute 0 Uhr
struct Meteogram {
char start[11]; // Datum der ersten Stunde, "2026-10-04"
char time[17]; // Ortszeit der aktuellen Werte, "2026-10-04T14:15"
float temperature[METEOGRAM_HOURS];
float precipitation[METEOGRAM_HOURS]; // mm pro Stunde
uint8_t rainProbability[METEOGRAM_HOURS]; // Prozent
};