madhephaestus/ESP32Encoder

Compatible with Fastaccelstepper

kang2k10 opened this issue · 2 comments

I use you library for read encoder, and library FastAccelStepper for step drivers, but they are not compatible.

Author library FastAccelStepper, wrote this:

Solution: ESP32Encoder author should not take over the PCNT-module interrupt. Espressif offers a cooperative solution: use pcnt_isr_service_install() and with pcnt_isr_handler_add() routines ca be registered to manage one channel's interrupt request.

that seems like a good idea for a change. Pleas submit a PR of this change and ill review it on my hardware :)

Sorry, I do not know how to do it