// /*
//   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 danSEQ78[] = {22,23,24,25,41,57,73,89,104,119,134,149,163,177,191,205,204,203,202,201,185,169,153,137,122,107,92,77,63,49,35,21};

byte danSEQ79[] = {5,6,7,8,9,10,11,27,43,59,75,90,105,120,135,150,165,179,193,207,221,220,219,218,217,216,215,199,183,167,151,136,121,106,91,76,61,47,33,19,4,18,32,46,12,28,44,60,180,194,208,222,214,198,182,166,2,3,16,31,13,14,30,45,212,213,181,196,223,224,195,210,1,15,211,225,38,108,188};

byte danSEQ80[] = {94,109,124,52,53,54,102,117,132,172,173,174,51,55,79,139,171,175,87,147,65,71,155,161};

byte danSEQ80a[] = {20,21,22,23,24,25,26,42,58,74,89,104,119,134,149,164,178,192,200,201,202,203,204,205,206,184,168,152,137,92,107,122,77,62,48,34,19,33,47,27,43,59,199,183,167,179,193,207,18,32,28,44,182,198,194,208,17,29,197,209,35,49,63,41,57,73,185,169,153,191,177,163,34,48,42,58,178,192,184,168,33,43,183,193,50,64,56,72,162,176,170,154,49,57,169,177,80,65,66,70,71,86,160,161,146,140,155,156,67,68,69,85,101,131,145,159,158,157,141,125,110,95,81,68,84,100,130,144,158,142,126,110,96,82,97,99,127,129};

byte danSEQ81[] = {8,218,7,23,203,219,6,22,38,188,204,220,5,21,37,53,173,189,205,221,4,20,36,52,68,158,174,190,206,222,3,19,35,51,67,83,143,159,175,191,207,223,1,2,18,34,50,66,82,98,128,144,160,176,192,208,224,225,16,17,33,49,65,81,97,129,145,161,177,193,209,210,31,32,48,64,80,96,130,146,162,178,194,195,46,47,63,79,95,112,114,131,147,163,179,180,61,62,78,94,110,111,115,132,148,164,165,76,77,93,109,126,100,116,117,133,149,150,91,92,108,125,141,85,101,102,118,134,135,106,107,123,124,140,156,70,86,87,103,119,120,121,122,138,139,154,155,171,55,71,72,88,104,105,136,137,153,169,170,186,40,56,57,73,89,90,151,152,168,184,185,201,25,41,42,58,74,75,166,167,183,199,200,201,25,26,27,43,59,60,181,182,198,28,44,45,196,197,211,29,30,15,14,212,13,213,12,214,11,215,10,216,9,217,24,202,39,187,54,172,69,157,84,142,99,127,113};

byte danSEQ82[] = {15,211,14,212,13,213,12,214,11,215,10,216,9,217,8,218,7,219,6,220,5,221,4,222,3,223,2,224,1,225,16,210,31,195,46,180,61,165,76,150,91,135,106,120,121,105,136,90,151,75,166,60,181,45,30,196,44,182,43,183,42,184,41,185,40,186,39,187,38,188,37,189,36,190,35,191,34,192,33,193,48,178,63,163,78,148,93,133,108,118,123,103,138,88,153,73,168,58,72,154,71,155,70,156,69,157,68,158,67,159,66,160,65,161,64,162,80,146,95,131,110,116,125,101,126,100,127,99,128,129,98,97,113,112,114,111,115,96,130,81,145,82,144,83,143,84,142,85,141,86,140,87,139,102,124,109,117,94,132,79,147,64,162,49,177,50,176,51,175,52,174,53,173,54,172,55,171,56,170,57,169,58,168,59,167,74,152,137,89,104,122,107,119,92,134,77,149,62,164,47,179,32,194,17,209,18,208,19,207,20,206,21,205,22,204,23,203,24,202,25,201,26,200,27,199,28,198,29,197,30,196,19,33,47,199,183,167,207,193,179,27,43,59,82,66,50,34,97,81,65,49,33};

byte danSEQ83[] = {13,98,112,114,128,83,97,111,127,143,129,115,99,68,82,96,110,126,142,158,144,130,116,100,84,53,67,81,95,109,125,141,157,173,159,145,131,117,101,85,69,38,52,66,80,94,108,124,140,156,172,188,174,160,146,132,118,102,86,70,54,23,37,51,65,79,93,107,123,139,155,171,187,203,189,175,161,147,133,119,103,87,71,55,39,22,36,50,64,78,92,122,138,154,170,186,202,204,190,176,162,148,134,104,88,72,56,40,24,21,35,49,63,77,137,153,169,185,201,205,191,177,163,149,89,73,57,41,25,20,34,48,62,200,184,168,152,206,192,178,164,26,42,58,74,3,17,31,181,197,213,223,209,195,13,29,45,2,16,196,212,224,210,14,30,1,15,211,225};

byte danSEQ84[] = {113,112,111,110,109,108,124,138,125,139,153,126,140,154,168,127,141,155,169,183,128,142,143,156,170,184,157,171,185,158,172,186,173,187,188,189,127,159,175,191,144,160,176,192,129,115,131,147,163,130,117,133,118,102,88,101,87,73,100,86,72,58,159,99,85,71,57,43,84,70,56,42,41,68,54,40,53,39,38,37,52,36,67,51,35,110,94,78,116,109,93,108};

void setup(){ 
  //you dont need to write anything here
  iParol_Init();
}

void loop() {
lightUpdanSEQ78();
lightUpdanSEQ79();
lightUpdanSEQ80();
lightUpdanSEQ80a();
lightUpdanSEQ81();
lightUpdanSEQ82();
lightUpdanSEQ83();
lightUpdanSEQ84();
}

