Stephen and David, I am installing LEDs right now. Then I will increase the delays so=20 that I can observe the sequence of events. Here are the numbers that I am sending to initialize the display: 0x00 and=20 three 0x30 with 30 ms in between each one. 0x38 Set to=20 8 bit, 2 line, 5x8 with 15 ms of delay 0x06 Set=20 Increment, No display shift with 5 ms 0x0F Set to=20 display on, cursor on, cursor is blinking 5ms 0x1C Set to=20 display on, cursor on, cursor is blinking 5ms And then I do a LCD_Clear(); This is exactly what I used with the=20 16f84a and it worked fine. Hum!! ?? Thanks, rich! On 10/22/2015 11:37 PM, stephen.forrest@agilent.com wrote: > Hi Richard- > Have you checked the Rs signal is actually changing _at_ the display? (Lo= ooooong delays - David has just beat me ;o) ) > > Also, can you post the exact sequence of commands for lcd_initialise(i)? = There should be a sequence of command writes. What are the actual values wr= itten (if the values are defined elsewhere what are the real numbers)? Part= icularly the "function set" command. From your comments, it seems that you = are expecting to use 8 bit data to the display. Are you sure the display is= set for this and not 4 bit data, which is very common to save pins? > > Keep digging! > > Stephen > > -----Original Message----- > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf = Of Richard R. Pope > Sent: Friday, 23 October 2015 2:21 PM > To: Microcontroller discussion list - Public. > Subject: Re: [PIC]: Trying to get a 18f4550 to talk to an LCD! Was 16f877= a > > David, > I added delays and I insured that the rs and rw lines were set corr= ectly. Still no good. I just don't know. > Thanks, > rich! > > On 10/22/2015 9:54 PM, David Duffy (AVD) wrote: >> If the commands work but the data doesn't, I would guess that LCD_rs >> is really not going high or you need a small delay (20uS for example) >> after changing LCD_rs. Add the delay to both the data and command routi= nes. >> David... >> --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .