This is part of the error report.
"Compile" is stuck at Line 621 drawLabelValue(9, etc)
Arduino: 1.8.16 (Mac OS X), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:3MB OTA:~512KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"
/Users/ebwijkstra/Documents/Arduino/Libraries/esp8266-weather-station-color/esp8266-weather-station-color/esp8266-weather-station-color.ino: In function 'void connectWifi()':
esp8266-weather-station-color:130:7: error: 'WiFi' was not declared in this scope
130 | if (WiFi.status() == WL_CONNECTED) return;
| ^~~~
esp8266-weather-station-color:130:24: error: 'WL_CONNECTED' was not declared in this scope
130 | if (WiFi.status() == WL_CONNECTED) return;
| ^~~~~~~~~~~~
esp8266-weather-station-color:133:3: error: 'WiFi' was not declared in this scope
133 | WiFi.disconnect();
| ^~~~
esp8266-weather-station-color:134:13: error: 'WIFI_STA' was not declared in this scope; did you mean 'WIFI_SSID'?
134 | WiFi.mode(WIFI_STA);
| ^~~~~~~~
| WIFI_SSID
esp8266-weather-station-color:138:27: error: 'WL_CONNECTED' was not declared in this scope
138 | while (WiFi.status() != WL_CONNECTED) {
| ^~~~~~~~~~~~
/Users/ebwijkstra/Documents/Arduino/Libraries/esp8266-weather-station-color/esp8266-weather-station-color/esp8266-weather-station-color.ino: In function 'int8_t getWifiQuality()':
esp8266-weather-station-color:521:17: error: 'WiFi' was not declared in this scope
521 | int32_t dbm = WiFi.RSSI();
| ^~~~
/Users/ebwijkstra/Documents/Arduino/Libraries/esp8266-weather-station-color/esp8266-weather-station-color/esp8266-weather-station-color.ino: In function 'void drawAbout()':
esp8266-weather-station-color:621:46: error: 'WiFi' was not declared in this scope
621 | drawLabelValue(9, "WiFi Strength:", String(WiFi.RSSI()) + "dB");
| ^~~~
Multiple libraries were found for "WiFiClient.h"
Used: /Users/ebwijkstra/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi
Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Using library esp8266-weather-station-color in folder: /Users/ebwijkstra/Documents/Arduino/libraries/esp8266-weather-station-color (legacy)
Using library SPI at version 1.0 in folder: /Users/ebwijkstra/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/SPI
Using library ThingPulse_XPT2046_Touch at version 1.4 in folder: /Users/ebwijkstra/Documents/Arduino/libraries/ThingPulse_XPT2046_Touch
Using library Json_Streaming_Parser at version 1.0.5 in folder: /Users/ebwijkstra/Documents/Arduino/libraries/Json_Streaming_Parser
Using library ESP8266_Weather_Station at version 2.0.1 in folder: /Users/ebwijkstra/Documents/Arduino/libraries/ESP8266_Weather_Station
Using library Mini_Grafx at version 1.2.5 in folder: /Users/ebwijkstra/Documents/Arduino/libraries/Mini_Grafx
Using library ESP8266WiFi at version 1.0 in folder: /Users/ebwijkstra/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266WiFi
exit status 1
'WiFi' was not declared in this scope
Any idea??
Kind regards,
Eb W.