Skip to content

Commit

Permalink
Add connect_to_wifi.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tariq Abusheikh committed Dec 5, 2019
1 parent 8faf8de commit 1c5e968
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions connect_to_wifi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from fly_tello import FlyTello

#
# Sets the drone up to use the same WiFi network.
#
# Before running this file, you need to connect directly to the Tello EDU's ad-hoc network.
# This only needs to be run once per drone, or if the drone is reset.
#
# *NOTE*: Do not commit any changes to this file, or you will be sharing you WiFi information with the world!
#

with FlyTello(['XXX']) as fly:
fly.set_ap_wifi(ssid='MY_SSID', password='MY_PASSWORD')

0 comments on commit 1c5e968

Please sign in to comment.