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

Add PCInt class #131

Merged
merged 1 commit into from Jul 31, 2023
Merged

Add PCInt class #131

merged 1 commit into from Jul 31, 2023

Conversation

jballoffet
Copy link
Member

@jballoffet jballoffet commented Jul 30, 2023

🎉 New feature

Related: #87

Summary

This PR creates a new class named PCInt to decouple the Pin Change Interrupt code and the encoder code.

More PRs will be sent to keep improving the code structure.

Test it

Tested by performing manual integration tests on the robot hardware.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if it affects the public API)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

Signed-off-by: Javier Balloffet <javier.balloffet@gmail.com>
Copy link
Collaborator

@francocipollone francocipollone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just a minor nit added. I haven't tried it locally but if you already tested it on your bench then it's ok for me

andino_firmware/src/hw.h Show resolved Hide resolved
@jballoffet jballoffet merged commit 6e7d988 into humble Jul 31, 2023
3 checks passed
@jballoffet jballoffet deleted the jballoffet/add-pcint-class branch July 31, 2023 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants