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)