I think you'll find that the LCD clear command takes a long time to=20 perform, so make sure you add a delay in there too. Take another look at the LCD data sheet as it will specify how long each=20 command takes to complete. You *have to* wait after a few of those commands as the LCD will ignore=20 you while it is busy. David... On 23/10/2015 5:49 PM, Richard R. Pope wrote: > James and et al, > The code is posted on pastebin.com. Here is the link to it: > http://pastebin.com/VhpXvqaQ. > Thanks, > rich! > > On 10/23/2015 2:38 AM, Richard R. Pope wrote: >> James, >> I understand. I'm going to post the code in a couple of minutes. >> Thanks, >> rich! >> >> On 10/23/2015 2:27 AM, James Cameron wrote: >>> As r/s line never goes high, work on that. LCD_Send_data requires it >>> to go high in order to clock data out. It's the cause of the LCD >>> ignoring you. >>> >>> I suggest writing a new program just to set r/s high, and test it >>> against your LEDs. >>> >>> Pastebin won't have a trouble with a large C program. It won't be >>> private. Don't use it if you don't mind others seeing it, but as >>> you're posting to PIClist you should already be fine with that. >>> >>> As for compression, don't worry about it. As long as you have a >>> modern web browser, it will handle compression for you. >>> >>> On Fri, Oct 23, 2015 at 01:32:57AM -0500, Richard R. Pope wrote: >>>> James, >>>> I just finished installing the LEDs. I increased wait(); to ab= out 2 >>>> seconds instead of about 20ms. The e line goes high and low. The r/w >>>> line goes high and low. The r/s line never goes high. Can I zip the co= de >>>> and put it into pastebin? I have never used it before. We could go >>>> private but then others will miss out on what we are doing here. >>>> Thanks, >>>> rich! >>>> >>>> --=20 ___________________________________________ David Duffy Audio Visual Devices P/L Unit 8, 10 Hook St, Capalaba 4157 Australia Ph: +61 7 38235717 Fax: +61 7 38234717 Our Web Site: www.audiovisualdevices.com.au ___________________________________________ --=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 .