Moon Late
Мастер
(2351)
1 месяц назад
Стрелочками ^ показаны ошибки. И текстом написано.
Например "'WIFi' was not declared in this scope, did you mean 'WiFi" означает, что WIFi нет такого слова. Вероятно, имели ввиду WiFi ? Тем более, что дальше то пишите именно WiFi.
Ну и так дальше. Объявляя указатель, написали passoword, а потом в функции пишите password - обычная ошибка невнимательности.
В общем, читайте внимательно, что пишите. Хотя, ардуинщики никогда ничего не учат и не читают, ни железо, ни софт. Они просто перебирают скетчи до тех пор, пока не заработает. Это беда 95% ардуинщиков
Alex GarmashУченик (157)
1 месяц назад
C:\Users\ALEX\Documents\Arduino\duck\duck.ino:84:22: error: invalid use of non-static member function 'wl_status_t ESP8266WiFiSTAClass::status()'
Alex GarmashУченик (157)
1 месяц назад
C:\Users\ALEX\Documents\Arduino\duck\duck.ino:83:3: error: 'WIFi' was not declared in this scope; did you mean 'WiFi'?
83 | WIFi.begin(ssid, password);
| ^~~~
| WiFi
C:\Users\ALEX\Documents\Arduino\duck\duck.ino:84:22: error: invalid use of non-static member function 'wl_status_t ESP8266WiFiSTAClass::status()'
84 | while (WiFi.status !=WL_CONNECTED) {delay(500);Serial.print(".");}
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from
c:\Users\ALEX\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:84:21: note: declared here
84 | wl_status_t status();
| ^~~~~~
Compilation error: 'WIFi' was not declared in this scope; did you mean 'WiFi'?
ошибка: