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

Compiler Error on LCD.C

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



Joined: 28 Dec 2006
Posts: 2

View user's profile Send private message

Compiler Error on LCD.C
PostPosted: Thu Dec 28, 2006 11:36 pm     Reply with quote

Friends,

I am experimenting with a 2x16 LCD and was trying to write a simple program to display a test message. I created a main program and was trying to use the functions created in LCD.C (in the "drivers" folder) as follows:

Code:

     #include <lcd.c>

      delay_us(1000);
      lcd_putc("\fTest...\n");
      delay_ms(5000);


When I try to compile it, I get the follwing error messages:

LCD.C

Error 12 - Undefined identifier delay_us (or ms)

For every instance of either delay_us or delay_ms in the LCD.C file I get and "Unidentified identifier" error. Am I using the LCD.C file correctly? Not sure what I am doing wrong, any help would be appreciated.

Thanks,
Steve
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Dec 28, 2006 11:59 pm     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=28934
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