wlan fixed

This commit is contained in:
Peter Hart 2020-08-29 00:05:06 -04:00
parent ba4a397e5c
commit 34072ddffa

View File

@ -16,7 +16,7 @@ iphone = b'Hart\xe2\x80\x99s iPhone'
home = b"Hart's"
ff=wlan.scan()
connecting=true
connecting=True
for i in ff:
print(i)
@ -34,7 +34,7 @@ elif matches(ff,home):
wlan.connect(home,'D187wn644GeH')
else:
print('not connecting')
connecting = false
connecting = False
while connecting and not wlan.isconnected():
machine.idle()
print('WLAN connection succeeded')