8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed4d4a6 commit fd4a612Copy full SHA for fd4a612
shared-bindings/rotaryio/IncrementalEncoder.c
@@ -35,7 +35,9 @@
35
#include "shared-bindings/util.h"
36
37
//| class IncrementalEncoder:
38
-//| """IncrementalEncoder determines the relative rotational position based on two series of pulses."""
+//| """IncrementalEncoder determines the relative rotational position based on two series of pulses.
39
+//| It assumes that the encoder's common pin(s) are connected to ground,and enables pull-ups on
40
+//| pin_a and pin_b."""
41
//|
42
//| def __init__(
43
//| self, pin_a: microcontroller.Pin, pin_b: microcontroller.Pin, divisor: int = 4