diff --git a/micropython_firmware/setup_notes.txt b/micropython_firmware/setup_notes.txt index 91ca944..71ae046 100644 --- a/micropython_firmware/setup_notes.txt +++ b/micropython_firmware/setup_notes.txt @@ -9,12 +9,20 @@ Setting up webrepl: >>> import webrepl_setup -> enable, set password and reboot - Connect to wifi: + Connect to local wifi: >>> import network >>> sta_if = network.WLAN(network.STA_IF) >>> sta_if.active(True) >>> sta_if.connect("", "") - >>> sta_if.ifconfig() # this prints your IP + >>> sta_if.ifconfig() # this prints the IP + + Use access point to connect: + >>> import network + >>> ap_if = network.WLAN(network.AP_IF) + >>> ap_if.active(True) + >>> ap_if.ifconfig() # this prints the IP + + Default passwort for the access point: micropythoN Connect via online Webrepl: -> http://micropython.org/webrepl