X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/afdf338bb671cf6bdb1bd836fd68cf5ee30b614c..414a39ee4b909dbd7c891ce7a3bff90b75db866c:/weather_screen/weather_types.h diff --git a/weather_screen/weather_types.h b/weather_screen/weather_types.h new file mode 100644 index 0000000..6a49dff --- /dev/null +++ b/weather_screen/weather_types.h @@ -0,0 +1,26 @@ +typedef struct { // For current Day and Day 1, 2, 3, etc + int dt; + float temp; + float temp_min; + float temp_max; + float feels_like; + float feels_like_min; + float feels_like_max; + float pressure; + float humidity; + float clouds; + float wind_speed; + float wind_deg; + float rain; + float snow; + String description; + String icon; +} WeatherRecord; + +WeatherRecord CurrentWeather; + +#define MaxHourlyFC 48 +#define MaxDailyFC 7 +WeatherRecord HourlyForecasts[MaxHourlyFC]; +WeatherRecord DailyForecasts[MaxDailyFC]; +