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