stevekos
Joined: 28 Dec 2006 Posts: 2
|
Compiler Error on LCD.C |
Posted: Thu Dec 28, 2006 11:36 pm |
|
|
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 |
|