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
..
2021-10-15 23:34:31 -04:00
2021-10-15 08:20:54 -05:00
2021-10-15 23:34:31 -04:00
2021-10-15 08:20:54 -05:00
2021-07-20 19:49:43 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 08:20:54 -05:00
2021-08-25 20:48:55 -04:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 08:20:54 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-10 15:28:35 +05:30
2021-10-07 16:55:19 -04:00
2021-09-30 19:21:03 +02:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 08:20:54 -05:00
2021-10-15 13:49:33 -05:00
2021-09-01 00:19:05 -04:00
2021-10-15 08:20:54 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-08-26 21:35:02 -04:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-08-26 21:35:02 -04:00
2021-10-15 13:49:33 -05:00
2021-09-08 18:34:34 -04:00
2021-10-15 13:49:33 -05:00
2021-03-15 19:27:36 +05:30
2021-08-30 22:29:51 -04:00
2021-09-10 13:43:04 -06:00
2021-10-15 13:49:33 -05:00
2021-10-05 16:58:24 +05:30
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 08:20:54 -05:00
2021-10-15 08:20:54 -05:00
2021-08-30 22:29:51 -04:00
2021-08-30 22:29:51 -04:00
2021-10-15 13:49:33 -05:00
2021-10-16 09:43:45 -05:00
2021-10-15 08:20:54 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 21:13:47 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 08:20:54 -05:00
2021-10-15 08:20:54 -05:00
2021-10-07 16:55:19 -04:00
2021-08-30 22:29:51 -04:00
2021-10-15 08:20:54 -05:00
2021-10-15 13:49:33 -05:00
2021-10-15 23:34:31 -04:00
2021-10-15 08:20:54 -05:00
2021-10-15 08:20:54 -05:00
2021-10-10 15:28:35 +05:30
2021-09-01 00:19:05 -04:00
2021-08-30 22:29:51 -04:00
2021-10-15 13:49:33 -05:00
2021-08-30 22:29:51 -04:00
2021-09-01 00:19:05 -04:00
2021-10-15 23:34:31 -04:00
2021-09-01 00:19:05 -04:00
2021-09-26 09:39:40 +05:30
2020-08-07 00:01:31 +09:00
2020-06-14 11:12:35 -05:00
2021-05-04 18:06:33 -07:00
2019-06-12 11:36:43 -07:00
2019-06-12 11:36:43 -07:00