Skip to content

Commit 07a5c25

Browse files
authored
Revert to Pin 25 from "LED"
1 parent 4edbf0e commit 07a5c25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pio/pio_pwm.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ def set(self, value):
3434
self._sm.put(value)
3535

3636

37-
# Pin "LED" on Pico boards
38-
pwm = PIOPWM(0, "LED", max_count=(1 << 16) - 1, count_freq=10_000_000)
37+
# Pin 25 on Pico boards
38+
pwm = PIOPWM(0, 25, max_count=(1 << 16) - 1, count_freq=10_000_000)
3939

4040
while True:
4141
for i in range(256):

0 commit comments

Comments
 (0)