Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from machine import Pin
- import time
- led1 = Pin(12, Pin.OUT) #Definir la variable LED1 como objeto ligado al Pin 12 como salida digital
- while (True):
- led1.value(1)
- time.sleep(1)
- led1.value(0)
- time.sleep(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement