← index #5216Issue #5602
Related · high · value 2.422
QUERY · ISSUE

ESP32 Pulse Counter Driver

openby nevercastopened 2019-10-16updated 2021-12-13
port-esp32

Add a driver for ESP32 Pulse Counter Hardware.

Related to: #5214

CANDIDATE · ISSUE

Request to integrate quadrature decoder support via pulse count unit into ESP32 port

closedby sengpwopened 2020-02-03updated 2025-10-03
port-esp32

For ESP 32 exist a solution to use the on chip pulse counter modules (PULSE_CNT) for interfacing multiple (up to 8) quadrature encoded signals. I used the code successfully and integrated it into lv-micropython V1.12.
Think many people would benefit from this code being available within standard micropython too.
For description of module, integration and code see:
https://forum.littlevgl.com/t/example-for-working-with-a-rotary-encoder/1509/20

best regards,

Peter # @

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied