circuitpython/ports/raspberrypi/common-hal/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
..
__init__.c rp2pio: Add pins_are_sequential 2021-03-04 11:26:33 -06:00
StateMachine.c WIPrp2040: Implement IncrementalEncoder 2021-03-05 10:31:29 -06:00
StateMachine.h StateMachine.h: Add header for declaration of mcu_pin_obj_t typedef 2021-03-04 12:28:46 -06:00