Revert to Pin 25 from "LED"
rodzic
4edbf0e18a
commit
07a5c25dae
|
@ -34,8 +34,8 @@ class PIOPWM:
|
||||||
self._sm.put(value)
|
self._sm.put(value)
|
||||||
|
|
||||||
|
|
||||||
# Pin "LED" on Pico boards
|
# Pin 25 on Pico boards
|
||||||
pwm = PIOPWM(0, "LED", max_count=(1 << 16) - 1, count_freq=10_000_000)
|
pwm = PIOPWM(0, 25, max_count=(1 << 16) - 1, count_freq=10_000_000)
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
for i in range(256):
|
for i in range(256):
|
||||||
|
|
Ładowanie…
Reference in New Issue