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

Does not work with ATTiny88 on pins 12 and 13 #41

Open
lesrhorer opened this issue Feb 27, 2023 · 0 comments
Open

Does not work with ATTiny88 on pins 12 and 13 #41

lesrhorer opened this issue Feb 27, 2023 · 0 comments

Comments

@lesrhorer
Copy link

lesrhorer commented Feb 27, 2023

I am attempting to use your encoder library on a project of mine that employs an ATTiny88 with an EC11 rotary encoder attached to pins 12 and 13.

Here is the error stack using your interrupt example:
Rotary Encoder errors.txt

Here is my code, which compiles and runs without your library, but misses lots of interrupts and often reports the wrong direction:
Rotary Encoder Good.txt

Note the ATTiny88 requires a slightly modified PinChangeInterrupt.h library. See https://arduino.stackexchange.com/questions/92354/change-interrupts-on-the-attiny-88

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