Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4923

LCD Initialization problem with 4x20 using XC8, PIC18F45K50, 4-Bit, Pins RD0-RD7

$
0
0
Hi, I'd really appreciate your help, this is driving me mad..

This code works sometimes, if I compile it say 4 times it will run once or twice successfully, the other times the LED's used to trace the code flow were telling me its getting to the Init code but the LCD is not displaying.

I've tried increased timing to silly numbers, I written a GH_delay_ms timer and tested it and its reasonably accurate. I've add delays all over the place without joy, I've reviewed and tried lots of code...

LCD Initialization problem with 4x20 using XC8, PIC18F45K50, 4-Bit, Pins RD0-RD7

Viewing all articles
Browse latest Browse all 4923

Trending Articles