Sorry its 8 bit and I have used 38,06,0c for all two lines for years never had any trouble with it Steve... -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of cdb Sent: 09 November 2002 23:14 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [piclist]: LCD problem No you're missing the 0x02 for 2 line also if you are using 4 bit mode you need to send 0x03 three times. Below is my standard init sequence for LCd's //wake LCD,4bit mode/5*8font,clear,home,disp on/cursor off blink off const unsigned char initialise[6]={0x33,0x32,0x28,0x01,0x02,0x0C}; Easily converted to a DB statement if you use assembler Colin -- cdb, bodgy1@optusnet.com.au on 09/11/2002 -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics