Last active
October 8, 2016 19:35
-
-
Save phieber/c46d97afdf78b37279f78b96c2bef7fa to your computer and use it in GitHub Desktop.
esp8266-01 micropython
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import network | |
import gc | |
import webrepl | |
import esp | |
esp.osdebug(None) | |
ap_if = network.WLAN(network.AP_IF) | |
sta_if = network.WLAN(network.STA_IF) | |
ap_if.active(False) | |
sta_if.active(True) | |
sta_if.connect('filewalker','mypasswd') | |
webrepl.start() | |
gc.collect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment