Updated code to WiPy fw 1.1.0.

This commit is contained in:
Markus Birth 2015-10-22 01:06:18 +02:00
parent 583b3b48cf
commit af3f61fff7

@ -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)