Updated to use Alias for LED supporting Pico W
as well as Pico using newer firmwarepull/49/head
rodzic
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
|
||||
|
|
Ładowanie…
Reference in New Issue