// /*
// Empowerment Technology
// iParol v2 (PHS - STEM)
// s.2023
// */
// //******************************************
// // USE write() in replace to digitalWrite()
// // The diagram uses 16x16 matrix. Note that the 16th adress will not work
// // This will work with 15x15 boards
// //******************************************
#include "MUX_iParol.h"
byte allColor[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225};
//seq12
byte RonSEQ12a[] = {33,34,48,42,43,58,168,183,184,192,193,178};//12
byte RonSEQ12b[] = {49,57,169,177};//4
byte RonSEQ12c[] = {50,64,65,56,71,72,154,155,170,161,162,176};//12
byte RonSEQ12d[] = {109,95,81,67,53,69,85,101,117,131,145,159,173,157,141,125};//16
byte RonSEQ12e[] = {110,96,82,68,84,100,116,130,144,158,142,126,};//12
byte RonSEQ12f[] = {111,97,83,99,115,129,143,127,};//8
byte RonSEQ12g[] = {112,98,114,128};//4
// seqh 113 high
byte RonSEQ12iclose[] = {1,15,225,211,109,95,81,67,53,69,85,101,117,131,145,159,173,157,141,125};//20
byte RonSEQ12jclose[] = {16,2,14,30,196,212,224,210,110,96,82,68,84,100,116,130,144,158,142,126,};//20
byte RonSEQ12kclose[] = {31,17,3,13,129,43,181,197,213,223,209,195,111,97,83,99,115,129,143,127,};//8
byte RonSEQ12lclose[] = {32,33,18,28,43,44,182,183,198,193,194,208,112,113,114,98,128};//17
//seq12m 133 high
//seq12n counter clockwise to seq12 o
byte RonSEQ12ntoO [] = {98,114,128,112,97,83,99,115,129,143,127,111,96,82,68,84,100,116,130,144,158,142,126,110};//24
byte RonSEQ12o[] = {109,95,81,67,53,69,85,101,117,131,145,159,173,157,141,125};//16
byte RonSEQ12p[] = {108,94,80,66,52,38,54,70,86,102,118,132,146,160,174,188,172,156,140,124};//20
byte RonSEQ12q[] = {107,93,79,51,37,23,39,55,87,103,119,133,147,175,189,203,187,171,139,123};//20
byte RonSEQ12rclose[] = {48,49,34,42,57,58,177,178,192,168,169,184,107,93,79,51,37,23,39,55,87,103,119,133,147,175,189,203,187,171,139,123};//32
byte RonSEQ12sclose[] = {64,50,56,72,154,170,176,162,108,94,80,66,52,38,54,70,86,102,118,132,146,160,174,188,172,156,140,124};//28
byte RonSEQ12tclose[] = {65,71,161,155,109,95,81,67,53,69,85,101,117,131,145,159,173,157,141,125};//20
// seq13 closing
byte RonSEQ13aclose[] = {110,96,82,68,84,100,116,130,144,158,142,126};//12
byte RonSEQ13bclose[] = {111,97,83,99,115,129,143,127};//8
byte RonSEQ13cclose[] = {112,98,114,128};//4
byte RonSEQ13d[] = {112,98,114,128};//4
byte RonSEQ13e[] = {111,97,83,99,115,129,143,127};//8
byte RonSEQ13f[] = {110,96,82,68,84,100,116,130,144,158,142,126};//12
byte RonSEQ13g[] = {109,95,81,67,53,69,85,101,117,131,145,159,173,157,141,125};//16
byte RonSEQ13h[] = {65,71,155,161};//4
byte RonSEQ13i[] = {64,50,56,72,154,170,176,162};//8
byte RonSEQ13j[] = {49,57,169,177};//4
byte RonSEQ13k[] = {48,34,42,58,168,184,192,178};//8
byte RonSEQ13l[] = {33,43,183,193};//4
byte RonSEQ13m[] = {17,32,18,28,29,44,182,197,198,208,209,194};//12
// seq n 113LOW
byte RonSEQ13oclose[] = {97,112,127,98,128,99,114,129};//8
byte RonSEQ13pclose[] = {81,96,111,126,141,142,143,144,145,130,115,100,85,84,83,82,};//16
byte RonSEQ13qclose[] = {95,110,125,101,116,131,157,158,159,67,68,69,65,71,155,161};//16
byte RonSEQ13rclose[] = {109,53,173,117,49,64,50,56,57,72,154,169,170,176,177,162};//16
byte RonSEQ13sclose[] = {33,48,34,42,43,58,168,183,184,192,193,178};//12
byte RonSEQ13tclose[] = {17,18,32,28,29,44,182,197,198,208,209,194};
//seq14
// a 113 HIGH
byte RonSEQ14b[] = {112,98,128,114};//4
byte RonSEQ14c[] = {111,97,83,99,115,129,143,127,};//8
byte RonSEQ14d[] = {96,126,82,142,84,144,100,130};//8
// manual write coding e to l
byte RonSEQ14m[] = {33,48,34,49,42,43,58,168,183,184,178,192,193,68,110,158,116,65,71,155,161};//16
byte RonSEQ14n[] = {17,32,18,28,29,44,182,197,198,208,209,194,80,66,70,86,146,160,140,156};//20
byte RonSEQ14o[] = {47,19,23,37,38,39,27,59,107,93,108,123,167,199,187,188,189,203,207,179,103,118,133,119};//24
byte RonSEQ14p[] = {22,24,202,204,106,92,78,122,138,88,104,120,134,148,1,2,3,16,31,13,14,15,30,45,181,196,211,212,213,223,224,225,210,195,5,20,21,35,36,11,25,26,40,41,190,191,205,206,221,185,200,186,201,215,95,81,67,69,85,101,131,145,159,157,141,125};//66
byte RonSEQ14qLOW[] = {1,211,15,225};//4
byte RonSEQ14rLOW[] = {16,2,17,14,29,30,196,197,212,209,210,224,};//12
byte RonSEQ14sLOW[] = {31,32,33,18,3,13,28,43,44,45,181,182,183,198,213,223,208,193,194,195};//20
byte RonSEQ14tLOW[] = {47,48,49,34,19,22,23,24,27,42,57,58,59,167,168,169,184,199,202,203,204,207,192,177,178,179};//26
//seq15
// 113
byte RonSEQ15a[] = {112,98,114,128};//4
byte RonSEQ15b[] = {111,97,83,99,115,129,143,127};//8
byte RonSEQ15c[] = {110,96,82,68,84,100,116,130,144,158,142,126};//12
//seq16
byte Ron16SEQ278[] = {106,92,78,122,138,5,21,37,53,39,25,11,88,104,120,134,148,221,205,189,173,187,201,215,38,188};//26
byte Ron16SEQ279[] = {79,93,107,123,139,20,36,52,54,40,26,87,103,119,133,147,200,186,172,174,190,206};//22
byte Ron16SEQ280[] = {64,65,50,35,41,56,71,72,154,155,170,185,161,162,176,191,66,80,94,108,124,140,156,70,86,102,118,132,146,160,110,68,116,158};//34
byte Ron16SEQ281[] = {67,81,95,109,125,141,157,159,145,131,117,101,85,69,51,55,171,175,96,126,82,142,84,100,130,144};//26
byte Ron16SEQ282[] = {111,97,83,99,115,129,143,127};//8
byte Ron16SEQ283[] = {112,98,128,114};//4
// 284 113 LOW
//seq 17
byte Ron17a[] = {1,211,15,225};//4
byte Ron17b[] = {16,2,196,212,14,30,224,210};//8
byte Ron17c[] = {31,3,181,213,13,45,223,195};//8
byte Ron17d[] = {17,29,197,209};//4
byte Ron17e[] = {32,18,182,198,28,44,208,194};//8
byte Ron17f[] = {33,43,193,183};//4
byte Ron17g[] = {42,58,48,34,168,184,192,178};//8
byte Ron17h[] = {49,57,177,169};//4
byte Ron17i[] = {56,50,64,72,154,170,176,162};//8
byte Ron17j[] = {65,71,155,161};//4
byte Ron17k[] = {80,81,66,70,85,86,140,141,156,145,160,146};//12
byte Ron17l[] = {96,82,84,100,126,142,144,130};//8
byte Ron17m[] = {97,99,129,127};//4
// n 113 high
byte Ron17o[] = {112,98,128,114};//4
byte Ron17p[] = {111,83,115,143};//4
byte Ron17q[] = {95,110,125,67,68,69,101,116,131,157,158,159};//12
byte Ron17r[] = {108,94,109,124,52,53,54,38,172,173,174,188,102,117,132,118};//16
byte Ron17sclose[] = {1,211,15,225};//4
byte Ron17tclose[] = {16,2,196,212,14,30,224,210};//8
byte Ron17uclose[] = {31,17,3,181,197,213,13,29,45,223,209,195};//12
byte Ron17vclose[] = {32,33,18,28,43,44,182,183,198,208,193,194};//12
byte Ron17wclose[] = {48,34,42,58,168,184,192,178};//8
byte Ron17xclose[] = {49,50,64,56,57,72,154,169,170,176,177,162};//12
byte Ron17y[] = {64,50,154,170,56,72,176,162};//8
byte Ron17zclose[] = {64,50,154,170,56,72,176,162,65,71,155,161};//12
byte Ron17aa[] = {65,155,71,161};//4
byte Ron17ab[] = {64,50,154,170,56,72,176,162,65,71,155,161};//12
byte Ron17ac[] = {49,57,169,177};//4
byte Ron17ad[] = {48,34,42,58,168,184,192,178};//8
byte Ron17aeclose[] = {48,34,42,58,168,184,192,178};//8
byte Ron17afclose[] = {49,57,169,177};//4
byte Ron17gclose[] = {64,50,154,170,56,72,176,162};//8
byte Ron17ahclose[] = {65,155,71,161};//4
byte Ron17close[] = {108,38,118,188,110,68,116,158,112,98,114,128,94,80,66,52,54,70,86,102,132,146,160,174,172,156,140,124,96,82,84,100,130,144,142,126,113,111,97,83,99,115,129,143,127,109,95,81,67,53,69,85,101,117,131,145,159,173,157,141,125};//63
void setup(){
//you dont need to write anything here
iParol_Init();
}
void loop(){
RonLightClose();
RonLightUp12SEQ();
RonLightUp13SEQ();
RonLightUp14SEQ();
RonLightUp15SEQ();
RonLightUp16SEQ();
RonLightUp17SEQ();
}
void RonLightUp12SEQ(){
//a
for(int i=0; i<=11; i++){
write(RonSEQ12a[i],HIGH);
}
delay(150);
//b
for(int i=0; i<=3; i++){
write(RonSEQ12b[i],HIGH);
}
delay(150);
//c
for(int i=0; i<=11; i++){
write(RonSEQ12c[i],HIGH);
}
delay(150);
//d
for(int i=0; i<=15; i++){
write(RonSEQ12d[i],HIGH);
}
delay(150);
//e
for(int i=0; i<=11; i++){
write(RonSEQ12e[i],HIGH);
}
delay(150);
//f
for(int i=0; i<=7; i++){
write(RonSEQ12f[i],HIGH);
}
delay(150);
//g04
for(int i=0; i<=3; i++){
write(RonSEQ12g[i],HIGH);
}
delay(150);
//h
write(113,HIGH);
delay(150);
//i
for(int i=0; i<=19; i++){
write(RonSEQ12iclose[i],LOW);
}
delay(150);
//j
for(int i=0; i<=19; i++){
write(RonSEQ12jclose[i],LOW);
}
delay(150);
//k
for(int i=0; i<=19; i++){
write(RonSEQ12kclose[i],LOW);
}
delay(150);
//l
for(int i=0; i<=16; i++){
write(RonSEQ12lclose[i],LOW);
}
delay(150);
//m
write(113,HIGH);
delay(150);
//n to o
for(int i=0; i<=23; i++){
write(RonSEQ12ntoO[i],HIGH);
delay(150);
}
//o
for(int i=0; i<=15; i++){
write(RonSEQ12o[i],HIGH);
}
delay(150);
//p
for(int i=0; i<=19; i++){
write(RonSEQ12p[i],HIGH);
}
delay(150);
//q
for(int i=0; i<=19; i++){
write(RonSEQ12q[i],HIGH);
}
delay(150);
//r
for(int i=0; i<=32; i++){
write(RonSEQ12rclose[i],LOW);
}
delay(150);
//s
for(int i=0; i<=27; i++){
write(RonSEQ12sclose[i],LOW);
}
delay(150);
//t
for(int i=0; i<=19; i++){
write(RonSEQ12tclose[i],LOW);
}
delay(150);
}
void RonLightUp13SEQ(){
//a
for(int i=0; i<=11; i++){
write(RonSEQ13aclose[i],LOW);
}
delay(150);
//b
for(int i=0; i<=7; i++){
write(RonSEQ13bclose[i],LOW);
}
delay(150);
//c
for(int i=0; i<=3; i++){
write(RonSEQ13cclose[i],LOW);
}
delay(150);
//d
for(int i=0; i<=3; i++){
write(RonSEQ13d[i],HIGH);
}
delay(150);
//e
for(int i=0; i<=7; i++){
write(RonSEQ13e[i],HIGH);
}
delay(150);
//f
for(int i=0; i<=11; i++){
write(RonSEQ13f[i],HIGH);
}
delay(150);
//g
for(int i=0; i<=15; i++){
write(RonSEQ13g[i],HIGH);
}
delay(150);
//h
for(int i=0; i<=3; i++){
write(RonSEQ13h[i],HIGH);
}
delay(150);
//i
for(int i=0; i<=7; i++){
write(RonSEQ13i[i],HIGH);
}
delay(150);
//j
for(int i=0; i<=3; i++){
write(RonSEQ13j[i],HIGH);
}
delay(150);
//k
for(int i=0; i<=11; i++){
write(RonSEQ13k[i],HIGH);
}
delay(150);
//l
for(int i=0; i<=3; i++){
write(RonSEQ13l[i],HIGH);
}
delay(150);
//m
for(int i=0; i<=11; i++){
write(RonSEQ13m[i],HIGH);
}
delay(150);
//n
write(113,LOW);
delay(150);
//o
for(int i=0; i<=7; i++){
write(RonSEQ13oclose[i],LOW);
}
delay(150);
//p
for(int i=0; i<=15; i++){
write(RonSEQ13pclose[i],LOW);
}
delay(150);
//q
for(int i=0; i<=15; i++){
write(RonSEQ13qclose[i],LOW);
}
delay(150);
//r
for(int i=0; i<=15; i++){
write(RonSEQ13rclose[i],LOW);
}
delay(150);
//s
for(int i=0; i<=11; i++){
write(RonSEQ13sclose[i],LOW);
}
delay(150);
//t
for(int i=0; i<=11; i++){
write(RonSEQ13tclose[i],LOW);
}
delay(150);
}
void RonLightUp14SEQ(){
//a
write(113,HIGH);
delay(150);
//b
for(int i=0; i<=3; i++){
write(RonSEQ14b[i],HIGH);
}
delay(150);
//c
for(int i=0; i<=7; i++){
write(RonSEQ14c[i],HIGH);
}
delay(150);
//d
for(int i=0; i<=7; i++){
write(RonSEQ14d[i],HIGH);
}
delay(150);
//e
write(109,HIGH);
write(53,HIGH);
write(117,HIGH);
write(173,HIGH);
delay(150);
//f
write(94,HIGH);
write(54,HIGH);
write(132,HIGH);
write(172,HIGH);
delay(150);
//g
write(79,HIGH);
write(55,HIGH);
write(147,HIGH);
write(171,HIGH);
delay(150);
//h
write(56,HIGH);
write(64,HIGH);
write(162,HIGH);
write(170,HIGH);
delay(150);
//i
write(49,HIGH);
write(57,HIGH);
write(177,HIGH);
write(169,HIGH);
delay(150);
//j
write(50,HIGH);
write(72,HIGH);
write(176,HIGH);
write(154,HIGH);
delay(150);
//k
write(51,HIGH);
write(87,HIGH);
write(175,HIGH);
write(139,HIGH);
delay(150);
//l
write(52,HIGH);
write(102,HIGH);
write(174,HIGH);
write(124,HIGH);
delay(150);
//m
for(int i=0; i<=20; i++){
write(RonSEQ14m[i],HIGH);
}
delay(150);
//n
for(int i=0; i<=19; i++){
write(RonSEQ14n[i],HIGH);
}
delay(150);
//o
for(int i=0; i<=23; i++){
write(RonSEQ14o[i],HIGH);
}
delay(150);
//p
for(int i=0; i<=65; i++){
write(RonSEQ14p[i],HIGH);
}
delay(150);
//q
for(int i=0; i<=3; i++){
write(RonSEQ14qLOW[i],LOW);
}
delay(150);
//r
for(int i=0; i<=11; i++){
write(RonSEQ14rLOW[i],LOW);
}
delay(150);
//s
for(int i=0; i<=19; i++){
write(RonSEQ14sLOW[i],LOW);
}
delay(150);
//t
for(int i=0; i<=25; i++){
write(RonSEQ14tLOW[i],LOW);
}
delay(150);
}
void RonLightUp15SEQ(){
// 260
write(113,LOW);
delay(150);
//261
write(113,HIGH);
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],LOW);
}
delay(150);
//262
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],HIGH);
}
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],LOW);
}
delay(150);
//263
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],HIGH);
}
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],LOW);
}
delay(150);
//264
write(113,LOW);
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],HIGH);
}
delay(150);
//265
write(113,HIGH);
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],LOW);
}
delay(150);
//266
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],HIGH);
}
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],LOW);
}
delay(150);
//267
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],HIGH);
}
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],LOW);
}
delay(150);
//268
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],HIGH);
}
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],LOW);
}
delay(150);
//269
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],HIGH);
}
write(113,LOW);
delay(150);
//270
write(113,HIGH);
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],LOW);
}
delay(150);
//271
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],HIGH);
}
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],LOW);
}
delay(150);
//272
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],HIGH);
}
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],LOW);
}
delay(150);
//273
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],HIGH);
}
write(113,LOW);
delay(150);
//274
write(113,HIGH);
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],LOW);
}
delay(150);
//275
for(int i=0; i<=3; i++){
write(RonSEQ15a[i],HIGH);
}
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],LOW);
}
delay(150);
//276
for(int i=0; i<=7; i++){
write(RonSEQ15b[i],HIGH);
}
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],LOW);
}
delay(150);
//277
for(int i=0; i<=11; i++){
write(RonSEQ15c[i],HIGH);
}
delay(150);
}
void RonLightUp16SEQ(){
//278
for(int i=0; i<=26; i++){
write(Ron16SEQ278[i],LOW);
}
delay(150);
//279
for(int i=0; i<=21; i++){
write(Ron16SEQ279[i],LOW);
}
delay(150);
//280
for(int i=0; i<=33; i++){
write(Ron16SEQ280[i],LOW);
}
delay(150);
//281
for(int i=0; i<=25; i++){
write(Ron16SEQ281[i],LOW);
}
delay(150);
//282
for(int i=0; i<=7; i++){
write(Ron16SEQ282[i],LOW);
}
delay(150);
//283
for(int i=0; i<=3; i++){
write(Ron16SEQ283[i],LOW);
}
delay(150);
//284
write(113,LOW);
delay(150);
}
void RonLightUp17SEQ(){
//a
for(int i=0; i<=3; i++){
write(Ron17a[i],HIGH);
}
delay(150);
//b
for(int i=0; i<=7; i++){
write(Ron17b[i],HIGH);
}
delay(150);
//c
for(int i=0; i<=7; i++){
write(Ron17c[i],HIGH);
}
delay(150);
//d
for(int i=0; i<=3; i++){
write(Ron17d[i],HIGH);
}
delay(150);
//e
for(int i=0; i<=7; i++){
write(Ron17e[i],HIGH);
}
delay(150);
//f
for(int i=0; i<=3; i++){
write(Ron17f[i],HIGH);
}
delay(150);
//g
for(int i=0; i<=7; i++){
write(Ron17g[i],HIGH);
}
delay(150);
//h
for(int i=0; i<=3; i++){
write(Ron17h[i],HIGH);
}
delay(150);
//i
for(int i=0; i<=7; i++){
write(Ron17i[i],HIGH);
}
delay(150);
//j
for(int i=0; i<=3; i++){
write(Ron17j[i],HIGH);
}
delay(150);
//k
for(int i=0; i<=11; i++){
write(Ron17k[i],HIGH);
}
delay(150);
//l
for(int i=0; i<=7; i++){
write(Ron17l[i],HIGH);
}
delay(150);
//m
for(int i=0; i<=3; i++){
write(Ron17m[i],HIGH);
}
delay(150);
//n
write(113,HIGH);
delay(150);
//o
for(int i=0; i<=3; i++){
write(Ron17o[i],HIGH);
}
delay(150);
//p
for(int i=0; i<=3; i++){
write(Ron17p[i],HIGH);
}
delay(150);
//q
for(int i=0; i<=11; i++){
write(Ron17q[i],HIGH);
}
delay(150);
//r
for(int i=0; i<=15; i++){
write(Ron17r[i],HIGH);
}
delay(150);
//s
for(int i=0; i<=3; i++){
write(Ron17sclose[i],LOW);
}
delay(150);
//t
for(int i=0; i<=7; i++){
write(Ron17tclose[i],LOW);
}
delay(150);
//u
for(int i=0; i<=11; i++){
write(Ron17uclose[i],LOW);
}
delay(150);
//v
for(int i=0; i<=11; i++){
write(Ron17vclose[i],LOW);
}
delay(150);
//w
for(int i=0; i<=7; i++){
write(Ron17wclose[i],LOW);
}
delay(150);
//x
for(int i=0; i<=11; i++){
write(Ron17xclose[i],LOW);
}
delay(150);
//y
for(int i=0; i<=7; i++){
write(Ron17y[i],HIGH);
}
delay(150);
//z
for(int i=0; i<=11; i++){
write(Ron17zclose[i],LOW);
}
delay(150);
//aa
for(int i=0; i<=3; i++){
write(Ron17aa[i],HIGH);
}
delay(150);
//ab
for(int i=0; i<=11; i++){
write(Ron17ab[i],HIGH);
}
delay(150);
//ac
for(int i=0; i<=3; i++){
write(Ron17ac[i],HIGH);
}
delay(150);
//ad
for(int i=0; i<=7; i++){
write(Ron17ad[i],HIGH);
}
delay(150);
//ae
for(int i=0; i<=7; i++){
write(Ron17aeclose[i],LOW);
}
delay(150);
//af
for(int i=0; i<=3; i++){
write(Ron17afclose[i],LOW);
}
delay(150);
//ag
for(int i=0; i<=7; i++){
write(Ron17gclose[i],LOW);
}
delay(150);
//h
for(int i=0; i<=3; i++){
write(Ron17ahclose[i],LOW);
}
delay(150);
//close
for(int i=0; i<=62; i++){
write(Ron17close[i],LOW);
delay(150);
}
}
void RonLightClose(){
//alllightclose
for(int i=0; i<=224; i++){
write(allColor[i],LOW);
}
delay(200);
}