Not getting the actual output from Serial Monitor

I’ve been using the 16x2 LCD display of Hitachi HD447780 driver. The Uno board and the LCD both is working fine. But when I giving inputs from Serial Monitor to display it on the LCD it’s showing up some unknown characters which is changing accordingly to the Serial input. What could be done to get the actual characters. There is no wrong in connections because it’s working fine with other programs. The Code is attached along with this topic. Please notify if there is any mistake.

Serial.ino (391 Bytes)

The Arduino Uno board uses pin 0 (RX) and pin 1 (TX) for the serial monitor and to upload a sketch.
Don't use pin 1 for the LCD. What was wrong with pin 2 ?
You can also use one or more analog pins for the LCD. They are digital pins as well.
For example like this: LiquidCrystal lcd ( 12, 11, A3, A2, A1, A0 ) ;

Thanks it worked.

Nice !
If you encounter problems, keep asking.