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

Manage PCNT_UNIT and PCNT_CHANNEL parameters #10

Open
FrankBolleri opened this issue Nov 22, 2023 · 0 comments
Open

Manage PCNT_UNIT and PCNT_CHANNEL parameters #10

FrankBolleri opened this issue Nov 22, 2023 · 0 comments

Comments

@FrankBolleri
Copy link

Dear Nikos,
thanks for this fantastic library, it is very useful, precise and elegant.

Maybe was my ignorance, but seems to me that only way to change PCNT_UNIT or PCNT_CHANNEL is to create a "copy" of your code in Arduino IDE Tabs and change the #define values.
If I am wrong, can you tell me how to do it in the right way?
Otherwise, I can suggest you to make these values parametric?

It can be useful if we need to use your library with some other PCNT library, like (in my case) the library ESP32Encoder.
Thanks for attention and for your great work.
Francesco

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

1 participant