wrong variable name
This commit is contained in:
parent
9973fb26be
commit
e00d14c743
2
main.py
2
main.py
@ -23,7 +23,7 @@ wifi = network.WLAN(network.STA_IF)
|
|||||||
wifi.active(True) # must capitalize boolean statements!
|
wifi.active(True) # must capitalize boolean statements!
|
||||||
wifi.connect(secrets['ssid'], secrets['password'])
|
wifi.connect(secrets['ssid'], secrets['password'])
|
||||||
|
|
||||||
print(wlan.ifconfig()) # no ip being applied
|
print(wifi.ifconfig()) # no ip being applied
|
||||||
|
|
||||||
#Proof connected
|
#Proof connected
|
||||||
led.on()
|
led.on()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user