Hi,
Removed everything from the loop and only pasted in your code. But it wont compile
error message ;
Arduino: 1.8.5 (Windows 7), Board:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
C:\Users\Roonie\Documents\Arduino\Roon_cube_Mega\Roon_cube_Mega.ino: In function 'bool effect_rain(int)':
Roon_cube_Mega:219: error: 'setvoxel' was not declared in this scope
setvoxel(rnd_x, rnd_y, 7);
^
Roon_cube_Mega:228: error: 'shift' was not declared in this scope
shift(AXIS_Z, -1);
^
exit status 1
'setvoxel' was not declared in this scope
Dit rapport zou meer informatie bevatten met
"Uitgebreide uitvoer weergeven tijden compilatie"
optie aan in Bestand -> Voorkeuren.
thankx
Roon_cube_Mega.ino (4.66 KB)