do you think it should be just like this?
for(int i = 0; i < binLength; i++) {
if(binNumber[i] == '0') state = LOW;
if(binNumber[i] == '1') state = HIGH;
digitalWrite(outPin[i], state);
}
do you think it should be just like this?
for(int i = 0; i < binLength; i++) {
if(binNumber[i] == '0') state = LOW;
if(binNumber[i] == '1') state = HIGH;
digitalWrite(outPin[i], state);
}