void lightUpdanSEQ78(){
write(22, HIGH);
write(23, HIGH);
write(24, HIGH);
write(25, HIGH);
write(41, HIGH);
write(57, HIGH);
write(73, HIGH);
write(89, HIGH);
write(104, HIGH);
write(119, HIGH);
write(134, HIGH);
write(149, HIGH);
write(163, HIGH);
write(177, HIGH);
write(191, HIGH);
write(205, HIGH);
write(204, HIGH);
write(203, HIGH);
write(202, HIGH);
write(201, HIGH);
write(185, HIGH);
write(169, HIGH);
write(153, HIGH);
write(137, HIGH);
write(122, HIGH);
write(107, HIGH);
write(92, HIGH);
write(77, HIGH);
write(63, HIGH);
write(49, HIGH);
write(35, HIGH);
write(21, HIGH);
write(36, LOW);
write(37, LOW);
write(38, LOW);
write(39, LOW);
write(40, LOW);
write(56, LOW);
write(72, LOW);
write(88, LOW);
write(103, LOW);
write(118, LOW);
write(133, LOW);
write(148, LOW);
write(162, LOW);
write(176, LOW);
write(186, LOW);
write(187, LOW);
write(188, LOW);
write(189, LOW);
write(190, LOW);
write(170, LOW);
write(154, LOW);
write(78, LOW);
write(93, LOW);
write(108, LOW);
write(123, LOW);
write(138, LOW);
write(50, LOW);
write(64, LOW);
delay(125);
}

void lightUpdanSEQ79(){
write(5, HIGH);
write(6, HIGH);
write(7, HIGH);
write(8, HIGH);
write(9, HIGH);
write(10, HIGH);
write(11, HIGH);
write(27, HIGH);
write(43, HIGH);
write(59, HIGH);
write(75, HIGH);
write(90, HIGH);
write(105, HIGH);
write(120, HIGH);
write(135, HIGH);
write(150, HIGH);
write(165, HIGH);
write(179, HIGH);
write(193, HIGH);
write(207, HIGH);
write(221, HIGH);
write(220, HIGH);
write(219, HIGH);
write(218, HIGH);
write(217, HIGH);
write(216, HIGH);
write(215, HIGH);
write(199, HIGH);
write(183, HIGH);
write(167, HIGH);
write(151, HIGH);
write(136, HIGH);
write(121, HIGH);
write(106, HIGH);
write(91, HIGH);
write(76, HIGH);
write(61, HIGH);
write(47, HIGH);
write(33, HIGH);
write(19, HIGH);
write(22, LOW);
write(23, LOW);
write(24, LOW);
write(25, LOW);
write(41, LOW);
write(57, LOW);
write(73, LOW);
write(89, LOW);
write(104, LOW);
write(119, LOW);
write(134, LOW);
write(149, LOW);
write(163, LOW);
write(177, LOW);
write(191, LOW);
write(205, LOW);
write(204, LOW);
write(203, LOW);
write(202, LOW);
write(201, LOW);
write(185, LOW);
write(169, LOW);
write(153, LOW);
write(137, LOW);
write(122, LOW);
write(107, LOW);
write(92, LOW);
write(77, LOW);
write(63, LOW);
write(49, LOW);
write(35, LOW);
write(21, LOW);
delay(125);
write(4, HIGH);
write(18, HIGH);
write(32, HIGH);
write(46, HIGH);
write(12, HIGH);
write(28, HIGH);
write(44, HIGH);
write(60, HIGH);
write(180, HIGH);
write(194, HIGH);
write(208, HIGH);
write(222, HIGH);
write(214, HIGH);
write(198, HIGH);
write(182, HIGH);
write(166, HIGH);
write(19, LOW);
write(33, LOW);
write(47, LOW);
write(27, LOW);
write(43, LOW);
write(59, LOW);
write(179, LOW);
write(193, LOW);
write(207, LOW);
write(199, LOW);
write(183, LOW);
write(167, LOW);
delay(150);
write(2, HIGH);
write(3, HIGH);
write(16, HIGH);
write(31, HIGH);
write(13, HIGH);
write(14, HIGH);
write(30, HIGH);
write(45, HIGH);
write(212, HIGH);
write(213, HIGH);
write(181, HIGH);
write(196, HIGH);
write(223, HIGH);
write(224, HIGH);
write(195, HIGH);
write(210, HIGH);
write(18, LOW);
write(32, LOW);
write(28, LOW);
write(44, LOW);
write(208, LOW);
write(194, LOW);
write(198, LOW);
write(182, LOW);
delay(150);
write(1, HIGH);
write(15, HIGH);
write(211, HIGH);
write(225, HIGH);
delay(150);
}


void lightUpdanSEQ80(){
write(94, HIGH);
write(109, HIGH);
write(124, HIGH);
write(52, HIGH);
write(53, HIGH);
write(54, HIGH);
write(102, HIGH);
write(117, HIGH);
write(132, HIGH);
write(172, HIGH);
write(173, HIGH);
write(174, HIGH);
delay(150);
write(51, HIGH);
write(55, HIGH);
write(79, HIGH);
write(139, HIGH);
write(171, HIGH);
write(175, HIGH);
write(87, HIGH);
write(147, HIGH);
delay(150);
write(65, HIGH);
write(71, HIGH);
write(155, HIGH);
write(161, HIGH);
delay(150);
//danSEQ78
write(94, LOW);
write(109, LOW);
write(124, LOW);
write(52, LOW);
write(53, LOW);
write(54, LOW);
write(102, LOW);
write(117, LOW);
write(132, LOW);
write(172, LOW);
write(173, LOW);
write(174, LOW);
write(51, LOW);
write(55, LOW);
write(79, LOW);
write(139, LOW);
write(171, LOW);
write(175, LOW);
write(87, LOW);
write(147, LOW);
write(65, LOW);
write(71, LOW);
write(155, LOW);
write(161, LOW);
write(22, HIGH);
write(23, HIGH);
write(24, HIGH);
write(25, HIGH);
write(41, HIGH);
write(57, HIGH);
write(73, HIGH);
write(89, HIGH);
write(104, HIGH);
write(119, HIGH);
write(134, HIGH);
write(149, HIGH);
write(163, HIGH);
write(177, HIGH);
write(191, HIGH);
write(205, HIGH);
write(204, HIGH);
write(203, HIGH);
write(202, HIGH);
write(201, HIGH);
write(185, HIGH);
write(169, HIGH);
write(153, HIGH);
write(137, HIGH);
write(122, HIGH);
write(107, HIGH);
write(92, HIGH);
write(77, HIGH);
write(63, HIGH);
write(49, HIGH);
write(35, HIGH);
write(21, HIGH);
delay(150);
}


