//Arduino has a special instruction tot use shift registers.
// PowerPOV 78HC594 ELEKTOR

int HIGHLOW = 2; //LED level
int RCLR = 3; //Clear Storage register
int RCK = 4;  //Write storage register
int SCK = 5;  //Clock shift register
int SCLR = 6;  //Clear shift register
int PWM = 9;
int x;  //counter
int d=0;   //delay
int StartPin= 5;


int data1[6] = {0,0,1,32,0,0}; //diode
int data2[6] = {0,0,1,32,0,0}; 
int data3[6] = {0,0,1,32,0,0};
int data4[6] = {0,0,1,32,0,0};
int data5[6] = {36,146,73,36,146,73};            
int data6[6] = {4,201,36,146,72,72};   
int data7[6] = {0,153,36,146,66,64}; 
int data8[6] = {0,19,36,146,18,0};
int data9[6] = {0,2,100,144,144,0}; 
int data10[6] = {0,0,76,132,128,0};
int data11[6] = {0,0,9,36,0,0};
int data12[6] = {36,146,73,36,146,73};
int data13[6] = {0,0,1,32,0,0};   
int data14[6] = {0,0,1,32,0,0};   
int data15[6] = {0,0,1,32,0,0};
int data16[6] = {0,0,1,32,0,0};  //diode
int data17[6] = {0,0,0,0,0,0}; 
int data18[6] = {255,255,255,255,127,255}; //E
int data19[6] = {255,255,255,255,127,255};              
int data20[6] = {252,0,0,252,0,63};   
int data21[6] = {252,0,0,252,0,63};
int data22[6] = {252,0,0,252,0,63}; 
int data23[6] = {0,0,0,0,0,0};
int data24[6] = {0,0,0,0,0,0};
int data25[6] = {255,255,255,255,127,255};   //L         
int data26[6] = {255,255,255,255,127,255};   
int data27[6] = {252,0,0,0,0,0}; 
int data28[6] = {252,0,0,0,0,0};
int data29[6] = {252,0,0,0,0,0}; 
int data30[6] = {0,0,0,0,0,0};
int data31[6] = {0,0,0,0,0,0};
int data32[6] = {255,255,255,255,127,255};  //E
int data33[6] = {255,255,255,255,127,255};   
int data34[6] = {252,0,0,252,0,63};   
int data35[6] = {252,0,0,252,0,63};
int data36[6] = {252,0,0,252,0,63};  
int data37[6] = {0,0,0,0,0,0}; 
int data38[6] = {0,0,0,0,0,0}; 
int data39[6] = {255,255,255,255,127,255};   //K           
int data40[6] = {255,255,255,255,127,255};   
int data41[6] = {0,0,15,252,128,0};
int data42[6] = {0,15,248,31,240,0}; 
int data43[6] = {0,127,192,3,254,0};
int data44[6] = {3,254,0,0,127,192};
int data45[6] = {31,240,0,0,15,248};            
int data46[6] = {255,128,0,0,1,255};   
int data47[6] = {252,0,0,0,0,63}; 
int data48[6] = {0,0,0,0,0,0};
int data49[6] = {0,0,0,0,0,63};        //T
int data50[6] = {0,0,0,0,0,63};
int data51[6] = {0,0,0,0,0,63};
int data52[6] = {255,255,255,255,127,255};
int data53[6] = {255,255,255,255,127,255};   
int data54[6] = {0,0,0,0,0,63};   
int data55[6] = {0,0,0,0,0,63};
int data56[6] = {0,0,0,0,0,63};  
int data57[6] = {0,0,0,0,0,0}; 
int data58[6] = {0,0,0,0,0,0}; 
int data59[6] = {3,255,255,255,255,192};    //O          
int data60[6] = {31,255,255,255,255,248};   
int data61[6] = {252,0,0,0,0,63};
int data62[6] = {252,0,0,0,0,63}; 
int data63[6] = {252,0,0,0,0,63};
int data64[6] = {252,0,0,0,0,63};
int data65[6] = {31,255,255,255,255,248};            
int data66[6] = {3,255,255,255,255,192};   
int data67[6] = {0,0,0,0,0,0}; 
int data68[6] = {0,0,0,0,0,0};
int data69[6] = {255,255,255,255,127,255}; //R
int data70[6] = {255,255,255,255,127,255};
int data71[6] = {0,0,7,224,0,63};
int data72[6] = {0,1,255,224,0,63};
int data73[6] = {0,15,255,224,0,63};   
int data74[6] = {3,255,199,224,0,63};   
int data75[6] = {255,240,0,255,255,248};
int data76[6] = {255,128,0,31,255,248};  
int data77[6] = {0,0,0,0,0,0}; 
int data78[6] = {0,0,0,0,0,0}; 
int data79[6] = {0,2,73,36,144,0};   //smiley           
int data80[6] = {0,29,182,219,98,0};   
int data81[6] = {0,237,142,219,108,64};
int data82[6] = {7,108,118,219,109,136}; 
int data83[6] = {59,99,182,216,157,177};
int data84[6] = {59,29,182,216,237,177};
int data85[6] = {59,29,137,219,109,177};            
int data86[6] = {59,29,182,216,157,177};   
int data87[6] = {59,99,182,216,237,177}; 
int data88[6] = {7,108,118,219,109,136};
int data89[6] = {7,108,118,219,109,136}; 
int data90[6] = {0,237,142,219,108,64};
int data91[6] = {0,29,182,219,98,0};
int data92[6] = {0,2,73,36,144,0};
int data93[6] = {0,0,0,0,0,0};   
int data94[6] = {0,0,0,0,0,0};   
int data95[6] = {182,210,73,36,148,146};
int data96[6] = {182,210,73,36,148,146};  
int data97[6] = {182,210,73,36,148,146}; 
int data98[6] = {182,210,73,36,148,146}; 
int data99[6] = {182,210,73,36,148,146};              
int data100[6] = {182,210,73,36,148,146};   


