Page 7 - ciencia y tecnologia
P. 7

if(b%2==1){

            digitalWrite(2,HIGH);

          }else{

            digitalWrite(2,LOW);

          }
          if(b%4==2||b%4==3){

            digitalWrite(3,HIGH);

          }else{

            digitalWrite(3,LOW);

          }
          if(b%8>3 && b%8<8){

            digitalWrite(4,HIGH);

          }else{

            digitalWrite(4,LOW);

          }

          if(b%16>7 && b%16<16){
            digitalWrite(5,HIGH);

          }else{

            digitalWrite(5,LOW);

          }

          if(b%32>15 && b%32<32){

            digitalWrite(6,HIGH);
          }else{

            digitalWrite(6,LOW);

          }

          if(b%64>31 && b%64<64){

            digitalWrite(7,HIGH);
          }else{

            digitalWrite(7,LOW);

          }



          if(b==60){
   2   3   4   5   6   7   8   9   10   11   12