void lightUpdanSEQ80a(){
write(22, LOW);
write(23, LOW);
write(24, LOW);
write(25, LOW);
write(41, LOW);
write(57, LOW);
write(73, LOW);
write(89, LOW);
write(104, LOW);
write(119, LOW);
write(134, LOW);
write(149, LOW);
write(163, LOW);
write(177, LOW);
write(191, LOW);
write(205, LOW);
write(204, LOW);
write(203, LOW);
write(202, LOW);
write(201, LOW);
write(185, LOW);
write(169, LOW);
write(153, LOW);
write(137, LOW);
write(122, LOW);
write(107, LOW);
write(92, LOW);
write(77, LOW);
write(63, LOW);
write(49, LOW);
write(35, LOW);
write(21, LOW);
write(20, HIGH);
write(21, HIGH);
write(22, HIGH);
write(23, HIGH);
write(24, HIGH);
write(25, HIGH);
write(26, HIGH);
write(42, HIGH);
write(58, HIGH);
write(74, HIGH);
write(89, HIGH);
write(104, HIGH);
write(119, HIGH);
write(134, HIGH);
write(149, HIGH);
write(164, HIGH);
write(178, HIGH);
write(192, HIGH);
write(200, HIGH);
write(201, HIGH);
write(202, HIGH);
write(203, HIGH);
write(204, HIGH);
write(205, HIGH);
write(206, HIGH);
write(184, HIGH);
write(168, HIGH);
write(152, HIGH);
write(137, HIGH);
write(92, HIGH);
write(107, HIGH);
write(122, HIGH);
write(77, HIGH);
write(62, HIGH);
write(48, HIGH);
write(34, HIGH);
delay(150);
write(19, HIGH);
write(33, HIGH);
write(47, HIGH);
write(27, HIGH);
write(43, HIGH);
write(59, HIGH);
write(199, HIGH);
write(183, HIGH);
write(167, HIGH);
write(179, HIGH);
write(193, HIGH);
write(207, HIGH);
delay(150);
write(34, LOW);
write(48, LOW);
write(42, LOW);
write(58, LOW);
write(168, LOW);
write(184, LOW);
write(178, LOW);
write(192, LOW);
write(33, LOW);
write(43, LOW);
write(183, LOW);
write(193, LOW);
write(18, HIGH);
write(32, HIGH);
write(28, HIGH);
write(44, HIGH);
write(182, HIGH);
write(198, HIGH);
write(194, HIGH);
write(208, HIGH);
delay(150);
write(17, HIGH);
write(29, HIGH);
write(197, HIGH);
write(209, HIGH);
delay(150);

write(94, HIGH);
write(109, HIGH);
write(124, HIGH);
write(52, HIGH);
write(53, HIGH);
write(54, HIGH);
write(102, HIGH);
write(117, HIGH);
write(132, HIGH);
write(172, HIGH);
write(173, HIGH);
write(174, HIGH);
delay(150);
write(51, HIGH);
write(55, HIGH);
write(79, HIGH);
write(139, HIGH);
write(171, HIGH);
write(175, HIGH);
write(87, HIGH);
write(147, HIGH);
delay(150);
write(65, HIGH);
write(71, HIGH);
write(155, HIGH);
write(161, HIGH);
delay(150);

//danSEQ77
write(94, LOW);
write(109, LOW);
write(124, LOW);
write(52, LOW);
write(53, LOW);
write(54, LOW);
write(102, LOW);
write(117, LOW);
write(132, LOW);
write(172, LOW);
write(173, LOW);
write(174, LOW);
write(51, LOW);
write(55, LOW);
write(79, LOW);
write(139, LOW);
write(171, LOW);
write(175, LOW);
write(87, LOW);
write(147, LOW);
write(65, LOW);
write(71, LOW);
write(155, LOW);
write(161, LOW);
write(36, HIGH);
write(37, HIGH);
write(38, HIGH);
write(39, HIGH);
write(40, HIGH);
write(56, HIGH);
write(72, HIGH);
write(88, HIGH);
write(103, HIGH);
write(118, HIGH);
write(133, HIGH);
write(148, HIGH);
write(162, HIGH);
write(176, HIGH);
write(186, HIGH);
write(187, HIGH);
write(188, HIGH);
write(189, HIGH);
write(190, HIGH);
write(170, HIGH);
write(154, HIGH);
write(78, HIGH);
write(93, HIGH);
write(108, HIGH);
write(123, HIGH);
write(138, HIGH);
write(50, HIGH);
write(64, HIGH);
delay(150);
write(50, LOW);
write(64, LOW);
write(56, LOW);
write(72, LOW);
write(162, LOW);
write(176, LOW);
write(170, LOW);
write(154, LOW);
write(35, HIGH);
write(49, HIGH);
write(63, HIGH);
write(41, HIGH);
write(57, HIGH);
write(73, HIGH);
write(185, HIGH);
write(169, HIGH);
write(153, HIGH);
write(191, HIGH);
write(177, HIGH);
write(163, HIGH);
delay(150);
write(49, LOW);
write(57, LOW);
write(177, LOW);
write(169, LOW);
write(34, HIGH);
write(48, HIGH);
write(42, HIGH);
write(58, HIGH);
write(178, HIGH);
write(192, HIGH);
write(184, HIGH);
write(168, HIGH);
delay(150);
write(33, HIGH);
write(43, HIGH);
write(183, HIGH);
write(193, HIGH);
delay(150);

write(94, HIGH);
write(109, HIGH);
write(124, HIGH);
write(52, HIGH);
write(53, HIGH);
write(54, HIGH);
write(102, HIGH);
write(117, HIGH);
write(132, HIGH);
write(172, HIGH);
write(173, HIGH);
write(174, HIGH);
delay(150);
write(51, HIGH);
write(55, HIGH);
write(79, HIGH);
write(139, HIGH);
write(171, HIGH);
write(175, HIGH);
write(87, HIGH);
write(147, HIGH);
delay(150);
write(65, HIGH);
write(71, HIGH);
write(155, HIGH);
write(161, HIGH);
delay(150);
write(50, HIGH);
write(64, HIGH);
write(56, HIGH);
write(72, HIGH);
write(162, HIGH);
write(176, HIGH);
write(170, HIGH);
write(154, HIGH);
delay(150);
write(65, LOW);
write(71, LOW);
write(161, LOW);
write(155, LOW);
delay(150);
write(49, HIGH);
write(57, HIGH);
write(169, HIGH);
write(177, HIGH);
delay(150);
write(80, HIGH);
write(65, HIGH);
write(66, HIGH);
write(70, HIGH);
write(71, HIGH);
write(86, HIGH);
write(160, HIGH);
write(161, HIGH);
write(146, HIGH);
write(140, HIGH);
write(155, HIGH);
write(156, HIGH);
delay(150);
write(67, HIGH);
write(69, HIGH);
write(85, HIGH);
write(101, HIGH);
write(131, HIGH);
write(145, HIGH);
write(159, HIGH);
write(157, HIGH);
write(141, HIGH);
write(125, HIGH);
write(95, HIGH);
write(81, HIGH);
delay(150);
write(68, HIGH);
write(84, HIGH);
write(100, HIGH);
write(130, HIGH);
write(144, HIGH);
write(158, HIGH);
write(142, HIGH);
write(126, HIGH);
write(110, HIGH);
write(96, HIGH);
write(82, HIGH);
delay(150);
write(97, HIGH);
write(99, HIGH);
write(127, HIGH);
write(129, HIGH);
delay(150);
}


