Background: I have built up an Adafruit data logger shield and tested it with an Arduino Uno. I can run the CardInfo and Datalogger examples in the SD library and read the logged data files by plugging the SD card into my netbook. This gives me confidence that the shield and card are both OK.
Problem: For my project, I need more outputs than the Uno provides, so I'm using a Mega 2560. I've studied the other threads about getting the logger shield to work with the Mega without making any physical changes, but I just can't get it to recognise the card.
In software I have changed the line in the SD/utility/Sd2Card.h file to:
#define MEGA_SOFT_SPI 1 (from #define MEGA_SOFT_SPI 0)
In the CardInfo example sketch I've changed two linesto
const int chipSelect = 10;
and
pinMode(53, OUTPUT);
as advised in the coding comments.
Where am I going wrong? Any help much appreciated.

