is it my fault? or is the arduino not compatible with 4D-arrays?
An Arduino could handle a 12D array, if it were small enough. It is likely that the issue you are having is that you 4D array consumes more memory than you have.
Is there anyway to check your memory usage?
Quote from: Bram on Apr 06, 2012, 06:12 pmIs there anyway to check your memory usage?Look at the variables you've declared and count the bytes.
Counting the bytes used is useful - you only have 2K of SRAM to store variables in.If you have two 8x8x8 arrays, one that is being displayed and one that is being created to be displayed next,that is 8x8x8x2 = 1024 bytes of memory used right there. What other variables do you have?