void lightUpdanSEQ81(){
write(8, LOW);
write(218, LOW);
delay(150);
write(7, LOW);
write(23, LOW);
write(203, LOW);
write(219, LOW);
delay(150);
write(6, LOW);
write(22, LOW);
write(38, LOW);
write(188, LOW);
write(204, LOW);
write(220, LOW);
delay(150);
write(5, LOW);
write(21, LOW);
write(37, LOW);
write(53, LOW);
write(173, LOW);
write(189, LOW);
write(205, LOW);
write(221, LOW);
delay(150);
write(4, LOW);
write(20, LOW);
write(36, LOW);
write(52, LOW);
write(68, LOW);
write(158, LOW);
write(174, LOW);
write(190, LOW);
write(206, LOW);
write(222, LOW);
delay(150);
write(3, LOW);
write(19, LOW);
write(35, LOW);
write(51, LOW);
write(67, LOW);
write(83, LOW);
write(143, LOW);
write(159, LOW);
write(175, LOW);
write(191, LOW);
write(207, LOW);
write(223, LOW);
delay(150);
write(1, LOW);
write(2, LOW);
write(18, LOW);
write(34, LOW);
write(50, LOW);
write(66, LOW);
write(82, LOW);
write(98, LOW);
write(128, LOW);
write(144, LOW);
write(160, LOW);
write(176, LOW);
write(192, LOW);
write(208, LOW);
write(224, LOW);
write(225, LOW);
delay(150);
write(16, LOW);
write(17, LOW);
write(33, LOW);
write(49, LOW);
write(65, LOW);
write(81, LOW);
write(97, LOW);
write(129, LOW);
write(145, LOW);
write(161, LOW);
write(177, LOW);
write(193, LOW);
write(209, LOW);
write(210, LOW);
delay(150);
write(31, LOW);
write(32, LOW);
write(48, LOW);
write(64, LOW);
write(80, LOW);
write(96, LOW);
write(130, LOW);
write(146, LOW);
write(162, LOW);
write(178, LOW);
write(194, LOW);
write(195, LOW);
delay(150);
write(46, LOW);
write(47, LOW);
write(63, LOW);
write(79, LOW);
write(95, LOW);
write(112, LOW);
write(114, LOW);
write(131, LOW);
write(147, LOW);
write(163, LOW);
write(179, LOW);
write(180, LOW);
delay(150);
write(61, LOW);
write(62, LOW);
write(78, LOW);
write(94, LOW);
write(110, LOW);
write(111, LOW);
write(115, LOW);
write(132, LOW);
write(148, LOW);
write(164, LOW);
write(165, LOW);
delay(150);
write(76, LOW);
write(77, LOW);
write(93, LOW);
write(109, LOW);
write(126, LOW);
write(100, LOW);
write(116, LOW);
write(117, LOW);
write(133, LOW);
write(149, LOW);
write(150, LOW);
delay(150);
write(91, LOW);
write(92, LOW);
write(108, LOW);
write(125, LOW);
write(141, LOW);
write(85, LOW);
write(101, LOW);
write(102, LOW);
write(118, LOW);
write(134, LOW);
write(135, LOW);
delay(150);
write(106, LOW);
write(107, LOW);
write(123, LOW);
write(124, LOW);
write(140, LOW);
write(156, LOW);
write(70, LOW);
write(86, LOW);
write(87, LOW);
write(103, LOW);
write(119, LOW);
write(120, LOW);
delay(150);
write(121, LOW);
write(122, LOW);
write(138, LOW);
write(139, LOW);
write(154, LOW);
write(155, LOW);
write(171, LOW);
write(55, LOW);
write(71, LOW);
write(72, LOW);
write(88, LOW);
write(104, LOW);
write(105, LOW);
delay(150);
write(136, LOW);
write(137, LOW);
write(153, LOW);
write(169, LOW);
write(170, LOW);
write(186, LOW);
write(40, LOW);
write(56, LOW);
write(57, LOW);
write(73, LOW);
write(89, LOW);
write(90, LOW);
delay(75);
write(151, LOW);
write(152, LOW);
write(168, LOW);
write(184, LOW);
write(185, LOW);
write(201, LOW);
write(25, LOW);
write(41, LOW);
write(42, LOW);
write(58, LOW);
write(74, LOW);
write(75, LOW);
delay(75);
write(166, LOW);
write(167, LOW);
write(183, LOW);
write(199, LOW);
write(200, LOW);
write(201, LOW);
write(25, LOW);
write(26, LOW);
write(27, LOW);
write(43, LOW);
write(59, LOW);
write(60, LOW);
delay(75);
write(181, LOW);
write(182, LOW);
write(198, LOW);
write(28, LOW);
write(44, LOW);
write(45, LOW);
delay(50);
write(196, LOW);
write(197, LOW);
write(211, LOW);
write(29, LOW);
write(30, LOW);
write(15, LOW);
delay(50);
write(14, LOW);
write(212, LOW);
delay(50);
write(13, LOW);
write(213, LOW);
delay(50);
write(12, LOW);
write(214, LOW);
delay(50);
write(11, LOW);
write(215, LOW);
delay(50);
write(10, LOW);
write(216, LOW);
delay(50);
write(9, LOW);
write(217, LOW);
delay(25);
write(24, LOW);
write(202, LOW);
delay(25);
write(39, LOW);
write(187, LOW);
delay(25);
write(54, LOW);
write(172, LOW);
delay(25);
write(69, LOW);
write(157, LOW);
delay(25);
write(84, LOW);
write(142, LOW);
delay(25);
write(99, LOW);
write(127, LOW);
delay(25);
write(113, LOW);
delay(100);
}


