Updated to use Alias for LED supporting Pico W

as well as Pico using newer firmware
This commit is contained in:
henley-regatta 2022-07-01 11:55:51 +01:00
parent 6a8770e040
commit abc908d289
1 changed files with 1 additions and 1 deletions

View File

@ -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