ESP32Encoder
ESP32Encoder copied to clipboard
A Quadrature and half quadrature PCNT peripheral driven encoder library supporting 8 encoders
Hello, thanks for this great library. Hard to find an encoder library that uses interrupts or the PCNT hardware peripheral, and also supports registering a callback function. **However, there's a...
Does not compile on Arduino IDE 1.8.20 in Windows 11 However did compile without issues on IDE 1.8.13 on my Macbook Air Errors on 1.8.20 `C:\Users\Stefan\Documents\Arduino\libraries\TouchDRO_Interface-master\ESP32_Quad_Encoder.cpp: In function 'void pcnt_isr(void*)':...
I get this message after I updated the library and trying to read the encoder: E (21084) pcnt: _pcnt_get_counter_value(98): PCNT driver error
Hello, thanks for the great library! My setup with the internal pull up resistors worked fine. When I changed it to use the pull down resistors nothing happened at all....
Arduino IDE version 1.8.19 ESP32 board version 2.0.4 Physical board: any Preferences setting: Compiler warnings: "more" or "all" Got compilation error: ``` /home/ethanak/Arduino/libraries/ESP32Encoder/src/ESP32Encoder.cpp:12:20: error: 'TAG' defined but not used [-Werror=unused-variable]...
see https://github.com/madhephaestus/ESP32Encoder/issues/101
log: Arduino: 1.8.16 (Linux), TD: 1.57, Board: "ESP32 Dev Module, Disabled, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 115200, Core 1, Core 1,...
Hi, Having trouble when my rpm goes over 500 RPM then the calculations just dies and show zero. Im using this encoder. https://www.ebay.co.uk/itm/155166834587?hash=item2420a9ff9b:g:S78AAOSwoi9jJXEm Here is the code. I have tried...
Sorry to interrupt you, but I had this when trying to update an old project (yes, it does have a coding bug that I didn't find two years ago...) I...
I want to read 4 single pulses from a fan. I am able to read a single by attachSingleEdge(34,35) But when I use attachSingleEdge(34,34). It does not count anything. While...