-
Notifications
You must be signed in to change notification settings - Fork 17
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
Example is not working with problem Wifi connect issue #8
Comments
I have solved this by creating my own lib |
I solved previous issue (min & max).. but i have a problem with wifi issue below..
Do you know anything about this?
error message:
C:\Users\Desktop\AppData\Local\Temp\arduino_modified_sketch_324642\tello_example.ino: In function 'void connectToWiFi(const char*, const char*)':
tello_example:53:24: error: no matching function for call to 'WiFiClass::disconnect(bool)'
WiFi.disconnect(false);
In file included from C:\Users\Desktop\Desktop\arduino-1.8.13-windows\arduino-1.8.13\libraries\tello/Tello.h:12:0,
C:\Users\Desktop\Desktop\arduino-1.8.13-windows\arduino-1.8.13\libraries\WiFi\src/WiFi.h:130:9: note: candidate: int WiFiClass::disconnect()
C:\Users\Desktop\Desktop\arduino-1.8.13-windows\arduino-1.8.13\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);
C:\Users\Desktop\AppData\Local\Temp\arduino_modified_sketch_324642\tello_example.ino:55:16: note: suggested alternative: 'WiFiClient'
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\Desktop\Desktop\arduino-1.8.13-windows\arduino-1.8.13\libraries\tello/Tello.h:12:0,
C:\Users\Desktop\Desktop\arduino-1.8.13-windows\arduino-1.8.13\libraries\WiFi\src/WiFi.h:79:9: note: initializing argument 1 of 'int WiFiClass::begin(char*, const char*)'
C:\Users\Desktop\AppData\Local\Temp\arduino_modified_sketch_324642\tello_example.ino: At global scope:
tello_example:64:3: error: expected unqualified-id before 'switch'
switch (event)
^~~~~~
tello_example:80:1: error: expected declaration before '}' token
}
^
exit status 1
no matching function for call to 'WiFiClass::disconnect(bool)'
The text was updated successfully, but these errors were encountered: