We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93b03d8 + 4663e8c commit 35f9a54Copy full SHA for 35f9a54
pwm/pwm_fade.py
@@ -5,7 +5,7 @@
5
6
7
# Construct PWM object, with LED on Pin(25).
8
-pwm = PWM(Pin("LED"))
+pwm = PWM(Pin(25))
9
10
# Set the PWM frequency.
11
pwm.freq(1000)
0 commit comments