I have this error, any solution? im begginer
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
tello_example:64:16: error: variable or field 'WiFiEvent' declared void
void WiFiEvent(WiFiEvent_t event)
tello_example:64:16: error: 'WiFiEvent_t' was not declared in this scope
C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino: In function 'void connectToWiFi(const char*, const char*)':
tello_example:53:23: error: no matching function for call to 'WiFiClass::disconnect(bool)'
WiFi.disconnect(true);
C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino:53:23: note: candidate is:
In file included from C:\Users\neuro\Documents\Arduino\libraries\tello/Tello.h:12:0,
from C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino:1:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:130:9: note: int WiFiClass::disconnect()
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:130:9: note: candidate expects 0 arguments, 1 provided
tello_example:55:8: error: 'class WiFiClass' has no member named 'onEvent'
WiFi.onEvent(WiFiEvent);
tello_example:55:16: error: 'WiFiEvent' was not declared in this scope
WiFi.onEvent(WiFiEvent);
tello_example:58:23: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
WiFi.begin(ssid, pwd);
In file included from C:\Users\neuro\Documents\Arduino\libraries\tello/Tello.h:12:0,
from C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino:1:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:79:9: error: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)' [-fpermissive]
int begin(char* ssid, const char *passphrase);
^
C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino: At global scope:
tello_example:64:16: error: variable or field 'WiFiEvent' declared void
void WiFiEvent(WiFiEvent_t event)
tello_example:64:16: error: 'WiFiEvent_t' was not declared in this scope
exit status 1
variable or field 'WiFiEvent' declared void
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I have this error, any solution? im begginer
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
tello_example:64:16: error: variable or field 'WiFiEvent' declared void
void WiFiEvent(WiFiEvent_t event)
tello_example:64:16: error: 'WiFiEvent_t' was not declared in this scope
C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino: In function 'void connectToWiFi(const char*, const char*)':
tello_example:53:23: error: no matching function for call to 'WiFiClass::disconnect(bool)'
WiFi.disconnect(true);
C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino:53:23: note: candidate is:
In file included from C:\Users\neuro\Documents\Arduino\libraries\tello/Tello.h:12:0,
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:130:9: note: int WiFiClass::disconnect()
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:130:9: note: candidate expects 0 arguments, 1 provided
tello_example:55:8: error: 'class WiFiClass' has no member named 'onEvent'
WiFi.onEvent(WiFiEvent);
tello_example:55:16: error: 'WiFiEvent' was not declared in this scope
WiFi.onEvent(WiFiEvent);
tello_example:58:23: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
WiFi.begin(ssid, pwd);
In file included from C:\Users\neuro\Documents\Arduino\libraries\tello/Tello.h:12:0,
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:79:9: error: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)' [-fpermissive]
C:\Users\neuro\Downloads\telloArduino-master\telloArduino-master\tello_example\tello_example.ino: At global scope:
tello_example:64:16: error: variable or field 'WiFiEvent' declared void
void WiFiEvent(WiFiEvent_t event)
tello_example:64:16: error: 'WiFiEvent_t' was not declared in this scope
exit status 1
variable or field 'WiFiEvent' declared void
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.