add comments on wifi not working and what to do next

This commit is contained in:
Aaron 2024-01-24 15:28:59 -05:00
parent 7b93fb65f7
commit ecf23f4fb9

View File

@ -23,11 +23,11 @@ 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()) print(wlan.ifconfig()) # no ip being applied
#Proof connected #Proof connected
led.on() led.on()
print('Connected to Wi-Fi network') print('Connected to Wi-Fi network') # saying connected but not
time.sleep(5) time.sleep(5)
led.off() led.off()