- Mon Oct 17, 2016 2:21 pm
#192054
Hello.
In the graphical datasheet supplied by sparkfun for the SAMD21 Mini Breakout it shows that several pins beyond the A0-A4 broken out on the board are available for use as ADCs.
Is it possible from within the Arduino IDE to configure some of the digital i/o pins to be used as analog inputs? If so, how? I need two additional ADC channels beyond what are currently available. Due to the size of my project I would like to use the Mini rather than the Dev.
Most of Atmel's documentation is focused on using their tools and I have little experience configuring pins on microcontrollers and don't have the budget to pay for Atmel's stuff. I have done some work reading and writing registers on the ATMega328, but that is it.
Any assistance would be greatly appreciated!
In the graphical datasheet supplied by sparkfun for the SAMD21 Mini Breakout it shows that several pins beyond the A0-A4 broken out on the board are available for use as ADCs.
Is it possible from within the Arduino IDE to configure some of the digital i/o pins to be used as analog inputs? If so, how? I need two additional ADC channels beyond what are currently available. Due to the size of my project I would like to use the Mini rather than the Dev.
Most of Atmel's documentation is focused on using their tools and I have little experience configuring pins on microcontrollers and don't have the budget to pay for Atmel's stuff. I have done some work reading and writing registers on the ATMega328, but that is it.
Any assistance would be greatly appreciated!