Skip to content

imxieyi/esp32-rotary-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Rotary Encoder driver for esp-idf

Both phase A and phase B are required. On 25GA20E260 motor the counter will increase by 1040 in each rotation.

It uses gpio interrupt instead of PCNT. So you must call rencoder_init() before creating any RENCODER. If you prefer PCNT, please refer to branch pcnt.

Releases

No releases published

Packages

No packages published