Thank you for the reply and help @ansonhe97 and @Baozhu.
I have 1.7.2 installed. I followed your steps and opened the WiFiScan example and received this error.
Arduino: 1.8.12 (Mac OS X), Board: “Seeeduino Wio Terminal, Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off”
In file included from /Users/mohamed/Documents/Arduino/libraries/Seeed_Arduino_atWiFi/examples/WiFiScan/WiFiScan.ino:6:0:
/Users/mohamed/Documents/Arduino/libraries/Seeed_Arduino_atWiFi/src/AtWiFi.h:1:1: error: ‘WiFi’ does not name a type
WiFi.h
^
/Users/mohamed/Documents/Arduino/libraries/Seeed_Arduino_atWiFi/examples/WiFiScan/WiFiScan.ino: In function ‘void setup()’:
WiFiScan:12:5: error: ‘WiFi’ was not declared in this scope
WiFi.mode(WIFI_STA);
^
WiFiScan:12:15: error: ‘WIFI_STA’ was not declared in this scope
WiFi.mode(WIFI_STA);
^
/Users/mohamed/Documents/Arduino/libraries/Seeed_Arduino_atWiFi/examples/WiFiScan/WiFiScan.ino: In function ‘void loop()’:
WiFiScan:23:13: error: ‘WiFi’ was not declared in this scope
int n = WiFi.scanNetworks();
^
WiFiScan:38:55: error: ‘WIFI_AUTH_OPEN’ was not declared in this scope
Serial.println((WiFi.encryptionType(i) == WIFI_AUTH_OPEN) ? " " : “*”);
^
exit status 1
‘WiFi’ was not declared in this scopeThis report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.