LCD Display prob - 18F452 on Hitachi HD44780 LCD controller

Page: < 12 Showing page 2 of 2
Author
Pepperysteve
Super Member
  • Total Posts : 462
  • Reward points : 0
  • Joined: 2005/03/14 12:17:39
  • Location: Fresno,California
  • Status: offline
RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2006/08/23 20:39:04 (permalink)
0
Its the result of invoking a .Bat file to recompile the libraries.

The .bat file calls the compiler executable to build a specific library file - once it is done, the compiler terminates, passes control back to the .bat file which turns around and calls the compiler to build the next library file, and so on...  Each launch of the compiler, as a consequence, repeats the warning messages.

I don't know if there is a command line switch to disable the warning message or not - be nice to have.

Steve
#21
Janette99
Starting Member
  • Total Posts : 47
  • Reward points : 0
  • Joined: 2006/08/15 18:08:13
  • Location: 0
  • Status: offline
RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2006/08/27 19:40:58 (permalink)
0
Thank you everyone for your input.  After fighting with this for a couple of more days, I was able to write to the LCD display.

Now onto bigger and tougher problems.

Janette
#22
cholin
Senior Member
  • Total Posts : 122
  • Reward points : 0
  • Joined: 2006/01/15 09:21:03
  • Location: 0
  • Status: offline
RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2006/09/04 17:18:07 (permalink)
0
Mind mentioning how?  Im sorta stuck too... I think Ive got it all set up right, but for the last 2 days its sorta been upsetting me.  My simulator also gets stuck on the second call to the Busy function, so I think we may be stuck in the same place.  Ive already built all the libraries but Im not sure if I changed anything since then, so right now Im doing a quick build of them.  Would you mind sharing what your problem was and how you fixed it up?  Perhaps some source code would be nice too if its not a bother?
#23
stustu92
New Member
  • Total Posts : 10
  • Reward points : 0
  • Joined: 2006/11/28 16:59:25
  • Location: 0
  • Status: offline
RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2006/12/01 09:03:20 (permalink)
0
Hi Janette

I have had the same problem as you have, i have now rebuilt my processor library. Could you tell us what else you did to get your LCD to work?

I am still unable to operate my LCD.
#24
sqnyy
Starting Member
  • Total Posts : 34
  • Reward points : 0
  • Joined: 2006/11/28 00:15:31
  • Location: 0
  • Status: offline
RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2006/12/05 05:29:01 (permalink)
0
Jannete can you plese send me your project?
I dont understand what is wrong?
You may upload your project to rapidshare or etc and send us link of the file..
Can you please response as fast as you can?
#25
Grandpa Jay
Super Member
  • Total Posts : 279
  • Reward points : 0
  • Joined: 2006/11/21 17:08:59
  • Location: Fuquay Varina, NC
  • Status: offline
Re: RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2014/10/05 13:46:41 (permalink)
0
Hello people
I am replying to this old post because it is exactly where I am at.  I am not using xlcd.h beacuse of the different ports.  I think that I have the LCD wired up correctly.  I am using PyroElectro.com wiring and program.  I have changed PORT  to LAT in the appropriate places, I think.  I am running at 20MHz.  My concern is delays.  Do I need delays between operations? The data sheet says 39us to 1.53us execution time at 270kHz for most instructions.
Any help will be appreciated.
Jay
#26
1and0
Access is Denied
  • Total Posts : 8530
  • Reward points : 0
  • Joined: 2007/05/06 12:03:20
  • Location: Harry's Gray Matter
  • Status: offline
Re: RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2014/10/05 15:25:02 (permalink)
+1 (1)
Grandpa Jay
I am running at 20MHz.  My concern is delays.  Do I need delays between operations? The data sheet says 39us to 1.53us execution time at 270kHz for most instructions.

At Fosc of 20 MHz you probably needs delay between the

E_PIN = 1;
E_PIN = 0;

sequences.  Check your LCD datasheet for the E pulse width and period.
 
Also, prnt() and commd() should accept a char instead of an int to reduce code space.
 
#27
Grandpa Jay
Super Member
  • Total Posts : 279
  • Reward points : 0
  • Joined: 2006/11/21 17:08:59
  • Location: Fuquay Varina, NC
  • Status: offline
Re: RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2014/10/06 08:58:12 (permalink)
0
Thank you
I have added Delay1KTCYx(10); as suggested.  I am not sure of the time, but I tried 100 and that did not help either.  I will have to rewire the LCD again.
What did you mean by "Also, prnt() and commd() should accept a char instead of an int to reduce code space."?  Are you talking about the difference in length?
Jay
#28
1and0
Access is Denied
  • Total Posts : 8530
  • Reward points : 0
  • Joined: 2007/05/06 12:03:20
  • Location: Harry's Gray Matter
  • Status: offline
Re: RE: LCD Display prob - 18F452 on Hitachi HD44780 LCD controller 2014/10/07 14:56:53 (permalink)
#29
Page: < 12 Showing page 2 of 2
Jump to:
© 2018 APG vNext Commercial Version 4.5