I want to stack Ethernet shield and USB host together with my Arduino MEGA 2560. Each of these shields works fine separately.
since both shields uses D10 pin I have modified USB host shield's D10 pin to D8 and also modified the library of the USB host library form D10 to D8 then I have checked the USB host shield and it works fine.
enter image description here
but when I stacked the Ethernet shield on USB host shield, the Ethernet shield doesn't work Only the USB Host works. All pins are working on Ethernet shield and USB Host shield I have tested. I have also connected ICSP pins, but the problem exists.
enter image description here
enter image description here
I have found this useful link on stacking usb host shield with WIFI shield but this works only upto modifying the USB host shield but I want to stack usb host with Ethernet shield.
Please help me to resolve this problem.
these are the shields I have used.
Circuits At Home USB Host Shield v2.0
Ethernet Shield v5.0
Thank you