bd01d31542
This can be used where the standard API calls for a list of pins, to check that they satisfy the requirements of the rp2pio state machine, e.g., ```python def __init__(self, pin_a, pin_b): if not rp2pio.pins_are_sequential([pin_a, pin_b]): raise ValueError("Pins must be sequential") ``` |
||
---|---|---|
.. | ||
__init__.c | ||
__init__.h | ||
StateMachine.c | ||
StateMachine.h |