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

#include "MatrixCascade.h"
// This time we have more than one device. 


// pin 12 is connected to the DataIn 
// pin 11 is connected to the CLK 

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

unsigned long delaytime = 20;

void setup()
{
