Page 8 - ciencia y tecnologia
P. 8
c=c+1;
b=0;
}
if(c%2==1){
digitalWrite(9,HIGH);
}else{
digitalWrite(9,LOW);
}
if(c%4==2||c%4==3){
digitalWrite(10,HIGH);
}else{
digitalWrite(10,LOW);
}
if(c%8>3 && c%8<8){
digitalWrite(11,HIGH);
}else{
digitalWrite(11,LOW);
}
if(c%16>7 && c%16<16){
digitalWrite(12,HIGH);
}else{
digitalWrite(12,LOW);
}
if(c%32>15 && c%32<32){
digitalWrite(13,HIGH);
}else{
digitalWrite(13,LOW);
}
if(c==24){
c=0;
}
}