pico-w-clock/access_point.py
Sagi Dayan 7c36d8eea3 initial commit
Signed-off-by: Sagi Dayan <sagidayan@gmail.com>
2023-04-22 14:58:04 +03:00

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