projects
/
weathermon.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
4.2in E-Paper 3-color weather screen
[weathermon.git]
/
weather_screen
/
weather_types.h
1
typedef struct { // For current Day and Day 1, 2, 3, etc
2
int dt;
3
float temp;
4
float temp_min;
5
float temp_max;
6
float feels_like;
7
float feels_like_min;
8
float feels_like_max;
9
float pressure;
10
float humidity;
11
float clouds;
12
float wind_speed;
13
float wind_deg;
14
float rain;
15
float snow;
16
String description;
17
String icon;
18
} WeatherRecord;
19
20
WeatherRecord CurrentWeather;
21
22
#define MaxHourlyFC 48
23
#define MaxDailyFC 7
24
WeatherRecord HourlyForecasts[MaxHourlyFC];
25
WeatherRecord DailyForecasts[MaxDailyFC];
26