Repower Pi Pico W with BOOTSEL button
MicroPhyton -> PiPicoDrive
Install Thonny , Tools/Options/Interpreter, Select Pico-Comport
manifest.py, webrepl.py, webrepl_setup.py, RightClick, LinkSaveAs, open in Thonny, SaveAs, OnPicoSaveAs On Pico boot.py
>>> import webrepl_setup
(E)nable ... on boot > E
change password > y
password
password
reboot now? > y
if staying on 'connecting to network...' try switching Off/On (unplug/plug) or STOP-Button Thonny
Console-Output: net config: (IP --> Thonny Tools/Options/Interpreter WebREPL + Password
MicroPhyton -> PiPicoDrive
Install Thonny , Tools/Options/Interpreter, Select Pico-Comport
manifest.py, webrepl.py, webrepl_setup.py, RightClick, LinkSaveAs, open in Thonny, SaveAs, OnPico
Code:
import networkWL = network.WLAN(network.STA_IF)if not WL.isconnected():print('connecting to network...')WL.active(True)WL.connect('SSID', 'PW')while not WL.isconnected():passprint('network config:', WL.ifconfig())
>>> import webrepl_setup
(E)nable ... on boot > E
change password > y
password
password
reboot now? > y
if staying on 'connecting to network...' try switching Off/On (unplug/plug) or STOP-Button Thonny
Console-Output: net config: (IP --> Thonny Tools/Options/Interpreter WebREPL + Password
Statistics: Posted by iwl — Wed Jan 17, 2024 7:34 pm