void lightUpdanSEQ82(){
write(15, HIGH);
write(211, HIGH);
delay(25);
write(14, HIGH);
write(212, HIGH);
delay(25);
write(13, HIGH);
write(213, HIGH);
delay(25);
write(12, HIGH);
write(214, HIGH);
delay(25);
write(11, HIGH);
write(215, HIGH);
delay(25);
write(10, HIGH);
write(216, HIGH);
delay(50);
write(9, HIGH);
write(217, HIGH);
delay(50);
write(8, HIGH);
write(218, HIGH);
delay(50);
write(7, HIGH);
write(219, HIGH);
delay(50);
write(6, HIGH);
write(220, HIGH);
delay(50);
write(5, HIGH);
write(221, HIGH);
delay(75);
write(4, HIGH);
write(222, HIGH);
delay(75);
write(3, HIGH);
write(223, HIGH);
delay(75);
write(2, HIGH);
write(224, HIGH);
delay(75);
write(1, HIGH);
write(225, HIGH);
delay(75);

write(16, HIGH);
write(210, HIGH);
delay(100);
write(31, HIGH);
write(195, HIGH);
delay(100);
write(46, HIGH);
write(180, HIGH);
delay(100);
write(61, HIGH);
write(165, HIGH);
delay(100);
write(76, HIGH);
write(150, HIGH);
delay(100);
write(91, HIGH);
write(135, HIGH);
delay(75);
write(106, HIGH);
write(120, HIGH);
delay(75);
write(121, HIGH);
write(105, HIGH);
delay(75);
write(136, HIGH);
write(90, HIGH);
delay(75);
write(151, HIGH);
write(75, HIGH);
delay(75);
write(166, HIGH);
write(60, HIGH);
delay(50);
write(181, HIGH);
write(45, HIGH);
delay(50);
write(44, HIGH);
write(182, HIGH);
delay(100);
write(43, HIGH);
write(183, HIGH);
delay(100);
write(42, HIGH);
write(184, HIGH);
delay(100);
write(41, HIGH);
write(185, HIGH);
delay(75);
write(40, HIGH);
write(186, HIGH);
delay(75);
write(39, HIGH);
write(187, HIGH);
delay(75);
write(38, HIGH);
write(188, HIGH);
delay(75);
write(37, HIGH);
write(189, HIGH);
delay(75);
write(36, HIGH);
write(190, HIGH);
delay(75);
write(35, HIGH);
write(191, HIGH);
delay(75);
write(34, HIGH);
write(192, HIGH);
delay(75);
write(33, HIGH);
write(193, HIGH);
delay(75);

write(48, HIGH);
write(178, HIGH);
delay(50);
write(63, HIGH);
write(163, HIGH);
delay(25);
write(78, HIGH);
write(148, HIGH);
delay(25);
write(93, HIGH);
write(133, HIGH);
delay(25);
write(108, HIGH);
write(118, HIGH);
delay(25);
write(123, HIGH);
write(103, HIGH);
delay(25);
write(138, HIGH);
write(88, HIGH);
delay(50);
write(153, HIGH);
write(73, HIGH);
delay(50);
write(72, HIGH);
write(154, HIGH);
delay(50);
write(71, HIGH);
write(155, HIGH);
delay(50);
write(70, HIGH);
write(156, HIGH);
delay(50);
write(69, HIGH);
write(157, HIGH);
delay(50);
write(68, HIGH);
write(158, HIGH);
delay(75);
write(67, HIGH);
write(159, HIGH);
delay(75);
write(66, HIGH);
write(160, HIGH);
delay(75);
write(65, HIGH);
write(161, HIGH);
delay(75);
write(80, HIGH);
write(146, HIGH);
delay(75);
write(95, HIGH);
write(131, HIGH);
delay(100);
write(110, HIGH);
write(116, HIGH);
delay(100);
write(125, HIGH);
write(101, HIGH);
delay(100);
write(126, HIGH);
write(100, HIGH);
delay(100);
write(127, HIGH);
write(99, HIGH);
delay(100);
write(128, HIGH);
write(129, HIGH);
delay(125);
write(98, HIGH);
write(97, HIGH);
delay(125);
write(113, HIGH);
delay(125);
write(112, HIGH);
write(114, HIGH);
delay(125);
write(111, HIGH);
write(115, HIGH);
delay(125);
write(96, HIGH);
write(130, HIGH);
delay(125);
write(81, HIGH);
write(145, HIGH);
delay(100);
write(82, HIGH);
write(144, HIGH);
delay(100);
write(83, HIGH);
write(143, HIGH);
delay(100);
write(84, HIGH);
write(142, HIGH);
delay(100);
write(85, HIGH);
write(141, HIGH);
delay(100);
write(86, HIGH);
write(140, HIGH);
delay(75);
write(87, HIGH);
write(139, HIGH);
delay(75);
write(102, HIGH);
write(124, HIGH);
delay(75);
write(109, HIGH);
write(117, HIGH);
delay(75);
write(94, HIGH);
write(132, HIGH);
delay(75);
write(79, HIGH);
write(147, HIGH);
delay(50);
write(64, HIGH);
write(162, HIGH);
delay(50);
write(49, HIGH);
write(177, HIGH);
delay(50);
write(50, HIGH);
write(176, HIGH);
delay(50);
write(51, HIGH);
write(175, HIGH);
delay(50);
write(52, HIGH);
write(174, HIGH);
delay(25);
write(53, HIGH);
write(173, HIGH);
delay(25);
write(54, HIGH);
write(172, HIGH);
delay(25);
write(55, HIGH);
write(171, HIGH);
delay(25);
write(56, HIGH);
write(170, HIGH);
delay(25);
write(57, HIGH);
write(169, HIGH);
delay(50);
write(58, HIGH);
write(168, HIGH);
delay(50);
write(59, HIGH);
write(167, HIGH);
delay(50);
write(74, HIGH);
write(152, HIGH);
delay(50);
write(137, HIGH);
write(89, HIGH);
delay(50);
write(104, HIGH);
write(122, HIGH);
delay(75);
write(107, HIGH);
write(119, HIGH);
delay(75);
write(92, HIGH);
write(134, HIGH);
delay(75);
write(77, HIGH);
write(149, HIGH);
delay(75);
write(62, HIGH);
write(164, HIGH);
delay(75);
write(47, HIGH);
write(179, HIGH);
delay(100);
write(32, HIGH);
write(194, HIGH);
delay(100);
write(17, HIGH);
write(209, HIGH);
delay(100);
write(18, HIGH);
write(208, HIGH);
delay(100);
write(19, HIGH);
write(207, HIGH);
delay(100);
write(20, HIGH);
write(206, HIGH);
delay(125);
write(21, HIGH);
write(205, HIGH);
delay(125);
write(22, HIGH);
write(204, HIGH);
delay(125);
write(23, HIGH);
write(203, HIGH);
delay(125);
write(24, HIGH);
write(202, HIGH);
delay(125);
write(25, HIGH);
write(201, HIGH);
delay(150);
write(26, HIGH);
write(200, HIGH);
delay(150);
write(27, HIGH);
write(199, HIGH);
delay(150);
write(28, HIGH);
write(198, HIGH);
delay(150);
write(29, HIGH);
write(197, HIGH);
delay(150);
write(30, HIGH);
write(196, HIGH);
delay(500);
}


