Hello:
I´m ussing a MC9S08AW16. I have created a bean called TO1 which is a TimerOutBean. I have selected the methods Enable, Unable and SetValue and I add this methods to my code in the next way:
#define BEEP_ON TO1_Enable()
#define BEEP_OFF TO1_Disable()
Then I use this macros in the next way:
void ResetBeepX(void)
{
TiempoON=0;
TiempoOFF=0;
NumeroBeeps=0;
TimeoutBeep=0;
Beep.BYTE=0;
BEEP_OFF;
}
When I compile I receive this message:
Link Error : L1822: Symbol TO1_Disable in file C:\proyecto\teka\KAG\KAG 6300\software\KAG6300_Data\Standard\ObjectCode\beep.C.o is undefined
Link Error : L1822: Symbol TO1_Enable in file C:\proyecto\teka\KAG\KAG 6300\software\KAG6300_Data\Standard\ObjectCode\beep.C.o is undefined
Link Error : Link failed
What are the causes than can yield this problem?
Please, I need help because I have spent lot of time and I can solve this problem.
Thanks a lot