                 matrix.set(row, col, random(2));
             }
         }
+        // Rotate matrix
+        matrix.setRotation();
     }
     cascade.invert();
     delay(50*delaytime);

const uint8_t CascadeSize = 3;
MatrixCascade<CascadeSize> cascade(12, 11, 10);

unsigned long delaytime = 30;

void setup()
{

    // Rotate some matrixes
    cascade[1].setRotation(2);
    cascade[2].setRotation(2);

    // Init random sequense
    randomSeed(millis());
}


void loop()
{ 
    for(auto &matrix: cascade) {
        for(auto &row: matrix.rows()) {
            for(auto &col: matrix.cols()) {
                delay(delaytime);
                matrix.set(row, col, random(2));
            }
        }
    }

    // Invert all matrixes on cascade
    cascade.invert();
    delay(50*delaytime);