void lightUpdanSEQ83(){
write(113, LOW);
delay(100);
write(98, LOW);
write(112, LOW);
write(114, LOW);
write(128, LOW);
delay(100);
write(83, LOW);
write(97, LOW);
write(111, LOW);
write(127, LOW);
write(143, LOW);
write(129, LOW);
write(115, LOW);
write(99, LOW);
delay(100);
write(68, LOW);
write(82, LOW);
write(96, LOW);
write(110, LOW);
write(126, LOW);
write(142, LOW);
write(158, LOW);
write(144, LOW);
write(130, LOW);
write(116, LOW);
write(100, LOW);
write(84, LOW);
delay(100);
write(53, LOW);
write(67, LOW);
write(81, LOW);
write(95, LOW);
write(109, LOW);
write(125, LOW);
write(141, LOW);
write(157, LOW);
write(173, LOW);
write(159, LOW);
write(145, LOW);
write(131, LOW);
write(117, LOW);
write(101, LOW);
write(85, LOW);
write(69, LOW);
delay(100);
write(38, LOW);
write(52, LOW);
write(66, LOW);
write(80, LOW);
write(94, LOW);
write(108, LOW);
write(124, LOW);
write(140, LOW);
write(156, LOW);
write(172, LOW);
write(188, LOW);
write(174, LOW);
write(160, LOW);
write(146, LOW);
write(132, LOW);
write(118, LOW);
write(102, LOW);
write(86, LOW);
write(70, LOW);
write(54, LOW);
delay(100);
write(23, LOW);
write(37, LOW);
write(51, LOW);
write(65, LOW);
write(79, LOW);
write(93, LOW);
write(107, LOW);
write(123, LOW);
write(139, LOW);
write(155, LOW);
write(171, LOW);
write(187, LOW);
write(203, LOW);
write(189, LOW);
write(175, LOW);
write(161, LOW);
write(147, LOW);
write(133, LOW);
write(119, LOW);
write(103, LOW);
write(87, LOW);
write(71, LOW);
write(55, LOW);
write(39, LOW);
delay(100);
write(22, LOW);
write(36, LOW);
write(50, LOW);
write(64, LOW);
write(78, LOW);
write(92, LOW);
write(122, LOW);
write(138, LOW);
write(154, LOW);
write(170, LOW);
write(186, LOW);
write(202, LOW);
write(204, LOW);
write(190, LOW);
write(176, LOW);
write(162, LOW);
write(148, LOW);
write(134, LOW);
write(104, LOW);
write(88, LOW);
write(72, LOW);
write(56, LOW);
write(40, LOW);
write(24, LOW);
delay(100);
write(21, LOW);
write(35, LOW);
write(49, LOW);
write(63, LOW);
write(77, LOW);
write(137, LOW);
write(153, LOW);
write(169, LOW);
write(185, LOW);
write(201, LOW);
write(205, LOW);
write(191, LOW);
write(177, LOW);
write(163, LOW);
write(149, LOW);
write(89, LOW);
write(73, LOW);
write(57, LOW);
write(41, LOW);
write(25, LOW);
delay(100);
write(20, LOW);
write(34, LOW);
write(48, LOW);
write(62, LOW);
write(200, LOW);
write(184, LOW);
write(168, LOW);
write(152, LOW);
write(206, LOW);
write(192, LOW);
write(178, LOW);
write(164, LOW);
write(26, LOW);
write(42, LOW);
write(58, LOW);
write(74, LOW);
delay(100);
write(19, LOW);
write(33, LOW);
write(47, LOW);
write(199, LOW);
write(183, LOW);
write(167, LOW);
write(207, LOW);
write(193, LOW);
write(179, LOW);
write(27, LOW);
write(43, LOW);
write(59, LOW);
delay(100);
write(3, LOW);
write(17, LOW);
write(31, LOW);
write(181, LOW);
write(197, LOW);
write(213, LOW);
write(223, LOW);
write(209, LOW);
write(195, LOW);
write(13, LOW);
write(29, LOW);
write(45, LOW);
delay(100);
write(2, LOW);
write(16, LOW);
write(196, LOW);
write(212, LOW);
write(224, LOW);
write(210, LOW);
write(14, LOW);
write(30, LOW);
delay(100);
write(1, LOW);
write(15, LOW);
write(211, LOW);
write(225, LOW);
delay(100);
}


