The referance pages state the following,
Pin mapping
The Arduino pin numbers corresponding to the analog pins are 14 through 19. Note that these are Arduino pin numbers, and do not correspond to the physical pin numbers on the Atmega168 chip. The analog pins can be used identically to the digital pins, so for example, to set analog pin 0 to an output, and to set it HIGH, the code would look like this:pinMode(14, OUTPUT);
digitalWrite(14, HIGH);
But in one of the working examples, it shows,
int potPin = 2; // select the input pin for the potentiometer
Which is the pin number on the Proto Shield (0-5) but according the info above, that should be,
int potPin = 16;
I know these aren't the physical pin numbers, but are they supposed to be 14 to 19, or 0 to 5? If the later, how does it discern the difference between Digital pin 2 and Analog pin 2?
Or did I compleatly miss something here?