Update blink.py
not a huge bug, but thought it might confuse new commerspull/54/head
rodzic
c82971b6e0
commit
896a04ecbc
|
@ -2,7 +2,7 @@ from machine import Pin, Timer
|
||||||
|
|
||||||
led = Pin("LED", Pin.OUT)
|
led = Pin("LED", Pin.OUT)
|
||||||
tim = Timer()
|
tim = Timer()
|
||||||
def tick(timer):
|
def tick(tim):
|
||||||
global led
|
global led
|
||||||
led.toggle()
|
led.toggle()
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue