Mini Pro - Location of MISO/MOSI Pins

Hi all, my first post so be gentle! And it is a very simple question. I have found conflicting pin out diagrams for the Pro Mini. Most show pin 12 is MISO and pin 11 MOSI but there are also a few diagrams with these reversed.

Can anyone give me a definitive answer?

Thanks in advance. :slight_smile:

The schematic should be the definite reference.

Thank you! I'll go with that and ignore the other diagrams which show them reversed. :slight_smile:

This is from pins_arduino.h

#define PIN_SPI_SS    (10)
#define PIN_SPI_MOSI  (11)
#define PIN_SPI_MISO  (12)
#define PIN_SPI_SCK   (13)

static const uint8_t SS   = PIN_SPI_SS;
static const uint8_t MOSI = PIN_SPI_MOSI;
static const uint8_t MISO = PIN_SPI_MISO;
static const uint8_t SCK  = PIN_SPI_SCK;

So you can use e.g. Serial.println(MOSI) and it should give you the pin number :wink: