View previous topic :: View next topic |
Author |
Message |
fregate Guest
|
problem with lcd.c and 16f877A |
Posted: Sat Jul 15, 2006 10:52 am |
|
|
hello.
I use a LCD with my pic 16f877a. all is working exept that if I want to write a 0, a P, a p or other characters like 0bxxxx0000, my sceen bug (I have a blank sceen !
I have test lcd.c on port D and port B, and I have the same problem ! |
|
![](templates/subSilver/images/spacer.gif) |
klausdejong
Joined: 15 Nov 2004 Posts: 18
|
|
Posted: Sat Jul 15, 2006 11:29 am |
|
|
Do you use the eight wire setup for your LCD?
If my memory is correct lcd.c uses the setup with 4 databits.
Try it, it may help.
Regards,
Klaus |
|
![](templates/subSilver/images/spacer.gif) |
Guest
|
|
Posted: Sat Jul 15, 2006 11:40 am |
|
|
y only use the 4 wires D7 to D4 (+ E, R/W ans RS), like it is discribe in the lcd.c code. |
|
![](templates/subSilver/images/spacer.gif) |
fregate Guest
|
|
Posted: Sat Jul 15, 2006 5:21 pm |
|
|
yIonly use the 4 wires D7 to D4, and E, R/W ans RS, like it is discribe in the lcd.c code.
I have do a lot of test, dans it is when I want to send a character with 4 zero in the lower bits, the left part of the sreen became black, and the LCD stop to respond. |
|
![](templates/subSilver/images/spacer.gif) |
|