ARDUINO MEGA rev 3

I have bought Arduino MEGA.
I compile SD example, changing pin from 10 to 53, but mi Ethernet Shiedl fail to found the SD card.

The same shield on arduino UNO rev 3 works.

What's must i change?

I have also tried to modify #define MEGA_SOFT_SPI 0 to 1.

Can you help me?
Thanks

N

There must be problem in ur wiring.
I had experienced also to intagrate mega n lan eth shield.
This may help How to wire and test your Arduino + Ethernet Shield | KinectDuino
Wiring all the icsp, then wiring from pin 4(mega) to pin 4(eth) and pin 10 to pin 10 :grin:

contecavour:
I have bought Arduino MEGA.
I compile SD example, changing pin from 10 to 53, but mi Ethernet Shiedl fail to found the SD card.

Why? The shield's SD SS is hard-wired to pin 4. You don't change the chip select assignments when using the MEGA.

However, you should in setup() still set:
pinMode(53, OUTPUT)

Pin 53 is the on-chip SPI controller SS pin which needs to be set to OUTPUT to work properly, even though pin 53 of the MEGA isn't used by the Ethernet shield.

contecavour:
I have also tried to modify #define MEGA_SOFT_SPI 0 to 1.

Change it back.