Skip to content

Commit

Permalink
Añado ejercicio de led parpadeante (#1)
Browse files Browse the repository at this point in the history
Script del ejercicio añadido con sus respectivas correcciones (flake8).
  • Loading branch information
ivanhercaz committed Jun 2, 2019
1 parent 9e2202e commit 48fc82e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ejercicios/blink.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from machine import Pin
import time

led = Pin(16, Pin.OUT)

while True:
led.on()
time.sleep(0.5)
led.off()
time.sleep(0.5)

0 comments on commit 48fc82e

Please sign in to comment.