Merge pull request #8453 from heygauri/doc-rotaryio.IncrementalEncoder
Update documentation for rotaryio.IncrementalEncoder
This commit is contained in:
commit
a3c932062f
|
@ -35,7 +35,9 @@
|
|||
#include "shared-bindings/util.h"
|
||||
|
||||
//| class IncrementalEncoder:
|
||||
//| """IncrementalEncoder determines the relative rotational position based on two series of pulses."""
|
||||
//| """IncrementalEncoder determines the relative rotational position based on two series of pulses.
|
||||
//| It assumes that the encoder's common pin(s) are connected to ground,and enables pull-ups on
|
||||
//| pin_a and pin_b."""
|
||||
//|
|
||||
//| def __init__(
|
||||
//| self, pin_a: microcontroller.Pin, pin_b: microcontroller.Pin, divisor: int = 4
|
||||
|
|
Loading…
Reference in New Issue