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

Powertip LCD (PC 1602-H)

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



Joined: 18 Apr 2006
Posts: 3

View user's profile Send private message

Powertip LCD (PC 1602-H)
PostPosted: Tue Apr 18, 2006 5:32 pm     Reply with quote

Anyone knows how is the configuration code for this LCD (Powertip PC 1602-H)?
I try this code but don�t work.
Quote:

//######------------LCD Configuration------------########
output_low(PIN_A1); //RS
output_low(PIN_A2); //RW

delay_ms(100);

output_d(0x38); //Function SET
enable_lcd();
delay_ms(1);

output_d(0x06); //Entry mode SET
enable_lcd();
delay_ms(1);

output_d(0x01); // clear display
enable_lcd();
delay_ms(2);

output_d(0x0C); // Display ON
enable_lcd();
delay_ms(1);
//######-------------------------------------------########


Please anyone can help me?
jecottrell



Joined: 16 Jan 2005
Posts: 559
Location: Tucson, AZ

View user's profile Send private message

PostPosted: Tue Apr 18, 2006 7:24 pm     Reply with quote

Look through the drivers that already have been written. Here is a link to a bunch of good information:

http://www.ccsinfo.com/forum/viewtopic.php?t=24661&start=0

More info would help.

John
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