This adds a PCNT-powered hardware encoder class for ESP32. (Should support all ESP32 variants with that peripheral)
I could not reproduce the angle dependent execution time i mentioned on Discord, meaning this code has no issues that I am aware of right now.
The step/dir mode is however untested, but I am fairly confident this works.
This adds a PCNT-powered hardware encoder class for ESP32. (Should support all ESP32 variants with that peripheral) I could not reproduce the angle dependent execution time i mentioned on Discord, meaning this code has no issues that I am aware of right now. The step/dir mode is however untested, but I am fairly confident this works.
Cheers!