Pages: [1]   Go Down
Author Topic: HIDDEN Analog PINS (52, 20 and 21)  (Read 672 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
Karma: 4
Posts: 125
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This days I was looking at the SAM3X datasheet and notice one WEIRD thing: It said that arduino has 15 Analog ready pins, but when I read the Arduino Due page, there was only 12 listed as Analog...

This is what intrigued me to find a solution to enable the others 3 pins, since my project needed 13 (yes, one more than the available).

The pins, not marked as analog that Could "become" one is 52, 20 and 21.

Maybe Arduino guys did that to maintain the same "pattern" as the old arduinos, but, why not let it enabled? It only changes a few lines of code (to be exact, 6 lines).

I will create a new commit of the arduino in my github repository if any one wants..
« Last Edit: April 27, 2013, 12:56:18 pm by ivanseidel » Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
Karma: 129
Posts: 8589
Scattered showers my arse -- Noah, 2348BC.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The extra ADC pins are documented on the pinout diagram here,132130.0.html

There are a lot of nifty things not supported by Arduino, sometimes a software fix (as you've done) can unlock a feature, sometimes it can't because the PCB has not broken the right pins out.


Rob Gray aka the GRAYnomad

Pages: [1]   Go Up
Jump to: