Hello, i've searched on the forum, but i couldn't find anything that helped me. I have an Arduino Ethernet and a Gameduino, stacking the GD on top of the Arduino doesn't let me even display the hello world sketch, what i have to do to make it work? However i can connect to the internet. Do i have to specify CS pins? I'm a newbie >_> Any help is appreciated, thank you.
i didn't understand what you meant about that 34 pin °_° (by the way pins are wrong, which is not a problem, don't worry) You want me to change the 8 ( which is Gameduino CS ) and 9 pin (which is Gameduino SD card CS) because they might be already used by the Ethernet? I can initialize the ethernet and receive a correct IP (which i can ping) before the GD.Begin in the setup(), while in the loop() (after the GD.begin) i can't do anything. i even tried to set 8 pin to high when i want to do some ethernet stuff.
Sorry!, my mistake, just looked on the Internet and found the board (also I did not realise I already had one)
Ignore my header explanation.
I just tried fitting the Gameduino2 on the Ehernet Sheild and I can see what you are talking about sitting on the RJ45 connector.
You can use the original SPI pins but find which pins are free to use with the Chip Selects (GPU and the SD). (you can still use the original SPI pins SCK/MISO/MOSI).
If anyone has issues similar issues fitting the Gameduino2 onto a Shield, you can always buy a Stackable Header kit and extend the height. (obviously you watch for any used pins which may clash with the operation)
One test which may be usefull is to connect the Arduino directly to the Gameduino2 without the Ethernet Shield.
That's how to get the GD started with the Ethernet shield installed. Now how to use both at the same time. To do this, we need to deselect the GD2, talk to the Ethernet then re-select the GD2. So every Ethernet conversation needs to be "wrapped" in a pair of calls like this:
GD.__end(); // deselect GD2 ... talk to Ethernet shield ... GD.resume(); // select GD2 again
So for example the full "setup()" function to start up the GD2 and the Ethernet might look like: