This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LCD inserts spaces while displaying text

HI all,
I am making a small project in which i am using a 3.7v li-ion 2600mah Battery, 20x4 LCD, step up converter, mosfet, 89S52 and a keypad.
my concept is to just print a command on LCD.
so for that i wrote a command like...
Code:
printscreen("HELLO WORLD, HOW ARE YOU");
i prints absolutely fine. but the problem is it prints giving spaces in between like....
HELLO WOR LD, HOW ARE Y OU.
why is it happing.
i have connected my 89s52 directly to the battery so it keeps it always on. on keypress from keypad the stepup converter gets activated using a mosfet and supplies 5v only to LCD. data pins of LCD are connected to port1 of 89S52.

it prints perfectly in proteus without giving any spaces..... but it creates problem while i try to run the same in my circuit.