circuitpython/ports/espressif/common-hal
Jeff Epler 9eebb3dbab rotaryio: Add the ability to set the divisor
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.
2021-10-16 09:43:45 -05:00
..
alarm add initial esp32c3 support 2021-09-26 09:39:40 +05:30
analogio rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
audiobusio Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00
board Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00
busio Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
canio Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00
countio rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
digitalio rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
dualbank rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
frequencyio rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
i2cperipheral rename i2c_num_status to peripherals_i2c_get_free_num 2021-10-07 14:12:14 +05:30
imagecapture eespressif: ParallelImageCapture: keep peripheral running 2021-10-11 15:37:57 -05:00
microcontroller Merge pull request #5394 from microDev1/c3-port 2021-09-28 10:31:11 -07:00
neopixel_write rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
nvm rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
os rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
paralleldisplay Merge pull request #5378 from jepler/esp32s2-paralleldisplay-i2s 2021-09-23 20:25:43 -05:00
ps2io rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
pulseio add initial esp32c3 support 2021-09-26 09:39:40 +05:30
pwmio rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
rgbmatrix Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00
rotaryio rotaryio: Add the ability to set the divisor 2021-10-16 09:43:45 -05:00
rtc rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
socketpool Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
ssl Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
supervisor rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
time Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00
touchio rename left over esp32s2 to espressif 2021-09-18 19:42:18 +05:30
watchdog Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
wifi Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00