Hello every body
I am trying to interface the MicroSD with Arduino Mega but I could not figure out the new SPI pins for the MicroSD library. I found out that the SPI pins for the mega are
SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS).
In the MicroSD library, I found this definations :
// see header for credits
#include "mmc.h"
// PORTB pin numbers
//
// arduino D10
#define SS 2
// arduino D11
#define MOSI 3
// arduino D12
#define MISO 4
// arduino D13
#define SCK 5
However, I could not figure out what the numbers 2,3,4 and 5 mean.
The board that I am using is microSD module for Arduino
Could anyone help me with that.