petee
New Member
Posts: 4
|
Post by petee on Apr 8, 2014 1:28:10 GMT -8
I'm a newcomer to the Arduino and to Gameduino. I have a Leonardo that appears to be working ok (it runs basic examples like ReadAnalogVoltage). I modified the board as follows: Cut tracks from U2 pins 12 (IO11*), 26 (IO12) & 32(IO13*). Connected ICSP header pin 4 (MOSI) to J1 pin 4 (shown as "~11"). Connected ICSP header pin 1 (MISO) to J1 pin 5 (shown as "12"). Connected ICSP header pin 3 (SCK) to J1 pin 6 (shown as "~13"). I installed the Gameduino 2 library. I copied the data files to a FAT-formatted microSD card. I attached the Gameduino 2 to the Leonardo & uploaded the "helloworld" program. The Tx & Rx LEDs blinked a couple of times, the LCD screen flashed white briefly & then - nothing.
I would be extremely grateful for any advice. I am an electronics engineer so I have the means to poke around a bit.
One question: Will the two boards together exceed the USB supply 500mA rating? I thought this could be the problem, so I connected an external 12V supply to the Arduino, but it runs too hot.
Regards, Peter Clark.
|
|
|
Post by jamesbowman on Apr 8, 2014 6:26:02 GMT -8
Just to be clear, there is no need to cut any tracks on the Leonardo. Adding the three extra lines is fine. The LCD screen flashing at power-up is a good sign. It means that the SPI command to initialize the GPU worked. I would: - check the MISO line
- try with a different USB cable/port. GD2's backlight is quite bright - it draws a lot of current
|
|
petee
New Member
Posts: 4
|
Post by petee on Apr 15, 2014 2:33:41 GMT -8
I found that "helloworld" worked if the microSD card was removed. I had previously formatted it on my PC (I tried FAT and FAT32) and copied the data files to it as instructed. I opened some of the files using my PC without any problem, but when I plugged the card into the Gameduino it caused all the programs to hang. I used a different microSD card and now most of the programs seem to load and run ok.
|
|