Skip to content

Commit 18ee8b8

Browse files
authored
Revert to Pin 25 from LED
1 parent 036f6a1 commit 18ee8b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pio/pio_blink.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def blink():
1919
nop() [31]
2020
wrap()
2121

22-
# Instantiate a state machine with the blink program, at 2000Hz, with set bound to Pin(25) (LED on the rp2 board)
23-
sm = rp2.StateMachine(0, blink, freq=2000, set_base=Pin("LED"))
22+
# Instantiate a state machine with the blink program, at 2000Hz, with set bound to Pin(25) (LED on the Pico board)
23+
sm = rp2.StateMachine(0, blink, freq=2000, set_base=Pin(25))
2424

2525
# Run the state machine for 3 seconds. The LED should blink.
2626
sm.active(1)

0 commit comments

Comments
 (0)