Just tried this version:
mp_firmware_unofficial_latest.uf2
and it seems to work OK with WiFi.
I tried it with this code:
mp_firmware_unofficial_latest.uf2
and it seems to work OK with WiFi.
I tried it with this code:
Code:
import timeimport networkssid = 'BT-JJAC9T'password = 'LaJRA6A4GFLnvh'wlan = network.WLAN(network.STA_IF)wlan.active(True)wlan.connect(ssid, password)# Wait for connect or failmax_wait = 10while max_wait > 0: if wlan.status() < 0 or wlan.status() >= 3: break max_wait -= 1 print('waiting for connection...') time.sleep(1)# Handle connection errorif wlan.status() != 3: raise RuntimeError('network connection failed')else: print('connected') status = wlan.ifconfig() print( 'ip = ' + status[0] )
Statistics: Posted by leon_heller — Sun Dec 01, 2024 12:09 pm