ON 20050603@12:45:58 AM at page: http://www.piclist.com/techref/microchip/language/c/ios.htm#37893.5028356481 [slippyr4-gmail-] Replied to post 37893.5028356481 by rdlarson |Insert 'LCD = all black means not initialised. The Microchip xlcd libs definately work. You need to recompile the libraries once you've edited the .h files to reflect the port/pin you;ve connected your LCD. Did you do that? If not it's probably a timing issue. With the xlcd functions, you need to provide your own timing functions - make these wait a lot longer - maybe 10 or 20 times as long. Then if it works, slowly tighten up the timings. Additionally, make sure you're waiting at least 100ms or so after power on before you initialise the LCD- they take some time to settle down. If you're still stuck, please join and post to the mailing list.' at: '' rdlarson@lucent.com asks:
Hello, after attempting several peoples code for driving a Hitachi HD44780 based LCD I am confused. I happen to be using a Optrex DMC16106A, which is a 16x1 display. I have this connected via PortB (data) and PortD (ctrl) on a 18F452 Microchip processor. The processor works fine as I can write simple routines to blink LEDs and everything works fine. When I attempt to initialize the LCD and write a few characters, the display lights every pixel in every character position. I know I can doing something, because without the code the display remains totally dark. I have tried assembly routines as well as C routines all with no luck. I am using the C18 C compiler and MPLAB 6.0 with no luck. I have even tried using their XLCD libraries to start from scratch again nothing. Does anyone have any routines that work with the 18FXXX? I would love some recommendations. Thanks Russ LarsonON 20050609@3:49:55 PM at page: http://www.piclist.com/microchip/language/c/ios.htm#38512.5686111111 James Newton[JMN-EFP-786] published post 38512.5686111111 george_inacio@yahoo.com.br asks:
I made some modifications in the xlcd.h but the microcontroller don´t refletc the changes. I know I have to recompile the xlcd lib but I don´t know how to do it. Could someone explain me step-by-step? Thanks in advance!|Delete 'P-' before: '' but after: 'george_inacio@yahoo.com.br asks:
George Inacio
I made some modifications in the xlcd.h but the microcontroller don´t refletc the changes. I know I have to recompile the xlcd lib but I don´t know how to do it. Could someone explain me step-by-step? Thanks in advance!ON 20050621@10:13:09 AM at page: http://www.piclist.com/microchip/language/c/index.htm#38523.8849652778 James Newton[JMN-EFP-786] removed post 38523.8849652778 |Delete 'arun80n@gmail.com asks:
George Inacio
HI
im trying to get a Hitachi LCD interfaced to a PIC18452 uC. I tried using the sample code given for high tech C...im using mc18 c compiler..can someone help me with a workign code or any help in this regard. thanks a lot