circuitpython/ports/raspberrypi/bindings/rp2pio
Jeff Epler 2ae1e7de61 WIPrp2040: Implement IncrementalEncoder
Any two consecutive pins can be used for an IncrementalEncoder

Testing performed: Put a synthesized (few hundred counts per second) quadrature signal into GP2/3 and read the encoder out.  Performed filesystem operations at the same time to stress test it.

The reasons for not using common_hal_rp2pio_statemachine_readinto are commented on.
2021-03-05 10:31:29 -06:00
..
StateMachine.c StateMachine: Add pull up/down for inputs 2021-03-04 11:26:29 -06:00
StateMachine.h WIPrp2040: Implement IncrementalEncoder 2021-03-05 10:31:29 -06:00
__init__.c rp2pio: Add pins_are_sequential 2021-03-04 11:26:33 -06:00
__init__.h rp2pio: Add pins_are_sequential 2021-03-04 11:26:33 -06:00