2D Array

Is it possible to use a two dimensional array on the arduino?

If so, how would I declare one?

array [DIM_0_SIZE] [DIM_1_SIZE];

Thanks awol!

and, if you want to initialize:

<datatype> array [DIM_0_SIZE] [DIM_1_SIZE] = {
   //as many vals as dim1
  {val,val,val},
  {val,val,val}//as many rows as dim0
};

:slight_smile:

Thanks alphabeta :)