You sure your port is right? You have it as decimal 379, shouldn't it be hex 0x0379? nick@veys.com | www.veys.com/nick -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Mohamed Eldesoky Sent: Wednesday, May 30, 2001 7:42 PM To: PICLIST@MITVMA.MIT.EDU Subject: [EE]: LCD initialization Importance: High Hello I am trying to test an LCD on the parallel port of the computer. I am using the 4-bit mode of the LCD. Connecting the DB4-7 to the high 4 bitof the parallel port,and connecting rs to bit one on the parallel port,and enable on bit two. Is the C++ code supplied right or wrong ??? please send the reply to comm@hotpop.com thanks Mohamed Eldesoky ~~~~~~~~~~~~~ Life is to try. ~~~~~~~~~~~~~ Mohamed Eldesoky ~~~~~~~~~~~~~ Life is to try. ~~~~~~~~~~~~~ -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body