-
Notifications
You must be signed in to change notification settings - Fork 239
Adc implementation #23
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
Conversation
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.
Thanks a lot for the PR! I left a few comments in the diff. Additionally, it would be nice if you could add a small example to the arduino-uno
crate which demonstrates the use of the ADC.
@Rahix I am not to sure about my into_analog Pin implementation if you have some input on that |
Co-authored-by: Rahix <[email protected]>
Co-authored-by: Rahix <[email protected]>
Co-authored-by: Rahix <[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.
I don't have an ATmega328P
at hand, so I'll have to trust that you have tested this. Apart from, everything looks good!
I did some tests similar to the |
I can take care of that, should not be difficult ontop of this PR :) |
My attempt of implementing ADC currently only for the Arduino Uno
Needs avr-device/29
Fixes #11.