Question what's the difference between this:
and that?
void loop() {
buttonState=digitalRead(7);
if((buttonState==LOW)&&(x<=4)){
Serial.print(1 << x);
Serial.print(x, DEC)
Serial.println(x, BIN);
x=x+1;
}
}
Question what's the difference between this:
and that?
void loop() {
buttonState=digitalRead(7);
if((buttonState==LOW)&&(x<=4)){
Serial.print(1 << x);
Serial.print(x, DEC)
Serial.println(x, BIN);
x=x+1;
}
}