Problem with serial communication

Or you can use Serial.write() which sends the byte directly. Serial.write(12) sends one byte (0x0C) which is different than Serial.print(12) which sends "12".

I'd suggest you read the manual. It's WAY faster than posting basic questions and waiting for responses.