void setup() 
{ 
pinMode(HIGHLOW, OUTPUT); 
pinMode(RCLR, OUTPUT);  //Clear Storage register
pinMode(RCK, OUTPUT);   //Write storage register
pinMode(SCK, OUTPUT);   //Clock shift register
pinMode(SCLR, OUTPUT);  //Clear shift register
pinMode(PWM, OUTPUT);
analogWrite(PWM, 255); 
} 
void loop()
{
int val = analogRead(StartPin); //Read Start Button
  
while (val<200)  //Triggerpoint
   
{
    
digitalWrite(RCK, HIGH);  
digitalWrite(SCLR, HIGH); digitalWrite(SCLR, LOW); digitalWrite(SCLR, HIGH);  // Clear Shift Register   
digitalWrite(RCLR, HIGH); digitalWrite(RCLR, LOW); digitalWrite(RCLR, HIGH);  // Clear Storage Register



//TOPLED.NL
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data1[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data2[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data3[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data4[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data5[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data6[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data7[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data8[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data9[x]);}digitalWrite(RCK, HIGH);delay(d); 
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data10[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data11[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data12[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data13[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data14[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data15[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data16[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data17[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data18[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data19[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data20[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data21[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data22[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data23[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data24[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data25[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data26[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data27[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data28[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data29[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data30[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data31[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data32[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data33[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data34[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data35[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data36[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data37[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data38[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data39[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data40[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data41[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data42[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data43[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data44[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data45[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data46[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data47[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data48[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data49[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data50[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data51[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data52[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data53[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data54[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data55[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data56[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data57[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data58[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data59[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data60[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data61[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data62[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data63[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data64[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data65[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data66[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data67[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data68[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data69[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data70[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data71[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data72[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data73[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data74[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data75[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data76[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data77[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data78[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data79[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data80[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data81[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data82[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data83[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data84[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data85[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data86[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data87[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data89[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data90[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data91[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data92[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data93[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data94[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data95[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data96[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data97[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data98[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data99[x]);}digitalWrite(RCK, HIGH);delay(d);
digitalWrite(RCK, LOW); for (x=0; x<6; x++){ shiftOut(HIGHLOW, SCK, LSBFIRST, data100[x]);}digitalWrite(RCK, HIGH);delay(d);


val = analogRead(StartPin); //Read Start Button
while (val>800)  //Trigger point
   
{}
}
}