ESP32Encoder
ESP32Encoder copied to clipboard
A Quadrature and half quadrature PCNT peripheral driven encoder library supporting 8 encoders
How could I be adding the function of "working" and the "direction" ?, I needed to be implementing this in my project. Thanks
The Version 0.10.0 and 0.10.1 seems to require "soc/soc_caps.h" which I don't believe it should. `|-- ESP32Encoder @ 0.10.1 Building in debug mode Compiling .pio\build\esp32dev\lib847\ESP32Encoder\ESP32Encoder.cpp.o Compiling .pio\build\esp32dev\FrameworkArduino\IPv6Address.cpp.o Compiling .pio\build\esp32dev\FrameworkArduino\MD5Builder.cpp.o .pio\libdeps\esp32dev\ESP32Encoder\src\ESP32Encoder.cpp:9:26:...
Im sure this can work but I am having issues using this package with my project that is already using PCNT as a Frequency counter. If I leave my Frequency...
Hello, I have found an issue about PCNT using FastAccelStepper and ESP32Encoder library on same project. Behaviour seems indicate that both library use same PCNT unit, despite recent change done...
Liberary doesn't work when generating a PWM signal (when pins 15 and 16 split the PWM and encoder)
this is the code. if i remove the "ledcWrite(ledChannel, counter);" and "ledcAttachPin(ledPin, ledChannel);" everything works and the encoder position is kept track of. If the line is present 90% of...
How about adding support for GPIO port expanders? I have a project using TTGO T-Display S3 which does not have very many native GPIO pins. The changes should be pretty...
#warning "legacy pcnt driver is deprecated, please migrate to use driver/pulse_cnt.h" Arduino IDE 2.3.2 #include Using Two Encoders 600ppr. The Example codes give the same Warning. But the Encoders seem...
I'm having the same problem discussed here. https://github.com/gin66/FastAccelStepper/issues/17#issuecomment-743807832 The author of fastAccelStepper says that "ESP32Encoder author should not take over the PCNT-module interrupt." I see some earlier issues here mentioned...
I don't see a method or flag in this library that indicates the direction of a rotary optical encoder using full quad encoding. Do I have to monitor the change...