// /*
// 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 Rotate1[]={20,26,62,74,113,164,152,200,206};
byte Rotate2[]={4,10,60,76,150,127,166,216,223};
byte Rotate3[]={6,12,46,90,97,136,180,214,220};
byte Rotate4[]={20,26,62,74,99,152,164,200,206};
byte Rotate5[]={4,10,60,76,129,150,166,216,206};
byte Rotate6[]={6,12,90,180,220,214,136,46,97,113,127,99,129};
byte Rotate7[]={20,26,62,74,200,206,152,164,128};
byte Rotate8[]={112,4,10,76,150,166,216,223,60};
byte Rotate9[]={6,12,46,90,136,180,214,220,98};
byte Rotate10[]={1,4,6,10,12,15,20,26,46,60,62,74,76,90,114,136,150,152,164,166,180,200,206,211,214,216,220,222,225};
byte peachmangopie1[]={1,4,6,10,15,46,60,62,74,76,90,136,150,152,164,166}
byte peachmangopie2[]={1,4,6,10,12,16,17,20,26,29,39,83,97,99,113,127,129,133,187,197,209};
byte peachmangopie3[]={98,112,114,128};
byte peachmangopie4[]={39,93,133,187};
byte peachmangopie5[]={40,78,98,112,114,128,148,186};
byte peachmangopie6[]={41,63,141,153,155,169,185,};
byte peachmangopie7[]={42,48,49,65,81,178,184,};
byte peachmangopie8[]={33,43,57,71,85,183,193};
byte peachmangopie9[]={34,58,145,161,168,177,192};
byte peachmangopie10[]={35,49,57,65,71,73,81,85,141,145,153,156,161,168,177,191};
byte peachmangopie11[]={36,88,138,190};
byte peachmangopie12[]={37,103,123,145,161,177,189};
void setup() {
//you dont need to write anything here
iParol_Init();
}
void loop() {
seq1_Rotate1();
Rotate1turnOFF();
seq2_Rotate2();
Rotate2TurnOFF();
seq3_Rotate3();
Rotate3OFF();
seq4_Rotate4();
Rotate4_OFF();
seq5_Rotate5();
Rotate5oFF();
seq6_Rotate6();
Rotate6_ofF();
seq7_Rotate7();
Rotate7offu();
seq8_Rotate8();
Rotate8_Tirn();
seq9_Rotate9();
Rotate9_tern();
seq10_Rotate10();
Rotate10_Click();
seq11_peachmangopie1();
}
void seq1_Rotate1(){
for(int i=0;i <= 8;i++){
write(Rotate1[i],HIGH);
}
delay(500);
}
void Rotate1turnOFF(){
write(Rotate1,LOW);
delay(500);
}
void seq2_Rotate2(){
for(int i=0;i <= 8;i++){
write(Rotate2[i],HIGH);
}
delay(500);
}
void Rotate2TurnOFF(){
write(Rotate2,LOW);
delay(500);
}
void seq3_Rotate3(){
for(int i=0;i <= 8;i++){
write(Rotate3[i],HIGH);
}
delay(500);
}
void Rotate3OFF(){
write(Rotate3,LOW);
delay(500);
}
void seq4_Rotate4(){
for(int i=0;i <= 8;i++){
write(Rotate4[i],HIGH);
}
delay(500);
}
void Rotate4_OFF(){
write(Rotate4,LOW);
delay(500);
}
void seq5_Rotate5(){
for(int i=0;i <= 8;i++){
write(Rotate5[i],HIGH);
}
delay(500);
}
void Rotate5oFF(){
write(Rotate5,LOW);
delay(500);
}
void seq6_Rotate6(){
for(int i=0;i <= 12;i++){
write(Rotate6[i],HIGH);
}
delay(500);
}
void Rotate6_ofF(){
write(Rotate6,LOW);
delay(500);
}
void seq7_Rotate7(){
for(int i=0;i <= 8;i++){
write(Rotate7[i],HIGH);
}
delay(500);
}
void Rotate7offu(){
write(Rotate7,LOW);
delay(500);
}
void seq8_Rotate8(){
for(int i=0;i <= 8;i++){
write(Rotate8[i],HIGH);
}
delay(500);
}
void Rotate8_Tirn(){
write(Rotate8,LOW);
delay(500);
}
void seq9_Rotate9(){
for(int i=0;i <= 8;i++){
write(Rotate9[i],HIGH);
}
delay(500);
}
void Rotate9_tern(){
write(Rotate9,LOW);
delay(500);
}
void seq10_Rotate10(){
for(int i=0;i <= 28;i++){
write(Rotate10[i],HIGH);
}
delay(500);
}
void Rotate10_Click(){
write(Rotate10,LOW);
delay(500);
}
void seq11_peachmangopie1(){
for(int i=0;i <= 40;i++){
write(peachmangopie1[i],HIGH);
}
delay(500);
}
void seq12_peachmangopie2(){
for(int i=0;i <= 20;i++){
write(peachmangopie2[i],HIGH);
}
delay(500);
}