With the LCDs I use, (Taiwanese) they will not work without a contrast resistor. This can be a single resistor about 10k (needs experiment) from the contrast pin to ground. Preferably use a pot with the ends between +5 and ground with the wiper to the contrast pin.

Otherwise the screen will remain totally blank.

HTH
Brian