lk Fresh air is probably a good idea. I have to echo Jinx's question -- how do you know the initialization is=20 working? If the initialization fails, you can get all sorts of weird=20 behaviors. Also, I'm a little concerned that you seem to have your delays on the rag= ged=20 edge. When starting out with a new LCD I like to talk to it in a very=20 leisurely fashion. There is no such thing as too slow as far as the LCD = is=20 concerned, so starting out with some very fat delays can give you a bette= r=20 chance to see the signals and be sure they are what you expect. Using delays AND the busy flag is a tad tricky, too. Examine that code, = or=20 start by using delays only. Not as efficient, but a bunch easier to get=20 working. --McD ----- Original Message -----=20 From: "lk" To: "'Microcontroller discussion list - Public.'" Sent: Wednesday, August 24, 2005 7:36 AM Subject: AW: [PIC] 4x27 LCD & P16F84A > I ve added some of the nop's but nothing changes. > I think I shoud go out to breathe some fresh air, maybe it will help. > > Thx so far! > > -----Urspr=FCngliche Nachricht----- > Von: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] Im Auftra= g=20 > von > Jinx > Gesendet: Mittwoch, 24. August 2005 13:16 > An: Microcontroller discussion list - Public. > Betreff: Re: [PIC] 4x27 LCD & P16F84A > > >> Aehm, Ive used the counter function in MPLAB (for the delays) >> After Initialization I see the cursor blinking in the upper left corne= r >> of the display.. > > That's probably good (but you may have got it accidentally or > even something that looks like what you wanted). You should > separate those bit commands in lcd_set with NOP. I guess > your micro speed is 4MHz or less if you're using XT, so one > NOP should be enough. Read-modify-write can be a real > problem and cause confusing effects, don't under-estimate it > > --=20 > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > > --=20 > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist >=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist