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!!
byte y1 = 0; byte y2 =0; byte y3 =0; byte y4=0;
A project that I have started few months ago.
Basically, everything is working. Using Pinball fx2 for the games.
Time to keep up with the project… It has been sleeping for while.
What’s coming next:
Backglass with DMD and screen for image. Nudge control with accelerometer (basic setting). A bit of lighting…
DMD: Setting of Pin2Dmd.
I use a STM32F4 discovery board, P4 1/16 led matrix (cheaper than P2.5). I spent about a day to make this working; I could not get the board working with the last firmware (2.42). The communication with the PC was not responding. I then downgraded to 2.38 and all was fine excepted an image not sharp (kind of glitching or ghosting). I found out that I needed a bit more of 3.3 V to control the P4 because of the bus-driver of the P4, 74HC245, the HC version requires more than the HCT version. This is something that I will add on shield board for final connection. I decreased the supply of the P4 of few mV (final supply 4.7V).
Everything works fine now. I just need to register to get a key from PIN2DMD.
Next, a bit of light show for the backglass. To make the thing simple, I tested something like Ambilight. It extends the sides color of the screen to led stripes. Simple and okay to make some animation. For testing, I used the software AMBIBOX (direct download) and the following arduino code (need FastLED Library)
I use my previous Arduino due arcade control and added a bit of code for the accelerometer (ADXL345) reading. It is in testing now not 100% okay.
Backglass work in progress.
I needed for a user interface using dashboard to change the system date and time for only offline use.
Set time zone using raspi-config to UTC
A couple of commands example.
If you like to reset the content of a graph in Node-Red dashboard, use this method.