#blink led
import machine
import time
led= machine.Pin('LED', machine.Pin.OUT)
while (True):
led.on()
time.sleep(0.5)
led.off()
time.sleep(0.5
import network
wlan=network.WLAN(network.STA_IF)
wlan.active(True)
accesspoints = wlan.scan()
for ap in accesspoints:
print(ap)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น