Arduino Pro mini 14 digital pins or 12?

Hi,

I am reading everywhere that my Pro mini 5v should have 14 digital pins, but I can only find 12?

I am having digital pins namned from 2 -> 13

So where are number 1 and 14?

Joakim

RX and TX are pins 0 and 1 - this gives you 14 pins.

Great, thanks for that information!

Joakim

A0 to A5 are digital pins too - D14 to D19.

CrossRoads:
A0 to A5 are digital pins too - D14 to D19.

What happened to A6 and A7? The Pro Mini has those, too - that's 22 digital I/O pins total.

A6 & A7 are analog inputs only.
They can be used as slow (due to time for analogRead) digital inputs:

A6input = analogRead (A6);
if (A6input >= 615) { // >= 3V with 5V Aref
// takeĀ  High input action
}
if (A6input <= 100){ <= 0.5V with 5AV Aref
// take Low input action
}

if ( (A6input >100) && (A6input<615) ){
// indeterminate digital input
// your call as to how to handle this
}