#include const int num_nodes = 9; const int cycle_delay = 1; //ms int counter = 0; SoftwareSerial mySerial(4, 3); // RX, TX void setup(){ mySerial.begin(9600); } int delta(int i,int j){ if(i==j){ return 1; } else{ return 0; } } //int color_list[9][3] ={{0, 0, 126},{0,0, 252},{0, 126, 255},{0, 252, 252},{126, 255, 126},{252, 252, 0},{255, 126, 0},{252, 0, 0},{126, 0, 0}}; int color_list[6][3] ={{0, 0, 255},{0,255,255},{0,255, 0},{255,255,0},{255, 0, 0},{255,0,255}}; int black[] = {0,0,0}; void loop(){ for(int i=0; i