ESP8266+OLED screen realizes weather forecast + temperature display + NTP time synchronization 6 screens with Chinese display V8.8
ESP8266 Weather Clock
Release Notes:
- 1. Adjust the meteorological text will be
WeatherStationFonts.h
modified intoReadme.h
the original font placed ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays folderOLEDDisplayFonts.h
in . - 2. The original judgment that the three-day forecast weather acquisition fails, there will be an endless loop of restarting repeated acquisitions, so the original judgment if (condition && condition||condition) is changed to the original if (condition && condition) to remove the short circuit or Logical judgment.
Project compilation screenshot:
功能:字体说明
具体字体存放在ESP8266_and_ESP32_OLED_driver_for_SSD1306_displays库文件夹下的OLEDDisplayFonts.h里面
入想自己修改字体可以通过:http://oleddisplay.squix.ch/#/home
在线生成自己喜爱的字体添加到OLEDDisplayFonts.h中即可在程序中调用,
注意存放时需要修改数据类型,原const char --> const uint8_t
气象图标字体3种:(0.96屏幕选择21比较合适,1.3寸屏幕可以选择更大的字体36或者40)
Meteocons_Plain_21
Meteocons_Plain_36
Meteocons_Plain_40
字符显示字体5种:
ArialMT_Plain_10
ArialMT_Plain_12
ArialMT_Plain_14
ArialMT_Plain_16
ArialMT_Plain_24