Connect multiple matrices
Using a single Arduino board, you can connect up to 8 matrices concurrently and control each one individually.
Simply order more matrices at: http://shop.podpi.com/collections/components/products/set-of-3-matrix-8x8-i2c-red
We will make sure to configure your matrices before shipping them with addresses 0x71, 0x72 and 0x73. You can then connect their SCL and SDA lines with your existing one, add the power (5V and GND) and you will be ready. To initialize them, use the following code:
var matrix = new five.Led.Matrix({ addresses: [0x70, 0x71, 0x72, 0x73], controller: "HT16K33", rotation: 2 });
Then, in your code, refer to the matrix you want to use as the matrix position in the array (a number from 0 to 3).
// code to display the same pixes on all 4 matrices matrix.led(0, 6, 2, 1 ); // matrix at address 0x70 matrix.led(1, 6, 2, 1 ); // matrix at address 0x71 matrix.led(2, 6, 2, 1 ); // matrix at address 0x72 matrix.led(3, 6, 2, 1 ); // matrix at address 0x73