Merge pull request #62 from tobybroberts/patch-2

Revert "LED" to Pin 25
This commit is contained in:
Alasdair Allan 2023-03-01 16:13:32 +00:00 committed by GitHub
commit 35f9a54463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)