# Experiência Criativa 2 - Revisão
from machine import Pin
import time
# Configuração do LED no pino GPIO 15
led = Pin(15, Pin.OUT)
while True:
# Acende o LED
led.value(1)
# Espera 9 segundos
time.sleep(9)
# Apaga o LED
led.value(0)
# Espera 1 segundo
time.sleep(1)