Hi Luciano,
I get an error because you try to call Bit1_NegVal() without the device handle (and this is not what you have in your screenshot):
void TI1_OnInterrupt(LDD_TUserData *UserDataPtr)
{
/* Write your code here ... */
Bit1_NegVal();
}
Correct is:
void TI1_OnInterrupt(LDD_TUserData *UserDataPtr)
{
/* Write your code here ... */
Bit1_NegVal(Bit1_DeviceData);
}
Then things compile properly on my side.
Erich