diff options
| author | Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com> | 2025-08-13 17:13:49 +0300 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-11-19 16:02:31 +1100 |
| commit | d980bbd23717d504b8be8613e119467ca2136b2b (patch) | |
| tree | 7bb1d24b00b51f583318eadce8e2e6b32b7fd06a /py/modmicropython.c | |
| parent | f3804c65896fd1471df723977f941f46e7b8bd26 (diff) | |
tests/extmod_hardware/machine_encoder.py: Fix initial rotation count.
ESP32 requires initial high levels of the channels before starting the
count, in order to have 4 pulse for the first rotation.
Also add tests for encoder phases x2 and x4.
Signed-off-by: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Diffstat (limited to 'py/modmicropython.c')
0 files changed, 0 insertions, 0 deletions
