Updated code to WiPy fw 1.1.0.
This commit is contained in:
parent
583b3b48cf
commit
af3f61fff7
4
boot.py
4
boot.py
@ -5,10 +5,10 @@
|
||||
import config
|
||||
|
||||
from network import WLAN
|
||||
wifi = WLAN(WLAN.STA)
|
||||
wifi = WLAN(mode=WLAN.STA)
|
||||
wifi.connect(config.HOME_SSID, auth=(WLAN.WPA, config.HOME_PASSWORD))
|
||||
|
||||
from machine import UART
|
||||
from os import dupterm
|
||||
uart = UART(0, baudrate=115200)
|
||||
uart = UART(0, 115200)
|
||||
dupterm(uart)
|
||||
|
Loading…
x
Reference in New Issue
Block a user