Skip to content

Commit 35f9a54

Browse files
authored
Merge pull request raspberrypi#62 from tobybroberts/patch-2
Revert "LED" to Pin 25
2 parents 93b03d8 + 4663e8c commit 35f9a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwm/pwm_fade.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
# Construct PWM object, with LED on Pin(25).
8-
pwm = PWM(Pin("LED"))
8+
pwm = PWM(Pin(25))
99

1010
# Set the PWM frequency.
1111
pwm.freq(1000)

0 commit comments

Comments
 (0)