Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

legacy pcnt driver is deprecated #117

Open
farTooOld opened this issue Sep 14, 2024 · 2 comments
Open

legacy pcnt driver is deprecated #117

farTooOld opened this issue Sep 14, 2024 · 2 comments

Comments

@farTooOld
Copy link

#warning "legacy pcnt driver is deprecated, please migrate to use driver/pulse_cnt.h"

Arduino IDE 2.3.2
#include <ESP32Encoder.h>

Using Two Encoders 600ppr. The Example codes give the same Warning. But the Encoders seem to be working (except of dropping some pulses when going from Positive direction to Negative direction.

I've searched and searched for solution but haven't found any solution. Is something Not working? How to stop the Warning if noting is wrong?

What do I need to do (and how to do it)?

(otherwise, it's the Best Encoder lib).

Thank you

@anthonyjclark
Copy link

Here is some information on the change and the migration:
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/migration-guides/release-5.x/5.0/peripherals.html#pulse-counter-driver

I'll try to submit a PR if I have the time, but I do not expect that I will anytime soon.

@whogarden
Copy link

It's just a warning. Question : can we use V0.11.7 with no pb?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants