Have a look at our tutorial to get started!
You can install as package from pip.
- First connect to the REPL with a serial terminal.
- Connect to wifi
import network
SSID = <WIFI SSID>
PWD = <WIFI PASSWORD>
wlan = network.WLAN(network.STA_IF)
wlan.active(True)
if not wlan.isconnected():
print('connecting to network...')
wlan.connect(SSID, PWD)
while not wlan.isconnected():
pass
print('network config:', wlan.ifconfig())
import upip
upip.install('micropython-the-pad')