Add the
PAUSE 500
BEFORE you send ANYTHING out to the LCD...
And try PAUSE 2000 and work your way down to a managable value.
Add the
PAUSE 500
BEFORE you send ANYTHING out to the LCD...
And try PAUSE 2000 and work your way down to a managable value.
Hi, skimask.
Thank you for the reply.
I added PAUSE 2000 before CMCON=7 statement.
On my 20x4, I still get 20 blocks on lines 1 & 3.. and rest are blanks.
Regards,
John Paul
Hook up an LED to a spare pin, and rewrite the program to blink it once per second along with running your LCD. That should tell you that the program is running in the first place.
Note: I ALWAYS use a 'heartbeat' LED in my projects, doesn't matter what it is, or how I tie it into the main program, so long as I know how it's supposed to be blinking, whether I tie it into an interrupt, or just part of the main loop or whatever...doesn't really matter. And I usually don't remove the 'heartbeat' LED until I'm almost done, or I need that particular pin.
Bookmarks