void lightUpdanSEQ84(){
write(113, HIGH);
delay(150);
write(112, HIGH);
delay(75);
write(111, HIGH);
delay(75);
write(110, HIGH);
delay(75);
write(109, HIGH);
delay(75);
write(108, HIGH);
delay(75);
write(108, LOW);
write(123, HIGH);
delay(74);
write(109, LOW);
write(123, LOW);
write(124, HIGH); 
write(138, HIGH);
delay(100);
write(124, LOW); 
write(138, LOW);
write(125, HIGH);
write(139, HIGH);
write(153, HIGH);
delay(100);
write(125, LOW);
write(139, LOW);
write(153, LOW);
write(126, HIGH);
write(140, HIGH);
write(154, HIGH);
write(168, HIGH);
delay(100);
write(126, LOW);
write(140, LOW);
write(154, LOW);
write(168, LOW);
write(127, HIGH);
write(141, HIGH);
write(155, HIGH);
write(169, HIGH);
write(183, HIGH);
delay(100);
write(127, LOW);
write(141, LOW);
write(155, LOW);
write(169, LOW);
write(183, LOW);
write(110, LOW);
write(125, HIGH);
write(128, HIGH);
write(142, HIGH);
write(156, HIGH);
write(170, HIGH);
write(184, HIGH);
delay(100);
write(156, LOW);
write(170, LOW);
write(184, LOW);
write(142, LOW);
write(128, HIGH);
write(143, HIGH);
write(157, HIGH);
write(171, HIGH);
write(185, HIGH);
delay(100);
write(157, LOW);
write(171, LOW);
write(185, LOW);
write(158, HIGH);
write(172, HIGH);
write(186, HIGH);
delay(100);
write(111, LOW);
write(125, LOW);
write(172, LOW);
write(186, LOW);
write(126, HIGH);
write(140, HIGH);
write(173, HIGH);
write(187, HIGH);
delay(100);
write(187, LOW);
write(188, HIGH);
delay(100);
write(188, LOW);
write(189, HIGH);
delay(100);
write(112, LOW);
write(126, LOW);
write(140, LOW);
write(173, LOW);
write(189, LOW);
write(127, HIGH);
write(141, HIGH);
write(158, HIGH);
write(174, HIGH);
write(190, HIGH);
delay(100);
write(158, LOW);
write(174, LOW);
write(190, LOW);
write(159, HIGH);
write(175, HIGH);
write(191, HIGH);
delay(100);
write(143, LOW);
write(159, LOW);
write(175, LOW);
write(191, LOW);
write(144, HIGH);
write(160, HIGH);
write(176, HIGH);
write(192, HIGH);
delay(100);
write(127, LOW);
write(141, LOW);
write(155, LOW);
write(144, LOW);
write(160, LOW);
write(176, LOW);
write(192, LOW);
write(145, HIGH);
write(161, HIGH);
write(177, HIGH);
write(193, HIGH);
write(142, HIGH);
write(156, HIGH);
write(129, HIGH);
delay(100);
write(145, LOW);
write(161, LOW);
write(177, LOW);
write(193, LOW);
write(129, LOW);
write(142, HIGH);
write(156, HIGH);
write(114, HIGH);
write(130, HIGH);
write(146, HIGH);
write(162, HIGH);
write(178, HIGH);
delay(100);
write(130, LOW);
write(146, LOW);
write(162, LOW);
write(178, LOW);
write(115, HIGH);
write(131, HIGH);
write(147, HIGH);
write(163, HIGH);
delay(100);
write(131, LOW);
write(147, LOW);
write(163, LOW);
write(142, LOW);
write(156, LOW);
write(157, HIGH);
write(128, HIGH);
write(143, HIGH);
write(116, HIGH);
write(132, HIGH);
write(148, HIGH);
delay(100);
write(132, LOW);
write(148, LOW);
write(117, HIGH);
write(133, HIGH);
delay(100);
write(133, LOW);
write(118, HIGH);
delay(100);
write(157, LOW);
write(118, LOW);
write(158, HIGH);
write(103, HIGH);
delay(100);
write(117, LOW);
write(103, LOW);
write(102, HIGH);
write(88, HIGH);
delay(100);
write(116, LOW);
write(102, LOW);
write(88, LOW);
write(101, HIGH);
write(87, HIGH);
write(73, HIGH);
delay(100);
write(158, LOW);
write(115, LOW);
write(101, LOW);
write(87, LOW);
write(73, LOW);
write(100, HIGH);
write(86, HIGH);
write(72, HIGH);
write(58, HIGH);
write(159, HIGH);
delay(100);
write(114, LOW);
write(100, LOW);
write(86, LOW);
write(72, LOW);
write(58, LOW);
write(99, HIGH);
write(85, HIGH);
write(71, HIGH);
write(57, HIGH);
write(43, HIGH);
delay(100);
write(99, LOW);
write(85, LOW);
write(71, LOW);
write(57, LOW);
write(43, LOW);
write(98, HIGH);
write(84, HIGH);
write(70, HIGH);
write(56, HIGH);
write(42, HIGH);
delay(100);
write(128, LOW);
write(144, LOW);
write(84, LOW);
write(70, LOW);
write(56, LOW);
write(42, LOW);
write(129, HIGH);
write(145, HIGH);
write(83, HIGH);
write(69, HIGH);
write(55, HIGH);
write(41, HIGH);
delay(100);
write(68, HIGH);
write(54, HIGH);
write(40, HIGH);
delay(100);
write(54, LOW);
write(40, LOW);
write(69, LOW);
write(55, LOW);
write(143, LOW);
write(159, LOW);
write(41, LOW);
write(53, HIGH);
write(39, HIGH);
delay(100);
write(129, HIGH);
write(145, HIGH);
write(161, HIGH);
write(38, HIGH);
write(39, LOW);
write(128, LOW);
write(144, LOW);
write(160, LOW);
delay(100);
write(38, LOW);
write(37, HIGH);
delay(100);
write(53, LOW);
write(37, LOW);
write(52, HIGH);
write(36, HIGH);
delay(100);
write(68, LOW);
write(52, LOW);
write(36, LOW);
write(129, LOW);
write(145, LOW);
write(161, LOW);
write(67, HIGH);
write(51, HIGH);
write(35, HIGH);
write(114, HIGH);
write(130, HIGH);
write(146, HIGH);
delay(100);
write(67, LOW);
write(51, LOW);
write(35, LOW);
write(82, HIGH);
write(66, HIGH);
write(50, HIGH);
write(34, HIGH);
delay(100);
write(98, LOW);
write(82, LOW);
write(66, LOW);
write(50, LOW);
write(34, LOW);
write(97, HIGH);
write(81, HIGH);
write(65, HIGH);
write(49, HIGH);
write(33, HIGH);
delay(100);
write(130, LOW);
write(146, LOW);
write(97, LOW);
write(81, LOW);
write(65, LOW);
write(49, LOW);
write(33, LOW);
write(83, LOW);
write(115, HIGH);
write(131, HIGH);
write(96, HIGH);
write(80, HIGH);
write(64, HIGH);
write(48, HIGH);
write(112, HIGH);
delay(100);
write(96, LOW);
write(80, LOW);
write(64, LOW);
write(48, LOW);
write(95, HIGH);
write(79, HIGH);
write(63, HIGH);
write(111, HIGH);
delay(100);
write(95, LOW);
write(79, LOW);
write(63, LOW);
write(110, HIGH);
write(94, HIGH);
write(78, HIGH);
delay(100);
write(94, LOW);
write(78, LOW);
write(131, LOW);
write(116, HIGH);
write(109, HIGH);
write(93, HIGH);
delay(100);
write(93, LOW);
write(108, HIGH);
write(107, HIGH);
delay(100);
write(116, LOW);
delay(100);
write(115, LOW);
delay(100);
write(114, LOW);
delay(100);
write(113, LOW);
delay(100);
write(112, LOW);
delay(100);
write(111, LOW);
delay(100);
write(110, LOW);
delay(100);
write(109, LOW);
delay(100);
write(108, LOW);
delay(100);
write(107, LOW);
delay(100);
write(106, LOW);
delay(100);
write(91, LOW);
write(121, LOW);
delay(100);
write(76, LOW);
write(136, LOW);
delay(100);
write(61, LOW);
write(151, LOW);
delay(100);
write(46, LOW);
write(166, LOW);
delay(100);
write(32, LOW);
write(182, LOW);
delay(100);
write(18, LOW);
write(198, LOW);
delay(100);
write(4, LOW);
write(214, LOW);
delay(100);
write(5, LOW);
write(215, LOW);
delay(100);
write(6, LOW);
write(216, LOW);
delay(100);
write(7, LOW);
write(217, LOW);
delay(100);
write(8, LOW);
write(218, LOW);
delay(100);
write(9, LOW);
write(219, LOW);
delay(100);
write(10, LOW);
write(220, LOW);
delay(100);
write(11, LOW);
write(221, LOW);
delay(100);
write(12, LOW);
write(222, LOW);
delay(100);
write(28, LOW);
write(208, LOW);
delay(100);
write(44, LOW);
write(194, LOW);
delay(100);
write(60, LOW);
write(180, LOW);
delay(100);
write(75, LOW);
write(165, LOW);
delay(100);
write(90, LOW);
write(150, LOW);
delay(100);
write(105, LOW);
write(135, LOW);
delay(100);
write(120, LOW);
delay(100);
}