Updated to use Alias for LED supporting Pico W
as well as Pico using newer firmware
This commit is contained in:
parent
6a8770e040
commit
abc908d289
|
@ -1,6 +1,6 @@
|
|||
from machine import Pin, Timer
|
||||
|
||||
led = Pin(25, Pin.OUT)
|
||||
led = Pin("LED", Pin.OUT)
|
||||
tim = Timer()
|
||||
def tick(timer):
|
||||
global led
|
||||
|
|
Loading…
Reference in New Issue