Merge pull request #49 from henley-regatta/master
Updated to use Alias for LED supporting Pico Wpull/54/head
commit
c82971b6e0
|
@ -1,6 +1,6 @@
|
||||||
from machine import Pin, Timer
|
from machine import Pin, Timer
|
||||||
|
|
||||||
led = Pin(25, Pin.OUT)
|
led = Pin("LED", Pin.OUT)
|
||||||
tim = Timer()
|
tim = Timer()
|
||||||
def tick(timer):
|
def tick(timer):
|
||||||
global led
|
global led
|
||||||
|
|
Ładowanie…
Reference in New Issue