Compatible with Fastaccelstepper
kang2k10 opened this issue · 2 comments
kang2k10 commented
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.
madhephaestus commented
that seems like a good idea for a change. Pleas submit a PR of this change and ill review it on my hardware :)
kang2k10 commented
Sorry, I do not know how to do it