Freenove / Freenove_4WD_Car_Kit_for_Raspberry_Pi_Pico

Apply to FNK0089
4 stars 8 forks source link

Compiling Freenove_4WD_Car_WiFi.cpp - error -'class WiFiClass' has no member named 'mode' #3

Open raspberrypieman opened 4 months ago

raspberrypieman commented 4 months ago

I am using Arduino 1.8.11 on WIndows/10 and am compiling Freenove_4WD "Ordinary_wheels" 06.2_Multi_Functional_Car.ino. The compilation fails on the Freenove_4WD_Car_WiFi.cpp module, on line 24: WiFi.mode(WIFI_AP_STA); 'class WiFiClass' has no member named 'mode'

I presume that Arduino is not picking up the correct version of the Wifi library ? Can you please help me locate the correct library, so that I can compile this application, without error?

The target is a Raspberry Pi PicoW. Prior to compiling, I updated the Libraries and the Board Manager.

Shaynee-MO commented 3 months ago

Please install the latest Raspberry Pi package and try again. image