9eebb3dbab
At present, Adafruit's rotary encoders all move 1 quadrature cycle per detent, so we originally hard-coded division-by-4. However, other encoders exist, including ones without detents, ones with 2 detents per cycle, and others with 4 detents per cycle. The new `divisor` property and constructor argument allows selecting a divisor of 1, 2, or 4; with the default of 4 giving backward compatibility. The property is not supported (yet?) on espressif MCUs; it throws an error if a value other than 4 is set. |
||
---|---|---|
.. | ||
bindings/rp2pio | ||
boards | ||
common-hal | ||
peripherals | ||
sdk@bfcbefafc5 | ||
sdk_config/pico | ||
supervisor | ||
.gitignore | ||
audio_dma.c | ||
audio_dma.h | ||
background.c | ||
background.h | ||
boot_stage2.ld | ||
fatfs_port.c | ||
flash_info.h.jinja | ||
gen_stage2.py | ||
link.ld | ||
Makefile | ||
mpconfigport.h | ||
mpconfigport.mk | ||
mphalport.c | ||
mphalport.h | ||
qstrdefsport.h | ||
README.rst | ||
stage2.c.jinja |
RP2040 ================== This port supports many development boards that utilize RP2040 chips. See https://circuitpython.org/downloads for all supported boards. Building -------- For build instructions see this guide: https://learn.adafruit.com/building-circuitpython/ Port Specific modules --------------------- .. toctree:: ../../shared-bindings/rp2pio/index