15 lines
363 B
Python
15 lines
363 B
Python
import network #importing network
|
|
import gc
|
|
|
|
|
|
gc.collect()
|
|
ssid = 'PicoClock' #Set access point name
|
|
password = 'ayalaido' #Set your access point password
|
|
|
|
ap = network.WLAN(network.AP_IF)
|
|
ap.config(essid=ssid, password=password)
|
|
ap.active(True) #activating
|
|
|
|
print('AccessPoint Up And Running!')
|
|
print(ap.ifconfig())
|
|
|