From a9a606bf5d518375efb2b836a07df7d95dbd7b56 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 29 Jul 2025 17:25:35 +1000 Subject: [PATCH] docs/library/rp2.StateMachine: Add a note about PIO in and jmp pins. Signed-off-by: Damien George --- docs/library/rp2.StateMachine.rst | 5 +++++ 1 file changed, 5 insertions(+) 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.