Changed Pin 25 to "LED"

This commit is contained in:
Toby Roberts 2023-02-28 12:48:28 +00:00 committed by GitHub
parent 2a52d769f8
commit 10f07acf74
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(25))
pwm = PWM(Pin("LED"))
# Set the PWM frequency.
pwm.freq(1000)