From abc908d289928278873b9ca1b820359b2bff5d3b Mon Sep 17 00:00:00 2001 From: henley-regatta <42374576+henley-regatta@users.noreply.github.com> Date: Fri, 1 Jul 2022 11:55:51 +0100 Subject: [PATCH] Updated to use Alias for LED supporting Pico W as well as Pico using newer firmware --- blink/blink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blink/blink.py b/blink/blink.py index 3fdb124..5b7c9a1 100644 --- a/blink/blink.py +++ b/blink/blink.py @@ -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