Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Make sure you have a pot that allows the contrast of the LCD to be adjusted. Adjust the pot to adjust the contrast and at some point, the blocks should be gone. Of course, this is assuming that the LCD configuration is okay and also that the code itself does not send "blocks" to the LCD.
So, before trying to figure out where the fault is, you must show your schematic and code.