simple serial issue

You can avoid those -1 outputs by checking if data is available before trying to read it.

while (true) {
if(Serial.available() ){
incomingByte = Serial.read();
Serial.printlincomingByte);
}
}

But you will not get anything useful if you don't have the baud rate set correctly.