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 support@ccsinfo.com

Use a LCD for the first time

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



Joined: 31 May 2004
Posts: 1

View user's profile Send private message

Use a LCD for the first time
PostPosted: Mon May 31, 2004 6:18 am     Reply with quote

Hello all

I am beginner with CCS and I want use a LCD HD44780-compatible for to write "HELLO WORLD"
For that I has used a driver describe here:
http://www.vermontficks.org/lcdc2.htm
but a error occur on next line:
Quote:
if ( !cSkip )


Message:undefined identifier cSkip

Can you hepl me?
Ttelmah
Guest







Re: Use a LCD for the first time
PostPosted: Mon May 31, 2004 7:34 am     Reply with quote

debutpic wrote:
Hello all

I am beginner with CCS and I want use a LCD HD44780-compatible for to write "HELLO WORLD"
For that I has used a driver describe here:
http://www.vermontficks.org/lcdc2.htm
but a error occur on next line:
Quote:
if ( !cSkip )


Message:undefined identifier cSkip

Can you hepl me?

The code is only a 'snippet'... Basically, there should be a variable defined calld 'cSkip', which is presumably set true, when characters are not to be displayed (skipped). Try adding:
int1 cSkip=false;
Near the definitions at the front of the code. Also be aware that you are going to have to include the processor file etc., before the port definitions will work.
You really need to ask to ask the author about what else is needed. You could instead just use the lcd.h include file that comes with the compiler, and change a couple of definitions to suit your port, and for this you will find a lot more people with knowledge/experience here.

Best Wishes
Guest








PostPosted: Mon May 31, 2004 9:29 am     Reply with quote

thank's for your reply Ttelmah
I have a experimented board with the next connection

LCD PIC 16F877

DB7 RB7
DB6 RB6
DB5 RB5
DB4 RB4
E RB2
RS RB3
RW GROUND

How to change the driver "lcd.c"
Guest








PostPosted: Mon May 31, 2004 9:30 am     Reply with quote

Anonymous wrote:
thank's for your reply Ttelmah
I have a experimented board with the next connection

LCD /// PIC 16F877

DB7 /// RB7
DB6 /// RB6
DB5 /// RB5
DB4 /// RB4
E /// RB2
RS /// RB3
RW /// GROUND

How to change the driver "lcd.c"
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