Updated to use Alias for LED supporting Pico W

as well as Pico using newer firmware
pull/49/head
henley-regatta 2022-07-01 11:55:51 +01:00
rodzic 6a8770e040
commit abc908d289
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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