I have still got to make up my adapter board but I just bought a couple of Arduino Nanos to play with. I have done simple Arduino projects previously but not as complex as this one and have never used libraries before. I am able to upload it appears (cannot check it on my game yet though).
I get several errors like these and wonder what they mean. It appears to upload however. I stripped off the directory path to where I keep the files:
FG2021.ino:2400:53: warning: return-statement with no value, in function returning 'int' [-fpermissive]
if (bonusFireworks<0 || bonusFireworks>9) return;
FG2021.ino:2373:204: warning: iteration 60 invokes undefined behavior [-Waggressive-loop-optimizations]
BSOS_SetLampState(AttractLampsMingAttack[lightcountdown].lightNumMingAttack, (dist<8), (dist==0/*||dist>5*/)?0:dist/3, (dist>5)?(100+AttractLampsMingAttack[lightcountdown].lightNumMingAttack):0);
FG2021.ino:2371:9: note: containing loop
for (byte lightcountdown=0; lightcountdown<NUM_OF_ATTRACT_LAMPS_MING_ATTACK; lightcountdown++) {
FG2021.ino: In function 'WizardMode':
FG2021.ino:2373:204: warning: iteration 60 invokes undefined behavior [-Waggressive-loop-optimizations]
BSOS_SetLampState(AttractLampsMingAttack[lightcountdown].lightNumMingAttack, (dist<8), (dist==0/*||dist>5*/)?0:dist/3, (dist>5)?(100+AttractLampsMingAttack[lightcountdown].lightNumMingAttack):0);
FG2021.ino:2371:9: note: containing loop
for (byte lightcountdown=0; lightcountdown<NUM_OF_ATTRACT_LAMPS_MING_ATTACK; lightcountdown++) {