Arduino
Arduino: collect2.exe: error: ld returned 5 exit status
I spent hours to try to find a solution to fix this error at compilation.
My code don’t have any problem, just the things showed up after upgrading arduino (win XP).
What I did at the end was to add dummy variable to the code and it worked. Try to add 1, 2, 3 , 4 and it worked!!
Example:
byte y1 = 0; byte y2 =0; byte y3 =0; byte y4=0;
good luck!
Pinball Key controller
Part of my Pinball project: Key Controller.
I am making a pinball game based on 46″ screen. I am running Pinball fx2 or Ultra Pinball.
To control the flips I made a small button interface using an Arduino due. We the Due one can easily create a USB keyboard interface using the USB host library.
Here is the program and some photos of the hardware wiring.