from machine import Pin
import utime
# LED pinini tanımla
led = Pin(3, Pin.OUT)
while True:
# LED i yak
led.value(1)
utime.sleep(1) # 1 saniye bekle
# LED i kapat
led.value(0)
utime.sleep(1) # 1 saniye beklefrom machine import Pin
import utime
# LED pinini tanımla
led = Pin(3, Pin.OUT)
while True:
# LED i yak
led.value(1)
utime.sleep(1) # 1 saniye bekle
# LED i kapat
led.value(0)
utime.sleep(1) # 1 saniye bekle