circuitpython/shared-module
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
..
_bleio Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
_eve run code formatting script 2021-03-15 19:27:36 +05:30
_stage Stage: add support for viewport scrolling 2021-10-09 00:05:49 +02:00
adafruit_bus_device Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
adafruit_pixelbuf Remove _ from common_hal__adafruit_pixelbuf. 2021-07-16 14:08:39 -04:00
aesio run code formatting script 2021-03-15 19:27:36 +05:30
atexit Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
audiocore Track more carefully which audio buffers to fill, based on interrupt channels 2021-08-10 22:00:09 -04:00
audioio bring MixerVoice back to building state; update documentation 2019-08-03 11:20:06 -05:00
audiomixer RP2040 PWMAudioOut: Release DMA channels after play has finished. 2021-07-01 17:36:29 -04:00
audiomp3 MP3Decoder: Fix playback stopping issue 2021-08-17 10:03:47 -05:00
audiopwmio audiopwmio: Add the shared files for this new module 2019-07-26 07:52:37 -05:00
bitbangio Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
bitmaptools Correct the 24bit decoding in bitmaptools.readinto() 2021-09-13 19:50:35 +01:00
bitops Merge MicroPython 1.14 into CircuitPython 2021-05-11 15:07:40 -07:00
board unlock board.I2C() on reset 2021-05-21 17:49:50 -04:00
busio Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
canio run code formatting script 2021-03-15 19:27:36 +05:30
displayio Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
fontio Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
framebufferio add initial esp32c3 support 2021-09-26 09:39:40 +05:30
gamepadshift Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
getpass Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
ipaddress run code formatting script 2021-03-15 19:27:36 +05:30
keypad keypad: Event: add timestamp. 2021-09-16 21:08:05 -05:00
memorymonitor run code formatting script 2021-03-15 19:27:36 +05:30
msgpack Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
multiterminal Merge tag 'v1.9.3' 2017-11-02 12:41:50 -07:00
onewireio Move OneWire to onewireio from busio 2021-08-12 10:47:14 -07:00
os run code formatting script 2021-03-15 19:27:36 +05:30
paralleldisplay Stub out the non-sequential parallel bus constructor 2021-09-21 15:00:43 -05:00
qrio Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
rainbowio Rename rainbow to rainbowio 2021-07-12 14:40:01 -04:00
random run code formatting script 2021-03-15 19:27:36 +05:30
rgbmatrix remove commented-out code 2021-05-27 11:33:17 -05:00
rotaryio rotaryio: Add the ability to set the divisor 2021-10-16 09:43:45 -05:00
sdcardio run code formatting script 2021-03-15 19:27:36 +05:30
sharpdisplay run code formatting script 2021-03-15 19:27:36 +05:30
storage Create first BLE-only board, Micro:Bit v2 2021-07-14 09:55:51 -07:00
struct Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
synthio RP2040 PWMAudioOut: Release DMA channels after play has finished. 2021-07-01 17:36:29 -04:00
terminalio Add ability to disable BLE workflow 2021-08-02 18:37:19 -07:00
time merge from upstream + wip 2020-11-25 17:52:06 -05:00
touchio run code formatting script 2021-03-15 19:27:36 +05:30
traceback Reduce code duplication in traceback module 2021-08-09 08:27:28 -05:00
uheap Merge MicroPython v1.11 into CircuitPython 2021-04-26 15:47:41 -07:00
usb_cdc Merge tag 'v1.17' into merge-1.17 2021-10-15 08:20:54 -05:00
usb_hid Add two space saving knobs 2021-08-31 13:02:34 -07:00
usb_midi Handle USB_HIGHSPEED for MIDI also 2021-05-19 07:43:47 -04:00
ustack run code formatting script 2021-03-15 19:27:36 +05:30
vectorio Make the x and y bounds checking functions static 2021-09-11 17:10:21 +01:00