Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
raspberrypieman opened this issue Mar 4, 2024 · 1 comment

Comments

@raspberrypieman
Copy link

raspberrypieman commented Mar 4, 2024

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants