From 4663e8c922f1036fa931559d728978cc57a97e03 Mon Sep 17 00:00:00 2001 From: Toby Roberts <29973222+tobybroberts@users.noreply.github.com> Date: Wed, 1 Mar 2023 16:11:40 +0000 Subject: [PATCH] Revert "LED" to Pin 25 --- pwm/pwm_fade.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwm/pwm_fade.py b/pwm/pwm_fade.py index 5a10554..7264eda 100644 --- a/pwm/pwm_fade.py +++ b/pwm/pwm_fade.py @@ -5,7 +5,7 @@ from machine import Pin, PWM # Construct PWM object, with LED on Pin(25). -pwm = PWM(Pin("LED")) +pwm = PWM(Pin(25)) # Set the PWM frequency. pwm.freq(1000)