#define N_LEDS 8 //void writeTables(const byte* tables[N_LEDS], long totalTime, int nTables) { //} #define TEST_LENGTH 5 const byte TEST[TEST_LENGTH][N_LEDS] = { { 0, 0, 0, 0, 1, 1, 1, 0 }, { 1, 0, 0, 1, 0, 0, 0, 1}, { 1, 0, 0, 1, 0, 0, 0, 1}, { 1, 0, 0, 1, 0, 0, 0, 1}, { 0, 1, 1, 0, 0, 0, 0, 1 } }; void setup() { for (int pin=0; pin