initial commit [141.14.129.234,mike]
This commit is contained in:
commit
80dedb840f
22 files changed
+1723
No files matched your search
@@ -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
|
||||
};
|
||||
Reference in new issue
Block a user