add comments on wifi not working and what to do next
This commit is contained in:
parent
7b93fb65f7
commit
ecf23f4fb9
4
main.py
4
main.py
@ -23,11 +23,11 @@ wifi = network.WLAN(network.STA_IF)
|
||||
wifi.active(True) # must capitalize boolean statements!
|
||||
wifi.connect(secrets['ssid'], secrets['password'])
|
||||
|
||||
print(wlan.ifconfig())
|
||||
print(wlan.ifconfig()) # no ip being applied
|
||||
|
||||
#Proof connected
|
||||
led.on()
|
||||
print('Connected to Wi-Fi network')
|
||||
print('Connected to Wi-Fi network') # saying connected but not
|
||||
time.sleep(5)
|
||||
led.off()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user