from machine import Pin
import time
ledbroche=14
led =Pin(ledbroche,Pin.OUT)
while True:
led.on()
print('led alumée ')
time.sleep(1)
led.off()
print('led fermée')
time.sleep(1)from machine import Pin
import time
ledbroche=14
led =Pin(ledbroche,Pin.OUT)
while True:
led.on()
print('led alumée ')
time.sleep(1)
led.off()
print('led fermée')
time.sleep(1)