piclist 2001\01\10\131857a >
Thread: Problems using a 1x8 chars LCD
picon face BY : Drew Vassallo email (remove spam text)

>text on the LCD i ALWAYS get a weird character(seems to be char code:
> >10110101) and even when i do a display clear or cursor home i cant get
> >to the first position of the LCD. Is my code wrong or have you
> >experienced this on your own?

Exactly WHERE is this character appearing?  In the middle of your display?
Before the first desired character is written?  At the end of the message?
I'll assume it's at the beginning of your message.

You have to ensure that the "E" bit is clear before you begin writing.  I
can't be sure that it is from the code you submitted.  If it isn't, then
your command line would not be sent until it's toggled again, which would be
the next character.  This would make your first character/command garbage.


{Quote hidden}

Looks like you're using Peter Ouwehand's routines.  Never used them myself,
but I assume they'd work.  Note that in his routines, he calls LCDBUSY
*before* he tries to write to the display.  This routine automatically
leaves the "E" bit clear.

If you still have problems, maybe you could check directly with him about


Get your FREE download of MSN Explorer at http://explorer.msn.com

http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email TakeThisOuTlistservspamspammitvma.mit.edu with SET PICList DIGEST in the body

seeking: minute over wdt

See also: www.piclist.com/techref/io/lcd/pic.htm?key=lcd
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Problems using a 1x8 chars LCD

month overview.

new search...