Revert to Pin 25 from "LED"

This commit is contained in:
Toby Roberts 2023-02-28 14:08:54 +00:00 committed by GitHub
parent 4edbf0e18a
commit 07a5c25dae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ class PIOPWM:
self._sm.put(value)
# Pin "LED" on Pico boards
pwm = PIOPWM(0, "LED", max_count=(1 << 16) - 1, count_freq=10_000_000)
# Pin 25 on Pico boards
pwm = PIOPWM(0, 25, max_count=(1 << 16) - 1, count_freq=10_000_000)
while True:
for i in range(256):