|
Post by TCB on Dec 4, 2014 19:57:24 GMT -8
I am trying to get my GD2 up and running on an Arduino Pro Micro.
I'm sure that the problem I'm having is related to the different pinouts, but I can't find the pin definitions in GD2.cpp, of GD2.h
Any suggestions?
Thankyou
|
|
hla
Junior Member
Posts: 29
|
Post by hla on Dec 5, 2014 0:27:53 GMT -8
Hi, I´ve used the Arduino Pro Mini in my project (http://weatherhelge.wordpress.com/2014/02/03/gameduino2-on-net/). It´s 5V. I only mapped the pins from Arduino UNO pinout to the corresponding pins on the Pro Mini. Didn't change any code. The Arduino 2 pinout can be found in excamera.com/sphinx/gameduino2/ (they match directly to the Arduino UNO) I can take a picture of all my connections (the picture in the reference is not up-to-date) if you want. Is your pro micro 3.3V or 5V ? (not sure if the Gameduino2 MUST have 5V or not...)
|
|
|
Post by TCB on Dec 5, 2014 9:30:17 GMT -8
|
|
hla
Junior Member
Posts: 29
|
Post by hla on Dec 5, 2014 12:54:07 GMT -8
Yeah, it has... Let's see, based on GD2 reference pinout excamera.com/sphinx/_images/gameduino2_pinout.png, and the pins I use on my Pro Mini. GD2 ProMini ProMicro SCK 13 15 MISO 12 14 MOSI 11 16 SDSel 9 9? INT 2 2?(unless it needs special programming) Is that what you have ? BTW, strange sequence on the 10,16,14,15 pins on the Pro Micro...
|
|
|
Post by TCB on Dec 5, 2014 13:58:56 GMT -8
Yes that matches my hookup
|
|
hla
Junior Member
Posts: 29
|
Post by hla on Dec 5, 2014 14:44:31 GMT -8
And the GPUSEL which is pin 8. Seems to be defined as CS in the file Gameduino2/transports/wiring.h
But you still have problems ?
|
|