while (Serial.available()<=0){ // waits until a byte is sent
inByte = Serial.read();
Serial.print(inByte);
}
Come on, James. You know better than that. While there is nothing to read, read it?
while (Serial.available()<=0){ // waits until a byte is sent
inByte = Serial.read();
Serial.print(inByte);
}
Come on, James. You know better than that. While there is nothing to read, read it?