Skip to content

MicroPython: AP

Leo Vidarte edited this page Mar 7, 2017 · 1 revision

You can put the esp8266 as an Access Point mode with the following lines

import network

ap = network.WLAN(network.AP_IF)
ap.config(essid="ESP-AP", password="12345678")
ap.active(True)