SHARE
TWEET

Untitled

a guest Oct 23rd, 2016 213 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Function
  2.  
  3. void FoldingWalls(int hue, int scene){
  4.  
  5.        if(scene==0){
  6.              //int turnonlist[] = {0,1,2,3, 16,17,18,19, 32,33,34,35, 48,49,50,51};
  7.              //turnon(turnonlist, 16, 0, 0, hue);
  8.              BLUELEDs[0]=hue; BLUELEDs[1]=hue; BLUELEDs[2]=hue; BLUELEDs[3]=hue;
  9.              BLUELEDs[16]=hue; BLUELEDs[17]=hue; BLUELEDs[18]=hue; BLUELEDs[19]=hue;
  10.              BLUELEDs[32]=hue; BLUELEDs[33]=hue; BLUELEDs[34]=hue; BLUELEDs[35]=hue;
  11.              BLUELEDs[48]=hue; BLUELEDs[49]=hue; BLUELEDs[50]=hue; BLUELEDs[51]=hue; }
  12.        if(scene==1){
  13.              //int turnonlist[] = {4,5,6,7, 20,21,22,23, 32,33,34,35, 48,49,50,51};
  14.              //turnon(turnonlist, 16, 0, 0, hue);
  15.              BLUELEDs[4]=hue; BLUELEDs[5]=hue; BLUELEDs[6]=hue; BLUELEDs[7]=hue;
  16.              BLUELEDs[20]=hue; BLUELEDs[21]=hue; BLUELEDs[22]=hue; BLUELEDs[23]=hue;
  17.              BLUELEDs[32]=hue; BLUELEDs[33]=hue; BLUELEDs[34]=hue; BLUELEDs[35]=hue;
  18.              BLUELEDs[48]=hue; BLUELEDs[49]=hue; BLUELEDs[50]=hue; BLUELEDs[51]=hue; }
  19.        if(scene==2){
  20.              //int turnonlist[] = { 8, 9,10,11, 20,21,22,23, 36,37,38,39, 48,49,50,51};
  21.              //turnon(turnonlist, 16, 0, 0, hue);}
  22.              BLUELEDs[8]=hue; BLUELEDs[9]=hue; BLUELEDs[10]=hue; BLUELEDs[11]=hue;
  23.              BLUELEDs[20]=hue; BLUELEDs[21]=hue; BLUELEDs[22]=hue; BLUELEDs[23]=hue;
  24.              BLUELEDs[36]=hue; BLUELEDs[37]=hue; BLUELEDs[38]=hue; BLUELEDs[39]=hue;
  25.              BLUELEDs[48]=hue; BLUELEDs[49]=hue; BLUELEDs[50]=hue; BLUELEDs[51]=hue; }            
  26.        if(scene==3){
  27.              //int turnonlist[] = {12,13,14,15, 24,25,26,27, 36,37,38,39, 48,49,50,51};
  28.              //turnon(turnonlist, 16, 0, 0, hue);}
  29.              BLUELEDs[12]=hue; BLUELEDs[13]=hue; BLUELEDs[14]=hue; BLUELEDs[15]=hue;
  30.              BLUELEDs[24]=hue; BLUELEDs[25]=hue; BLUELEDs[26]=hue; BLUELEDs[27]=hue;
  31.              BLUELEDs[36]=hue; BLUELEDs[37]=hue; BLUELEDs[38]=hue; BLUELEDs[39]=hue;
  32.              BLUELEDs[48]=hue; BLUELEDs[49]=hue; BLUELEDs[50]=hue; BLUELEDs[51]=hue; }                          
  33.        if(scene==4){
  34.              //int turnonlist[] = {28,29,30,31, 40,41,42,43, 36,37,38,39, 48,49,50,51};
  35.              //turnon(turnonlist, 16, 0, 0, hue);
  36.              BLUELEDs[28]=hue; BLUELEDs[29]=hue; BLUELEDs[30]=hue; BLUELEDs[31]=hue;
  37.              BLUELEDs[36]=hue; BLUELEDs[37]=hue; BLUELEDs[38]=hue; BLUELEDs[39]=hue;
  38.              BLUELEDs[40]=hue; BLUELEDs[41]=hue; BLUELEDs[42]=hue; BLUELEDs[43]=hue;
  39.              BLUELEDs[48]=hue; BLUELEDs[49]=hue; BLUELEDs[50]=hue; BLUELEDs[51]=hue; }
  40.        if(scene==5){
  41.              //int turnonlist[] = {44,45,46,47, 40,41,42,43, 52,53,54,55, 48,49,50,51};
  42.              //turnon(turnonlist, 16, 0, 0, hue);
  43.              BLUELEDs[40]=hue; BLUELEDs[41]=hue; BLUELEDs[42]=hue; BLUELEDs[43]=hue;
  44.              BLUELEDs[44]=hue; BLUELEDs[45]=hue; BLUELEDs[46]=hue; BLUELEDs[47]=hue;
  45.              BLUELEDs[48]=hue; BLUELEDs[49]=hue; BLUELEDs[50]=hue; BLUELEDs[51]=hue;
  46.              BLUELEDs[52]=hue; BLUELEDs[53]=hue; BLUELEDs[54]=hue; BLUELEDs[55]=hue; }
  47.        if(scene==6){
  48.              //int turnonlist[] = {48,49,50,51, 52,53,54,55, 56,57,58,59, 60,61,62,63};
  49.              //turnon(turnonlist, 16, hue, 0, 0);
  50.              REDLEDs[48]=hue; REDLEDs[49]=hue; REDLEDs[50]=hue; REDLEDs[51]=hue;
  51.              REDLEDs[52]=hue; REDLEDs[53]=hue; REDLEDs[54]=hue; REDLEDs[55]=hue;
  52.              REDLEDs[56]=hue; REDLEDs[57]=hue; REDLEDs[58]=hue; REDLEDs[59]=hue;
  53.              REDLEDs[60]=hue; REDLEDs[61]=hue; REDLEDs[62]=hue; REDLEDs[63]=hue; }
  54.        if(scene==7){
  55.              //int turnonlist[] = {32,33,34,35, 36,37,38,39, 56,57,58,59, 60,61,62,63};
  56.              //turnon(turnonlist, 16, hue, 0, 0);
  57.              REDLEDs[32]=hue; REDLEDs[33]=hue; REDLEDs[34]=hue; REDLEDs[35]=hue;
  58.              REDLEDs[36]=hue; REDLEDs[37]=hue; REDLEDs[38]=hue; REDLEDs[39]=hue;
  59.              REDLEDs[56]=hue; REDLEDs[57]=hue; REDLEDs[58]=hue; REDLEDs[59]=hue;
  60.              REDLEDs[60]=hue; REDLEDs[61]=hue; REDLEDs[62]=hue; REDLEDs[63]=hue; }
  61.        if(scene==8){
  62.              //int turnonlist[] = {60,61,62,63, 36,37,38,39, 40,41,42,43, 16,17,18,19};
  63.              //turnon(turnonlist, 16, hue, 0, 0);
  64.              REDLEDs[16]=hue; REDLEDs[17]=hue; REDLEDs[18]=hue; REDLEDs[19]=hue;
  65.              REDLEDs[36]=hue; REDLEDs[37]=hue; REDLEDs[38]=hue; REDLEDs[39]=hue;
  66.              REDLEDs[40]=hue; REDLEDs[41]=hue; REDLEDs[42]=hue; REDLEDs[43]=hue;
  67.              REDLEDs[60]=hue; REDLEDs[61]=hue; REDLEDs[62]=hue; REDLEDs[63]=hue; }
  68.        if(scene==9){
  69.              //int turnonlist[] = {60,61,62,63, 20,21,22,23, 40,41,42,43, 0,1,2,3};
  70.              //turnon(turnonlist, 16, hue, 0, 0);
  71.              REDLEDs[0]=hue; REDLEDs[1]=hue; REDLEDs[2]=hue; REDLEDs[3]=hue;
  72.              REDLEDs[20]=hue; REDLEDs[21]=hue; REDLEDs[22]=hue; REDLEDs[23]=hue;
  73.              REDLEDs[40]=hue; REDLEDs[41]=hue; REDLEDs[42]=hue; REDLEDs[43]=hue;
  74.              REDLEDs[60]=hue; REDLEDs[61]=hue; REDLEDs[62]=hue; REDLEDs[63]=hue; }
  75.        if(scene==10){
  76.              //int turnonlist[] = {60,61,62,63, 24,25,26,27, 40,41,42,43, 4,5,6,7};
  77.              //turnon(turnonlist, 16, hue, 0, 0);
  78.              REDLEDs[4]=hue; REDLEDs[5]=hue; REDLEDs[6]=hue; REDLEDs[7]=hue;
  79.              REDLEDs[24]=hue; REDLEDs[25]=hue; REDLEDs[26]=hue; REDLEDs[27]=hue;
  80.              REDLEDs[40]=hue; REDLEDs[41]=hue; REDLEDs[42]=hue; REDLEDs[43]=hue;
  81.              REDLEDs[60]=hue; REDLEDs[61]=hue; REDLEDs[62]=hue; REDLEDs[63]=hue; }  
  82.        if(scene==11){
  83.              //int turnonlist[] = {60,61,62,63, 44,45,46,47, 24,25,26,27, 8,9,10,11};
  84.              //turnon(turnonlist, 16, hue, 0, 0);
  85.              REDLEDs[8]=hue; REDLEDs[9]=hue; REDLEDs[10]=hue; REDLEDs[11]=hue;
  86.              REDLEDs[24]=hue; REDLEDs[25]=hue; REDLEDs[26]=hue; REDLEDs[27]=hue;
  87.              REDLEDs[44]=hue; REDLEDs[45]=hue; REDLEDs[46]=hue; REDLEDs[47]=hue;
  88.              REDLEDs[60]=hue; REDLEDs[61]=hue; REDLEDs[62]=hue; REDLEDs[63]=hue; }
  89.        if(scene==12){
  90.              //int turnonlist[] = {60,61,62,63, 44,45,46,47, 28,29,30,31, 12,13,14,15};
  91.              //turnon(turnonlist, 16, hue, hue, 0);
  92.              REDLEDs[12]=hue; REDLEDs[13]=hue; REDLEDs[14]=hue; REDLEDs[15]=hue;
  93.              REDLEDs[28]=hue; REDLEDs[29]=hue; REDLEDs[30]=hue; REDLEDs[31]=hue;
  94.              REDLEDs[44]=hue; REDLEDs[45]=hue; REDLEDs[46]=hue; REDLEDs[47]=hue;
  95.              REDLEDs[60]=hue; REDLEDs[61]=hue; REDLEDs[62]=hue; REDLEDs[63]=hue;
  96.  
  97.              GREENLEDs[12]=hue; GREENLEDs[13]=hue; GREENLEDs[14]=hue; GREENLEDs[15]=hue;
  98.              GREENLEDs[28]=hue; GREENLEDs[29]=hue; GREENLEDs[30]=hue; GREENLEDs[31]=hue;
  99.              GREENLEDs[44]=hue; GREENLEDs[45]=hue; GREENLEDs[46]=hue; GREENLEDs[47]=hue;
  100.              GREENLEDs[60]=hue; GREENLEDs[61]=hue; GREENLEDs[62]=hue; GREENLEDs[63]=hue; }
  101.        if(scene==13){
  102.              //int turnonlist[] = {63,47,31,15, 62,46,30,14, 57,41,25,9, 56,40,24,8};
  103.              //turnon(turnonlist, 16, hue, hue, 0);
  104.              REDLEDs[9]=hue; REDLEDs[25]=hue; REDLEDs[41]=hue; REDLEDs[57]=hue;
  105.              REDLEDs[14]=hue; REDLEDs[30]=hue; REDLEDs[46]=hue; REDLEDs[62]=hue;
  106.              REDLEDs[8]=hue; REDLEDs[24]=hue; REDLEDs[40]=hue; REDLEDs[56]=hue;
  107.              REDLEDs[15]=hue; REDLEDs[31]=hue; REDLEDs[47]=hue; REDLEDs[63]=hue;
  108.  
  109.              GREENLEDs[9]=hue; GREENLEDs[25]=hue; GREENLEDs[41]=hue; GREENLEDs[57]=hue;
  110.              GREENLEDs[14]=hue; GREENLEDs[30]=hue; GREENLEDs[46]=hue; GREENLEDs[62]=hue;
  111.              GREENLEDs[8]=hue; GREENLEDs[24]=hue; GREENLEDs[40]=hue; GREENLEDs[56]=hue;
  112.              GREENLEDs[15]=hue; GREENLEDs[31]=hue; GREENLEDs[47]=hue; GREENLEDs[63]=hue; }
  113.        
  114.        if(scene==14){
  115.              //int turnonlist[] = {4,20,36,52, 9,25,41,57, 10,26,42,58, 15,31,47,63};
  116.              //turnon(turnonlist, 16, hue, hue, 0);}              
  117.              REDLEDs[4]=hue; REDLEDs[20]=hue; REDLEDs[36]=hue; REDLEDs[52]=hue;
  118.              REDLEDs[9]=hue; REDLEDs[25]=hue; REDLEDs[41]=hue; REDLEDs[57]=hue;
  119.              REDLEDs[10]=hue; REDLEDs[26]=hue; REDLEDs[42]=hue; REDLEDs[58]=hue;
  120.              REDLEDs[15]=hue; REDLEDs[31]=hue; REDLEDs[47]=hue; REDLEDs[63]=hue;
  121.  
  122.              GREENLEDs[4]=hue; GREENLEDs[20]=hue; GREENLEDs[36]=hue; GREENLEDs[52]=hue;
  123.              GREENLEDs[9]=hue; GREENLEDs[25]=hue; GREENLEDs[41]=hue; GREENLEDs[57]=hue;
  124.              GREENLEDs[10]=hue; GREENLEDs[26]=hue; GREENLEDs[42]=hue; GREENLEDs[58]=hue;
  125.              GREENLEDs[15]=hue; GREENLEDs[31]=hue; GREENLEDs[47]=hue; GREENLEDs[63]=hue; }
  126.  
  127.        if(scene==15){
  128.              //int turnonlist[] = {0,16,32,48, 5,21,37,53, 10,26,42,58, 15,31,47,63};
  129.              //turnon(turnonlist, 16, hue, hue, 0);}  
  130.              REDLEDs[0]=hue; REDLEDs[16]=hue; REDLEDs[32]=hue; REDLEDs[48]=hue;
  131.              REDLEDs[5]=hue; REDLEDs[21]=hue; REDLEDs[37]=hue; REDLEDs[53]=hue;
  132.              REDLEDs[10]=hue; REDLEDs[26]=hue; REDLEDs[42]=hue; REDLEDs[58]=hue;
  133.              REDLEDs[15]=hue; REDLEDs[31]=hue; REDLEDs[47]=hue; REDLEDs[63]=hue;
  134.  
  135.              GREENLEDs[0]=hue; GREENLEDs[16]=hue; GREENLEDs[32]=hue; GREENLEDs[48]=hue;
  136.              GREENLEDs[5]=hue; GREENLEDs[21]=hue; GREENLEDs[37]=hue; GREENLEDs[53]=hue;
  137.              GREENLEDs[10]=hue; GREENLEDs[26]=hue; GREENLEDs[42]=hue; GREENLEDs[58]=hue;
  138.              GREENLEDs[15]=hue; GREENLEDs[31]=hue; GREENLEDs[47]=hue; GREENLEDs[63]=hue; }
  139.        
  140.        if(scene==16){
  141.             //int turnonlist[] = {1,17,33,49, 10,26,42,58, 6,22,38,54, 15,31,47,63};
  142.             //turnon(turnonlist, 16, hue, hue, 0);}
  143.        REDLEDs[1]=hue; REDLEDs[17]=hue; REDLEDs[33]=hue; REDLEDs[49]=hue;
  144.        REDLEDs[10]=hue; REDLEDs[26]=hue; REDLEDs[42]=hue; REDLEDs[58]=hue;
  145.        REDLEDs[6]=hue; REDLEDs[22]=hue; REDLEDs[38]=hue; REDLEDs[54]=hue;
  146.        REDLEDs[15]=hue; REDLEDs[31]=hue; REDLEDs[47]=hue; REDLEDs[63]=hue;  
  147.  
  148.        GREENLEDs[1]=hue; GREENLEDs[17]=hue; GREENLEDs[33]=hue; GREENLEDs[49]=hue;
  149.        GREENLEDs[10]=hue; GREENLEDs[26]=hue; GREENLEDs[42]=hue; GREENLEDs[58]=hue;
  150.        GREENLEDs[6]=hue; GREENLEDs[22]=hue; GREENLEDs[38]=hue; GREENLEDs[54]=hue;
  151.        GREENLEDs[15]=hue; GREENLEDs[31]=hue; GREENLEDs[47]=hue; GREENLEDs[63]=hue; }
  152.        
  153.        if(scene==17){
  154.              //int turnonlist[] = {15,31,47,63, 11,27,43,59, 6,22,38,54, 2,18,34,50};
  155.              //turnon(turnonlist, 16, hue, hue, 0);}
  156.        REDLEDs[15]=hue; REDLEDs[31]=hue; REDLEDs[47]=hue; REDLEDs[63]=hue;
  157.        REDLEDs[11]=hue; REDLEDs[27]=hue; REDLEDs[43]=hue; REDLEDs[59]=hue;
  158.        REDLEDs[6]=hue; REDLEDs[22]=hue; REDLEDs[38]=hue; REDLEDs[54]=hue;
  159.        REDLEDs[2]=hue; REDLEDs[18]=hue; REDLEDs[34]=hue; REDLEDs[50]=hue;
  160.  
  161.        GREENLEDs[15]=hue; GREENLEDs[31]=hue; GREENLEDs[47]=hue; GREENLEDs[63]=hue;
  162.        GREENLEDs[11]=hue; GREENLEDs[27]=hue; GREENLEDs[43]=hue; GREENLEDs[59]=hue;
  163.        GREENLEDs[6]=hue; GREENLEDs[22]=hue; GREENLEDs[38]=hue; GREENLEDs[54]=hue;
  164.        GREENLEDs[2]=hue; GREENLEDs[18]=hue; GREENLEDs[34]=hue; GREENLEDs[50]=hue; }
  165.        
  166.        if(scene==18){
  167.              //int turnonlist[] = {15,11,7,3, 31,27,23,19, 47,43,39,35, 63,59,55,51};
  168.              //turnon(turnonlist, 16, 0, hue, hue);}
  169.        GREENLEDs[15]=hue; GREENLEDs[11]=hue; GREENLEDs[7]=hue; GREENLEDs[3]=hue;
  170.        GREENLEDs[31]=hue; GREENLEDs[27]=hue; GREENLEDs[23]=hue; GREENLEDs[19]=hue;
  171.        GREENLEDs[47]=hue; GREENLEDs[43]=hue; GREENLEDs[39]=hue; GREENLEDs[35]=hue;
  172.        GREENLEDs[63]=hue; GREENLEDs[59]=hue; GREENLEDs[55]=hue; GREENLEDs[51]=hue;
  173.        
  174.        BLUELEDs[15]=hue; BLUELEDs[11]=hue; BLUELEDs[7]=hue; BLUELEDs[3]=hue;
  175.        BLUELEDs[31]=hue; BLUELEDs[27]=hue; BLUELEDs[23]=hue; BLUELEDs[19]=hue;
  176.        BLUELEDs[47]=hue; BLUELEDs[43]=hue; BLUELEDs[39]=hue; BLUELEDs[35]=hue;
  177.        BLUELEDs[63]=hue; BLUELEDs[59]=hue; BLUELEDs[55]=hue; BLUELEDs[51]=hue; }
  178.        
  179.        if(scene==19){
  180.              //int turnonlist[] = {15,11,7,3, 31,27,23,19, 46,42,38,34, 62,58,54,50};
  181.              //turnon(turnonlist, 16, 0, hue, hue);}
  182.        GREENLEDs[15]=hue; GREENLEDs[11]=hue; GREENLEDs[7]=hue; GREENLEDs[3]=hue;
  183.        GREENLEDs[31]=hue; GREENLEDs[27]=hue; GREENLEDs[23]=hue; GREENLEDs[19]=hue;
  184.        GREENLEDs[46]=hue; GREENLEDs[42]=hue; GREENLEDs[38]=hue; GREENLEDs[34]=hue;
  185.        GREENLEDs[62]=hue; GREENLEDs[58]=hue; GREENLEDs[54]=hue; GREENLEDs[50]=hue;
  186.        
  187.        BLUELEDs[15]=hue; BLUELEDs[11]=hue; BLUELEDs[7]=hue; BLUELEDs[3]=hue;
  188.        BLUELEDs[31]=hue; BLUELEDs[27]=hue; BLUELEDs[23]=hue; BLUELEDs[19]=hue;
  189.        BLUELEDs[46]=hue; BLUELEDs[42]=hue; BLUELEDs[38]=hue; BLUELEDs[34]=hue;
  190.        BLUELEDs[62]=hue; BLUELEDs[58]=hue; BLUELEDs[54]=hue; BLUELEDs[50]=hue; }
  191.  
  192.        if(scene==20){
  193.              //int turnonlist[] = {15,11,7,3, 30,26,22,18, 46,42,38,34, 61,57,53,49};
  194.              //turnon(turnonlist, 16, 0, hue, hue);}
  195.        GREENLEDs[15]=hue; GREENLEDs[11]=hue; GREENLEDs[7]=hue; GREENLEDs[3]=hue;
  196.        GREENLEDs[30]=hue; GREENLEDs[26]=hue; GREENLEDs[22]=hue; GREENLEDs[18]=hue;
  197.        GREENLEDs[46]=hue; GREENLEDs[42]=hue; GREENLEDs[38]=hue; GREENLEDs[34]=hue;
  198.        GREENLEDs[61]=hue; GREENLEDs[57]=hue; GREENLEDs[53]=hue; GREENLEDs[49]=hue;
  199.        
  200.        BLUELEDs[15]=hue; BLUELEDs[11]=hue; BLUELEDs[7]=hue; BLUELEDs[3]=hue;
  201.        BLUELEDs[30]=hue; BLUELEDs[26]=hue; BLUELEDs[22]=hue; BLUELEDs[18]=hue;
  202.        BLUELEDs[46]=hue; BLUELEDs[42]=hue; BLUELEDs[38]=hue; BLUELEDs[34]=hue;
  203.        BLUELEDs[61]=hue; BLUELEDs[57]=hue; BLUELEDs[53]=hue; BLUELEDs[49]=hue; }
  204.  
  205.        if(scene==21){
  206.              //int turnonlist[] = {15,11,7,3, 30,26,22,18, 45,41,37,33, 60,56,52,48};
  207.              //turnon(turnonlist, 16, 0, hue, hue);}
  208.        GREENLEDs[15]=hue; GREENLEDs[11]=hue; GREENLEDs[7]=hue; GREENLEDs[3]=hue;
  209.        GREENLEDs[30]=hue; GREENLEDs[26]=hue; GREENLEDs[22]=hue; GREENLEDs[18]=hue;
  210.        GREENLEDs[45]=hue; GREENLEDs[41]=hue; GREENLEDs[37]=hue; GREENLEDs[33]=hue;
  211.        GREENLEDs[60]=hue; GREENLEDs[56]=hue; GREENLEDs[52]=hue; GREENLEDs[48]=hue;
  212.        
  213.        BLUELEDs[15]=hue; BLUELEDs[11]=hue; BLUELEDs[7]=hue; BLUELEDs[3]=hue;
  214.        BLUELEDs[30]=hue; BLUELEDs[26]=hue; BLUELEDs[22]=hue; BLUELEDs[18]=hue;
  215.        BLUELEDs[45]=hue; BLUELEDs[41]=hue; BLUELEDs[37]=hue; BLUELEDs[33]=hue;
  216.        BLUELEDs[60]=hue; BLUELEDs[56]=hue; BLUELEDs[52]=hue; BLUELEDs[48]=hue; }
  217.  
  218.        if(scene==22){
  219.              //int turnonlist[] = {15,11,7,3, 30,26,22,18, 29,25,21,17, 44,40,36,32};
  220.              //turnon(turnonlist, 16, 0, hue, hue);}
  221.        GREENLEDs[15]=hue; GREENLEDs[11]=hue; GREENLEDs[7]=hue; GREENLEDs[3]=hue;
  222.        GREENLEDs[30]=hue; GREENLEDs[26]=hue; GREENLEDs[22]=hue; GREENLEDs[18]=hue;
  223.        GREENLEDs[29]=hue; GREENLEDs[25]=hue; GREENLEDs[21]=hue; GREENLEDs[17]=hue;
  224.        GREENLEDs[44]=hue; GREENLEDs[40]=hue; GREENLEDs[36]=hue; GREENLEDs[32]=hue;
  225.        
  226.        BLUELEDs[15]=hue; BLUELEDs[11]=hue; BLUELEDs[7]=hue; BLUELEDs[3]=hue;
  227.        BLUELEDs[30]=hue; BLUELEDs[26]=hue; BLUELEDs[22]=hue; BLUELEDs[18]=hue;
  228.        BLUELEDs[29]=hue; BLUELEDs[25]=hue; BLUELEDs[21]=hue; BLUELEDs[17]=hue;
  229.        BLUELEDs[44]=hue; BLUELEDs[40]=hue; BLUELEDs[36]=hue; BLUELEDs[32]=hue; }
  230.        
  231.        if(scene==23){
  232.              //int turnonlist[] = {15,11,7,3, 14,10,6,2, 29,25,21,17, 28,24,20,16};
  233.              //turnon(turnonlist, 16, 0, hue, hue);}
  234.        GREENLEDs[15]=hue; GREENLEDs[11]=hue; GREENLEDs[7]=hue; GREENLEDs[3]=hue;
  235.        GREENLEDs[14]=hue; GREENLEDs[10]=hue; GREENLEDs[6]=hue; GREENLEDs[2]=hue;
  236.        GREENLEDs[29]=hue; GREENLEDs[25]=hue; GREENLEDs[21]=hue; GREENLEDs[17]=hue;
  237.        GREENLEDs[28]=hue; GREENLEDs[24]=hue; GREENLEDs[20]=hue; GREENLEDs[16]=hue;
  238.        
  239.        BLUELEDs[15]=hue; BLUELEDs[11]=hue; BLUELEDs[7]=hue; BLUELEDs[3]=hue;
  240.        BLUELEDs[14]=hue; BLUELEDs[10]=hue; BLUELEDs[6]=hue; BLUELEDs[2]=hue;
  241.        BLUELEDs[29]=hue; BLUELEDs[25]=hue; BLUELEDs[21]=hue; BLUELEDs[17]=hue;
  242.        BLUELEDs[28]=hue; BLUELEDs[24]=hue; BLUELEDs[20]=hue; BLUELEDs[16]=hue; }
  243.        
  244.        if(scene==24){
  245.              //int turnonlist[] = {0,1,2,3, 4,5,6,7, 8,9,10,11, 12,13,14,15};
  246.              //turnon(turnonlist, 16, hue, 0, hue);}
  247.        REDLEDs[0]=hue; REDLEDs[1]=hue; REDLEDs[2]=hue; REDLEDs[3]=hue;
  248.        REDLEDs[4]=hue; REDLEDs[5]=hue; REDLEDs[6]=hue; REDLEDs[7]=hue;
  249.        REDLEDs[8]=hue; REDLEDs[9]=hue; REDLEDs[10]=hue; REDLEDs[11]=hue;
  250.        REDLEDs[12]=hue; REDLEDs[13]=hue; REDLEDs[14]=hue; REDLEDs[15]=hue;
  251.        
  252.        BLUELEDs[0]=hue; BLUELEDs[1]=hue; BLUELEDs[2]=hue; BLUELEDs[3]=hue;
  253.        BLUELEDs[4]=hue; BLUELEDs[5]=hue; BLUELEDs[6]=hue; BLUELEDs[7]=hue;
  254.        BLUELEDs[8]=hue; BLUELEDs[9]=hue; BLUELEDs[10]=hue; BLUELEDs[11]=hue;
  255.        BLUELEDs[12]=hue; BLUELEDs[13]=hue; BLUELEDs[14]=hue; BLUELEDs[15]=hue; }
  256.  
  257.        if(scene==25){
  258.              //int turnonlist[] = {0,4,8,12, 1,5,9,13, 18,19,22,23, 26,27,30,31};
  259.              //turnon(turnonlist, 16, hue, 0, hue);}
  260.        REDLEDs[0]=hue; REDLEDs[4]=hue; REDLEDs[8]=hue; REDLEDs[12]=hue;
  261.        REDLEDs[1]=hue; REDLEDs[5]=hue; REDLEDs[9]=hue; REDLEDs[13]=hue;
  262.        REDLEDs[18]=hue; REDLEDs[19]=hue; REDLEDs[22]=hue; REDLEDs[23]=hue;
  263.        REDLEDs[26]=hue; REDLEDs[27]=hue; REDLEDs[30]=hue; REDLEDs[31]=hue;
  264.        
  265.        BLUELEDs[0]=hue; BLUELEDs[4]=hue; BLUELEDs[8]=hue; BLUELEDs[12]=hue;
  266.        BLUELEDs[1]=hue; BLUELEDs[5]=hue; BLUELEDs[9]=hue; BLUELEDs[13]=hue;
  267.        BLUELEDs[18]=hue; BLUELEDs[19]=hue; BLUELEDs[22]=hue; BLUELEDs[23]=hue;
  268.        BLUELEDs[26]=hue; BLUELEDs[27]=hue; BLUELEDs[30]=hue; BLUELEDs[31]=hue; }
  269.              
  270.        if(scene==26){
  271.              //int turnonlist[] = {0,4,8,12, 17,18,21,22, 25,26,29,30, 47,43,39,35};
  272.              //turnon(turnonlist, 16, hue, 0, hue);}
  273.        REDLEDs[0]=hue; REDLEDs[4]=hue; REDLEDs[8]=hue; REDLEDs[12]=hue;
  274.        REDLEDs[17]=hue; REDLEDs[18]=hue; REDLEDs[21]=hue; REDLEDs[22]=hue;
  275.        REDLEDs[25]=hue; REDLEDs[26]=hue; REDLEDs[29]=hue; REDLEDs[30]=hue;
  276.        REDLEDs[47]=hue; REDLEDs[43]=hue; REDLEDs[39]=hue; REDLEDs[35]=hue;
  277.        
  278.        BLUELEDs[0]=hue; BLUELEDs[4]=hue; BLUELEDs[8]=hue; BLUELEDs[12]=hue;
  279.        BLUELEDs[17]=hue; BLUELEDs[18]=hue; BLUELEDs[21]=hue; BLUELEDs[22]=hue;
  280.        BLUELEDs[25]=hue; BLUELEDs[26]=hue; BLUELEDs[29]=hue; BLUELEDs[30]=hue;
  281.        BLUELEDs[47]=hue; BLUELEDs[43]=hue; BLUELEDs[39]=hue; BLUELEDs[35]=hue; }
  282.  
  283.        if(scene==27){
  284.              //int turnonlist[] = {0,4,8,12, 17,21,25,29, 34,38,42,46, 51,55,59,63};
  285.              //turnon(turnonlist, 16, hue, 0, hue);}
  286.        REDLEDs[0]=hue; REDLEDs[4]=hue; REDLEDs[8]=hue; REDLEDs[12]=hue;
  287.        REDLEDs[17]=hue; REDLEDs[21]=hue; REDLEDs[25]=hue; REDLEDs[29]=hue;
  288.        REDLEDs[34]=hue; REDLEDs[38]=hue; REDLEDs[42]=hue; REDLEDs[46]=hue;
  289.        REDLEDs[51]=hue; REDLEDs[55]=hue; REDLEDs[59]=hue; REDLEDs[63]=hue;
  290.        
  291.        BLUELEDs[0]=hue; BLUELEDs[4]=hue; BLUELEDs[8]=hue; BLUELEDs[12]=hue;
  292.        BLUELEDs[17]=hue; BLUELEDs[21]=hue; BLUELEDs[25]=hue; BLUELEDs[29]=hue;
  293.        BLUELEDs[34]=hue; BLUELEDs[38]=hue; BLUELEDs[42]=hue; BLUELEDs[46]=hue;
  294.        BLUELEDs[51]=hue; BLUELEDs[55]=hue; BLUELEDs[59]=hue; BLUELEDs[63]=hue; }
  295.  
  296.        if(scene==28){
  297.              //int turnonlist[] = {0,4,8,12, 17,21,25,29, 33,37,41,45, 50,54,58,62};
  298.              //turnon(turnonlist, 16, hue, 0, hue);}
  299.        REDLEDs[0]=hue; REDLEDs[4]=hue; REDLEDs[8]=hue; REDLEDs[12]=hue;
  300.        REDLEDs[17]=hue; REDLEDs[21]=hue; REDLEDs[25]=hue; REDLEDs[29]=hue;
  301.        REDLEDs[33]=hue; REDLEDs[37]=hue; REDLEDs[41]=hue; REDLEDs[45]=hue;
  302.        REDLEDs[50]=hue; REDLEDs[54]=hue; REDLEDs[58]=hue; REDLEDs[62]=hue;
  303.        
  304.        BLUELEDs[0]=hue; BLUELEDs[4]=hue; BLUELEDs[8]=hue; BLUELEDs[12]=hue;
  305.        BLUELEDs[17]=hue; BLUELEDs[21]=hue; BLUELEDs[25]=hue; BLUELEDs[29]=hue;
  306.        BLUELEDs[33]=hue; BLUELEDs[37]=hue; BLUELEDs[41]=hue; BLUELEDs[45]=hue;
  307.        BLUELEDs[50]=hue; BLUELEDs[54]=hue; BLUELEDs[58]=hue; BLUELEDs[62]=hue; }
  308.  
  309.        if(scene==29){
  310.              //int turnonlist[] = {0,4,8,12, 16,20,24,28, 33,37,41,45, 49,53,57,61};
  311.              //turnon(turnonlist, 16, hue, 0, hue);}
  312.        REDLEDs[0]=hue; REDLEDs[4]=hue; REDLEDs[8]=hue; REDLEDs[12]=hue;
  313.        REDLEDs[16]=hue; REDLEDs[20]=hue; REDLEDs[24]=hue; REDLEDs[28]=hue;
  314.        REDLEDs[33]=hue; REDLEDs[37]=hue; REDLEDs[41]=hue; REDLEDs[45]=hue;
  315.        REDLEDs[49]=hue; REDLEDs[53]=hue; REDLEDs[57]=hue; REDLEDs[61]=hue;
  316.        
  317.        BLUELEDs[0]=hue; BLUELEDs[4]=hue; BLUELEDs[8]=hue; BLUELEDs[12]=hue;
  318.        BLUELEDs[16]=hue; BLUELEDs[20]=hue; BLUELEDs[24]=hue; BLUELEDs[28]=hue;
  319.        BLUELEDs[33]=hue; BLUELEDs[37]=hue; BLUELEDs[41]=hue; BLUELEDs[45]=hue;
  320.        BLUELEDs[49]=hue; BLUELEDs[53]=hue; BLUELEDs[57]=hue; BLUELEDs[61]=hue; }
  321.  
  322.        if(scene==30){
  323.              //int turnonlist[] = {0,4,8,12, 16,20,24,28, 32,36,40,44, 48,52,56,60};
  324.              //turnon(turnonlist, 16, 0, hue, 0);}
  325.        GREENLEDs[0]=hue; GREENLEDs[4]=hue; GREENLEDs[8]=hue; GREENLEDs[12]=hue;
  326.        GREENLEDs[16]=hue; GREENLEDs[20]=hue; GREENLEDs[24]=hue; GREENLEDs[28]=hue;
  327.        GREENLEDs[32]=hue; GREENLEDs[36]=hue; GREENLEDs[40]=hue; GREENLEDs[44]=hue;
  328.        GREENLEDs[48]=hue; GREENLEDs[52]=hue; GREENLEDs[56]=hue; GREENLEDs[60]=hue; }
  329.  
  330.        if(scene==31){
  331.              //int turnonlist[] = {0,4,9,13, 16,20,25,29, 32,36,41,45, 48,52,57,61};
  332.              //turnon(turnonlist, 16, 0, hue, 0);}
  333.        GREENLEDs[0]=hue; GREENLEDs[4]=hue; GREENLEDs[9]=hue; GREENLEDs[13]=hue;
  334.        GREENLEDs[16]=hue; GREENLEDs[20]=hue; GREENLEDs[25]=hue; GREENLEDs[29]=hue;
  335.        GREENLEDs[32]=hue; GREENLEDs[36]=hue; GREENLEDs[41]=hue; GREENLEDs[45]=hue;
  336.        GREENLEDs[48]=hue; GREENLEDs[52]=hue; GREENLEDs[57]=hue; GREENLEDs[61]=hue; }
  337.  
  338.        if(scene==32){
  339.              //int turnonlist[] = {0,16,32,48, 5,21,37,53, 9,25,41,57, 14,30,46,62};
  340.              //turnon(turnonlist, 16, 0, hue, 0);}
  341.        GREENLEDs[0]=hue; GREENLEDs[16]=hue; GREENLEDs[32]=hue; GREENLEDs[48]=hue;
  342.        GREENLEDs[5]=hue; GREENLEDs[21]=hue; GREENLEDs[37]=hue; GREENLEDs[53]=hue;
  343.        GREENLEDs[9]=hue; GREENLEDs[25]=hue; GREENLEDs[41]=hue; GREENLEDs[57]=hue;
  344.        GREENLEDs[14]=hue; GREENLEDs[30]=hue; GREENLEDs[46]=hue; GREENLEDs[62]=hue; }
  345.  
  346.        if(scene==33){
  347.              //int turnonlist[] = {0,16,32,48, 5,21,37,53, 10,26,42,58, 15,31,47,63};
  348.              //turnon(turnonlist, 16, 0, hue, 0);}
  349.        GREENLEDs[0]=hue; GREENLEDs[16]=hue; GREENLEDs[32]=hue; GREENLEDs[48]=hue;
  350.        GREENLEDs[5]=hue; GREENLEDs[21]=hue; GREENLEDs[37]=hue; GREENLEDs[53]=hue;
  351.        GREENLEDs[10]=hue; GREENLEDs[26]=hue; GREENLEDs[42]=hue; GREENLEDs[58]=hue;
  352.        GREENLEDs[15]=hue; GREENLEDs[31]=hue; GREENLEDs[47]=hue; GREENLEDs[63]=hue; }
  353.  
  354.        if(scene==34){
  355.              //int turnonlist[] = {0,16,32,48, 5,21,37,53, 6,22,38,54, 11,27,43,59};
  356.              //turnon(turnonlist, 16, 0, hue, 0);}
  357.        GREENLEDs[0]=hue; GREENLEDs[16]=hue; GREENLEDs[32]=hue; GREENLEDs[48]=hue;
  358.        GREENLEDs[5]=hue; GREENLEDs[21]=hue; GREENLEDs[37]=hue; GREENLEDs[53]=hue;
  359.        GREENLEDs[6]=hue; GREENLEDs[22]=hue; GREENLEDs[38]=hue; GREENLEDs[54]=hue;
  360.        GREENLEDs[11]=hue; GREENLEDs[27]=hue; GREENLEDs[43]=hue; GREENLEDs[59]=hue; }
  361.  
  362.        if(scene==35){
  363.              //int turnonlist[] = {0,16,32,48, 1,17,33,49, 6,22,38,54, 7,23,39,55};
  364.              //turnon(turnonlist, 16, 0, hue, 0);}
  365.        GREENLEDs[0]=hue; GREENLEDs[16]=hue; GREENLEDs[32]=hue; GREENLEDs[48]=hue;
  366.        GREENLEDs[1]=hue; GREENLEDs[17]=hue; GREENLEDs[33]=hue; GREENLEDs[49]=hue;
  367.        GREENLEDs[6]=hue; GREENLEDs[22]=hue; GREENLEDs[38]=hue; GREENLEDs[54]=hue;
  368.        GREENLEDs[7]=hue; GREENLEDs[23]=hue; GREENLEDs[39]=hue; GREENLEDs[55]=hue; }
  369.  
  370.        if(scene==36){
  371.              //int turnonlist[] = {0,16,32,48, 1,17,33,49, 2,18,34,50, 3,19,35,51};
  372.              //turnon(turnonlist, 16, 0, hue, hue);}
  373.        GREENLEDs[0]=hue; GREENLEDs[16]=hue; GREENLEDs[32]=hue; GREENLEDs[48]=hue;
  374.        GREENLEDs[1]=hue; GREENLEDs[17]=hue; GREENLEDs[33]=hue; GREENLEDs[49]=hue;
  375.        GREENLEDs[2]=hue; GREENLEDs[18]=hue; GREENLEDs[34]=hue; GREENLEDs[50]=hue;
  376.        GREENLEDs[3]=hue; GREENLEDs[19]=hue; GREENLEDs[35]=hue; GREENLEDs[51]=hue;
  377.        
  378.        BLUELEDs[0]=hue; BLUELEDs[16]=hue; BLUELEDs[32]=hue; BLUELEDs[48]=hue;
  379.        BLUELEDs[1]=hue; BLUELEDs[17]=hue; BLUELEDs[33]=hue; BLUELEDs[49]=hue;
  380.        BLUELEDs[2]=hue; BLUELEDs[18]=hue; BLUELEDs[34]=hue; BLUELEDs[50]=hue;
  381.        BLUELEDs[3]=hue; BLUELEDs[19]=hue; BLUELEDs[35]=hue; BLUELEDs[51]=hue; }
  382.  
  383. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top