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 Support for the ADI Expander #245
Conversation
out, and the headers have been added to the api header file.
Revert for ADI-Expander
…orts to be" This reverts commit b0b1a6a.
int_32t object itself).
note to maintainers: add @djava to co-authored-by line in the squash merge commit |
Note: Latest commit above could be potential fix to #197 |
Co-authored-by: Alex Brooke <akb.sbc@gmail.com>
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.
I know it's been mentioned before, but just want to make sure everyone knows that almost every formatting nit and mistake mentioned here can be automatically detected and corrected by clang-format. It is highly recommended to install a format plugin into your editor, and configure it to format on save. There is a .clang-format
file in this repository which contains the format guide and all rules that must be obeyed, making sure that everything has consistent format.
Even running clang-format on the latest commit of this PR still catches a few things (mostly to do with whitespace and line length). I did not include those things in this review.
I like the API a lot, I don't have much to say about that other than have smart_port before adi_port in the function arguments.
I just have a few tiny nits, sorry for being so pedantic, ignore my comments as you wish :p.
Co-authored-by: Theo Lemay <16546293+theol0403@users.noreply.github.com>
Co-authored-by: Theo Lemay <16546293+theol0403@users.noreply.github.com>
Co-authored-by: Theo Lemay <16546293+theol0403@users.noreply.github.com>
Encoder, Motor, Button, Potentiometer, and Ultrasonic, have been retested on the internal and external ports and everything is working properly. |
Co-authored-by: Alex Brooke <akb.sbc@gmail.com>
Co-authored-by: Alex Brooke <akb.sbc@gmail.com>
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.
Only thing that struck me was that formatting for some of the parm parts of the function comments was off. Nothing too pressing.
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.
i think this looks good to go
Summary:
Created a new API for the Expander
Motivation:
PROS should support the 3-wire expander because it's a VRC-legal electronic part and PROS supports all the VRC-legal electronics parts.
Refs:
Supercedes #239
Test Plan: