-
Notifications
You must be signed in to change notification settings - Fork 17
Clock source integration #29
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
Clock source integration #29
Conversation
... maybe this is it?
1) Added Clksel class to store options similar to previous author 2) Changed Register name to match Register Map documentation 3) Added Getter/Setter property to negotiate transactions 4) Changed MPU6050 __init()__ to reflect the new syntax to match the others 5) Pre-written te Third time is a charm
@ladyada Taking your advice and going small. I pre-wrote a little test script and enclosed it in the header. Hope that helps. |
I ran this through pre-commit - All checks PASSED. It looks like the error is in reference the original module syntax which has been unchanged. Maybe this is a pylint/Black error? I certainly don't mind pursuing if it is a legitimate error though. I appreciate you sticking this one out with me. First one is always the hardest. |
I added py:attr: to some original module Classes... maybe that was messing up linting/black
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we're past the CI! 🥳
Just a few actual changes suggested, but otherwise looks good!
Changed references throughout module too
Hopefully these comments are suitable.
Hopefully the last commit is good 🙏 |
@tekktrik sorry meant to give a shout out to you when I made that last comment. I'm not sure how long the merge process entails but I'll check back in a few days. I have a lot more to commit now that I know the appropriate format. |
Co-authored-by: Alec Delaney <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Complete
Edit: sorry I was trying to get rid of the reviews red x. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! Just a few final tweaks and I think we're all set!
- Fixed capitol L's - Getter/Setter more clearly stated
Co-authored-by: Alec Delaney <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks for all this!
@tekktrik - no worries. I appreciate you sticking it out 😄. This was my first ever successful PR. I have quite a bit more to contribute for this sensor. I just need to get ahold of git and how you guys need everything styled (which I feel like I do have a better understanding now). Thanks, look forward to working with you soon. 👍 |
Updating https://github.com/adafruit/Adafruit_CircuitPython_MPU6050 to 1.2.0 from 1.1.16: > Merge pull request adafruit/Adafruit_CircuitPython_MPU6050#29 from SquirtleSquadLeader/Clock-Source-Integration > Update .pylintrc for v2.15.5 > Fix release CI files > Update pylint to 2.15.5 > Updated pylint version to 2.13.0 > Switching to composite actions
Third time is a charm ... ?