diff --git a/pio/pio_blink.py b/pio/pio_blink.py index c53ebc8..25f3813 100644 --- a/pio/pio_blink.py +++ b/pio/pio_blink.py @@ -20,7 +20,7 @@ def blink(): wrap() # Instantiate a state machine with the blink program, at 2000Hz, with set bound to Pin(25) (LED on the rp2 board) -sm = rp2.StateMachine(0, blink, freq=2000, set_base=Pin(25)) +sm = rp2.StateMachine(0, blink, freq=2000, set_base=Pin("LED")) # Run the state machine for 3 seconds. The LED should blink. sm.active(1)