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

Question: What are the CLCs doing to read the rotary encoder? #14

Open
jazzychad opened this issue Jan 28, 2020 · 0 comments
Open

Question: What are the CLCs doing to read the rotary encoder? #14

jazzychad opened this issue Jan 28, 2020 · 0 comments

Comments

@jazzychad
Copy link

Hi! I am very interested in this project because I am learning PIC programming and also wanting to use rotary encoders in a project. I see in your MPLAB project that you have configured the two CLC peripherals to use "2-input D flip-flop with R" configuration and reading the RA and RB pins (RC0 and RC1). Could you please explain what logic is going on here that makes this work? I am only familiar with the rotary encoders which use 4 "steps" between each detent (is this what you are using?) and am curious how the CLCs correctly interpret this?

Thanks for any info!

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