From 70f3eb80abb51799b35557cfcc34c8c497cb03f5 Mon Sep 17 00:00:00 2001 From: spirkelmann Date: Mon, 15 Apr 2019 23:52:41 +0200 Subject: [PATCH] disabled automatic connection to local wifi network because this makes access point connection unreliable --- micropython_firmware/boot.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/micropython_firmware/boot.py b/micropython_firmware/boot.py index da5a088..dc21b03 100644 --- a/micropython_firmware/boot.py +++ b/micropython_firmware/boot.py @@ -3,10 +3,11 @@ import time # connect to local wifi network sta_if = network.WLAN(network.STA_IF) -sta_if.active(True) +sta_if.active(False) +#sta_if.active(True) # TODO: edit this line -sta_if.connect("", "") -sta_if.ifconfig() +#sta_if.connect("", "") +#sta_if.ifconfig() # start terminal over wifi time.sleep(5) # wait for wifi to connect