lcd not working with arduino

i'm trying to interface a 16*2 lcd [JHD162a] with the arduino uno
i connected the lcd as per the schematics shown on Wiring a Character LCD | Character LCDs | Adafruit Learning System
there are no boxes or characters being displayed
pls help!!!

Your link points to one of the best tutorials available on getting an LCD to work. You have to follow all of the steps and make sure each one works before proceeding to the next.

Here is my condensed version:

(1) If the module has a backlight then get it working properly. This involves only pins 15 and 16 on your LCD module. Make sure to use
a current limiting resistor if there is none on the LCD module.

(2) Get the power and contrast working properly. This involves only pins 1, 2, and 3 on your LCD module. You should be able to see
blocks on one row of a two row display and on two rows of a four row display.

NOTE: The Arduino has not been used yet, except as a possible source for the power needed for the first two steps. Do not try to go any
further until this is working. If you don't see the blocks then no amount of program code will help.

(3) Connect the LCD R/W pin (pin 5) to GND.

(4) Connect the six control and data wires between your LCD module and your Arduino.

(5) Upload your sketch and it should work.

If you are still having problems then we need to see a photograph of your setup that clearly and unambiguously shows all of the connections between your Arduino and your LCD module.

Don

thanks!!!
the contrast wasn't properly connected to the potentiometer .
i got it to work now though!!