-
Notifications
You must be signed in to change notification settings - Fork 215
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
Represent pins A6 and A7 of Arduino Nano similar to other pins #446
Comments
They are supported, access just works a bit different than for all the other pins. Check the example code here: avr-hal/examples/arduino-nano/src/bin/nano-adc.rs Lines 47 to 53 in 06ad11f
|
I see, thanks for pointing it out. |
If you manage to make this work nicely, I'd be happy to take a PR implementing this :) So far my reasoning was that writing code generic over ADC channels is already possible using |
As can be seen in the image, the Arduino Nano gives access to
ADC_MUX
111
andADC_MUX
110
via the pins A6 and A7.It would be nice if these pins could be used somehow but it probably would require some refactoring as the availability of these pins depends on the package/board variant (TQFP and VQFN Package Only; Arduino Uno has the wrong package, Arduino Pro Mini does not forward it) and not on the processor variant.
The text was updated successfully, but these errors were encountered: