NNX
Newbie level 3
Hi! I've been having trouble with getting mplab and the hi-tech c compiler to work for me.
I'm trying to add a custom header file to my code but it keeps getting this error. I have them
included in my file that contains all the other stuff. If I add them using the little window where you
add header and source files it still errors out.
I'm using mplab 8.85 & hi-tech c 9.80 in LITE. Pic18f4620 as well.
Error [500] ; 0. undefined symbols:
_LCD_Move(timer0.obj) _LCD_Init(timer0.obj) _LCD_Write(timer0.obj)
I removed my code for the timer part and just kept my lcd stuff.
That's why you see timer0.obj
I'm trying to add a custom header file to my code but it keeps getting this error. I have them
included in my file that contains all the other stuff. If I add them using the little window where you
add header and source files it still errors out.
I'm using mplab 8.85 & hi-tech c 9.80 in LITE. Pic18f4620 as well.
Error [500] ; 0. undefined symbols:
_LCD_Move(timer0.obj) _LCD_Init(timer0.obj) _LCD_Write(timer0.obj)
I removed my code for the timer part and just kept my lcd stuff.
That's why you see timer0.obj
Code:
#include <htc.h>
#include <string.h>
#include <lcd_out.h>
void lcd_msg(void)
{
unsigned char A[20];
unsigned char i;
LCD_Move(0,0);
strcpy(A, "I am Locutus of Borg");
for (i=0; i<20; i++) LCD_Write(A[i]);
}
void main()
{
TRISD = 0;
LCD_Init();
lcd_msg();
while(1);
}