We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18ee8b8 commit 4edbf0eCopy full SHA for 4edbf0e
pio/pio_exec.py
@@ -14,8 +14,8 @@ def prog():
14
pass
15
16
17
-# Construct the StateMachine, binding LED to the set pin.
18
-sm = rp2.StateMachine(0, prog, set_base=Pin("LED"))
+# Construct the StateMachine, binding Pin 25 to the set pin.
+sm = rp2.StateMachine(0, prog, set_base=Pin(25))
19
20
# Turn on the set pin via an exec instruction.
21
sm.exec("set(pins, 1)")
0 commit comments