CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

problem with lcd.c and 16f877A

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
fregate
Guest







problem with lcd.c and 16f877A
PostPosted: Sat Jul 15, 2006 10:52 am     Reply with quote

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 !
klausdejong



Joined: 15 Nov 2004
Posts: 18

View user's profile Send private message

PostPosted: Sat Jul 15, 2006 11:29 am     Reply with quote

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
Guest








PostPosted: Sat Jul 15, 2006 11:40 am     Reply with quote

y only use the 4 wires D7 to D4 (+ E, R/W ans RS), like it is discribe in the lcd.c code.
fregate
Guest







PostPosted: Sat Jul 15, 2006 5:21 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group