Code compatibility problem

Good day everyone! :slight_smile:

I am currently trying to connect my dualshock 4 to my board via USB host shield and bluetooth dongle. The board that I am using is an Arduino clone, the Gizduino+. The same code is being verified but one is set on the Arduino Uno, and one is on Gizduino+. I am getting errors on the Gizduino+ even though it's the same code.

Has anyone encountered such problem? I am speculating that the code is only compatible to Arduino boards.

Thank you. :slight_smile:

pauloirvinchang:
Good day everyone! :slight_smile:

I am currently trying to connect my dualshock 4 to my board via USB host shield and bluetooth dongle. The board that I am using is an Arduino clone, the Gizduino+. The same code is being verified but one is set on the Arduino Uno, and one is on Gizduino+. I am getting errors on the Gizduino+ even though it's the same code.

Has anyone encountered such problem? I am speculating that the code is only compatible to Arduino boards.

Thank you. :slight_smile:

Well, for one thing, the Gizduino+ is not an Uno.

Check here... this may solve your problem (although I'm just guessing since I have no experience with that Gizduino board): [http://www.e-gizmo.com/KIT/gizduino+%20164,324,644.html](http://www.e-gizmo.com/KIT/gizduino+ 164,324,644.html)

Look for "Patch Files to Add gizDuino in Arduino IDE Board List Menu"

It's on a demented Microsoft "One Drive" so I can't post a direct link... you'll have to try to find it yourself.

Hey Krupski. :slight_smile:

I already have the Gizduino patch. I need it so I could select the Gizduino board in the boards list tab on the Arduino IDE.

But, here's a little bit of good news. :slight_smile:

I tried to search any discrepancies on the libraries between the two boards, and then I found out that the Gizduino folder didn't have the libraries that had the SPI.h. So I copied the libraries folder to the Gizduino folder, and it solved my error problems. :slight_smile:

But I have a new problem, the code now fails to compile. The bar on the IDE only goes up 1/4 the way and stops moving at all. I left it to compile thinking that the code is too complicated to compile quickly, but 5 mins in, it's still compiling.

This is weird. Other codes, such as blink, seems to be just fine iin compiling and uploading.