I am using the JHD162A LCD and got the same problems as prasanth based on the tutorial code .The connections are made as per the tutorial circuit diagram. But instead of showing an ‘A’ on the screen what I see is the backlit display is on and the first line of the screen is filled with black squares. Even if I increase or decrease the contrast pot only the black sqares become dark or light and no other output is obtained. Kindly help me out with it !!!!!!!!