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

Minor change to re enable Compare mode and added POSMATCH control option. #3

Merged
merged 12 commits into from
Jun 4, 2022

Conversation

mjs513
Copy link

@mjs513 mjs513 commented Dec 25, 2021

@PaulStoffregen
In a continuation of improving the QuadEncoder library @joepasquariello suggested a couple of additional changes.

  1. Add a flag for what POSMATCH will do when counters match the specified value, see page 3169 OUTCTL for bit
  2. changed name of the function call to reenable the Compare interrupt from resetCompareInterrupt to enableCompareInterrupt

Hopefully this is the last change. Other than these changes all seems to be working with the library.

@joepasquariello
Copy link

joepasquariello commented Dec 25, 2021 via email

@mjs513
Copy link
Author

mjs513 commented Dec 25, 2021

Thanks Paul. Will get that incorporated either tonight or tomorrow. But definitely good idea.

@mjs513
Copy link
Author

mjs513 commented Dec 25, 2021

@PaulStoffregen
Went ahead and added a setCompareValue function to the library - update and tested the example QuadEncoder.ino sketch as well to demo it.

Got board so I went ahead and updated it now.

@joepasquariello
Copy link

joepasquariello commented Dec 26, 2021 via email

@PaulStoffregen
Copy link
Owner

Should I pull this in for 1.57-beta2 ?

@mjs513
Copy link
Author

mjs513 commented May 11, 2022

Yes please was going to post on the beta1 about the update but got sidetracked, which is inevitable. Was wondering about the this in audio as well: PaulStoffregen/Audio#419, pr is only for wav and raw files nothing else.

@PaulStoffregen PaulStoffregen merged commit 72acc4c into PaulStoffregen:master Jun 4, 2022
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

Successfully merging this pull request may close these issues.

3 participants