Simple Weather Service - code cleaning and improvements

Add missing icons (heavy clouds, thunderstorm, snow).
Remove unneeded comparison operator (!=), improve conversion of Timestamp and MessageType, order includes.
Fix typo in documentation.
Remove not related change in StopWatch.
This commit is contained in:
Jean-François Milants
2023-12-18 18:07:36 +01:00
committed by JF
parent fe4b07c610
commit 3a8c7dc038
7 changed files with 28 additions and 37 deletions

View File

@@ -40,8 +40,8 @@ The byte array must contain the following data:
- 4 = Clouds & rain
- 5 = Rain
- 6 = Thunderstorm
- 7 = snow
- 8 = mist, smog
- 7 = Snow
- 8 = Mist, smog
### Forecast
@@ -65,4 +65,4 @@ The byte array must contain the following data:
- [22] Day 3 Icon ID
- [23] Day 4 Minimum temperature
- [24] Day 4 Maximum temperature
- [25] Day 4 Incon ID
- [25] Day 4 Icon ID