switch(byteRead){
case 49:
digitalWrite(led, HIGH);
break;
case 0:
digitalWrite(led, LOW);
break;
default:
break;
Serial.write(byteRead);
}
The Serial.write() call after the break statement is pretty useless, don't you think?
Perhaps NOW you can see why we ask you to put every { on a new line, and use Tools + Auto Format.
The Serial.write() statement goes AFTER the }.