summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2025-07-29 17:25:35 +1000
committerDamien George <damien@micropython.org>2025-08-01 15:10:15 +1000
commita9a606bf5d518375efb2b836a07df7d95dbd7b56 (patch)
tree051371b786009273bccd56427f921d8cfdb70746
parent41987c6cf43c18ff387e88d227469bf8b8e29b55 (diff)
docs/library/rp2.StateMachine: Add a note about PIO in and jmp pins.
Signed-off-by: Damien George <damien@micropython.org>
-rw-r--r--docs/library/rp2.StateMachine.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/library/rp2.StateMachine.rst b/docs/library/rp2.StateMachine.rst
index 1cb87e90b..4984be0b2 100644
--- a/docs/library/rp2.StateMachine.rst
+++ b/docs/library/rp2.StateMachine.rst
@@ -58,6 +58,11 @@ Methods
- *pull_thresh* is the threshold in bits before auto-pull or conditional
re-pulling is triggered.
+ Note: pins used for *in_base* need to be configured manually for input (or
+ otherwise) so that the PIO can see the desired signal (they could be input
+ pins, output pins, or connected to a different peripheral). The *jmp_pin*
+ can also be configured manually, but by default will be an input pin.
+
.. method:: StateMachine.active([value])
Gets or sets whether the state machine is currently running.