Skip to content

Commit

Permalink
Merge pull request micropython#8453 from heygauri/doc-rotaryio.Increm…
Browse files Browse the repository at this point in the history
…entalEncoder

Update documentation for rotaryio.IncrementalEncoder
  • Loading branch information
tannewt committed Oct 2, 2023
2 parents 744222a + fd4a612 commit a3c9320
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shared-bindings/rotaryio/IncrementalEncoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3c9320

Please sign in to comment.