Hast du D0-D3 des LCDs an GND angeschlossen?
Vielleicht hilft auch ein initlcd vor der do-Loop Schleife?

jon