Untitled

mail@pastecode.io avatar
unknown
python
22 days ago
341 B
3
Indexable
Never
import os; print(os.uname())

import machine
import time
import network
from Wifi import (connect)
from Time import (Time)

led = machine.Pin("LED", machine.Pin.OUT)

try:
    ip = connect()
except KeyboardInterrupt:
    machine.reset()

while True:
    print(Clock)
    led.value(1)
    time.sleep(0.2)
    led.value(0)
    time.sleep(0.2) 
Leave a Comment