From 34072ddffa0dfa0171927b7c334432a879ffbc09 Mon Sep 17 00:00:00 2001 From: Peter Hart Date: Sat, 29 Aug 2020 00:05:06 -0400 Subject: [PATCH] wlan fixed --- boot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.py b/boot.py index ea1e65c..f485769 100644 --- a/boot.py +++ b/boot.py @@ -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')