Revert "LED" to Pin 25
rodzic
93b03d8b3a
commit
4663e8c922
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue