Hello Dragos,
I'm trying to get an answer from the ping function.
The following code shows the ISELED initialization.
iseledFctReturnValues[0] = digLED_Init_Interface(NUMBER_OF_INTERFACES, iseled1_InitConfig);
appState = OPERATION_ONGOING;
iseledFctReturnValues[1] = digLED_Reset(strip);
while (appState != BUS_FREE)
{
// wait
}
// initialize LED-stripe
appState = OPERATION_ONGOING;
digLEDResultStrip1.chainLength = MAX_NUM_LEDS;
digLEDResultStrip1.retData = &isledReturn.digLEDResultBufferStrip1[0];
iseledFctReturnValues[2] = digLED_Init_Strip(&testInitType, &digLEDResultStrip1, strip);
while (appState != BUS_FREE)
{
// wait
}
// Turn all LEDs off
appState = OPERATION_ONGOING;
iseledFctReturnValues[3] = digLED_Set_RGB(0, 0, 0, 0, strip);
while (appState != BUS_FREE)
{
// wait
}
appState = OPERATION_ONGOING;
digLEDResultStrip1.chainLength = MAX_NUM_LEDS;
digLEDResultStrip1.retData = &idigLEDResultBufferStrip1[0];
iseledFctReturnValues[4] = digLED_Ping(&digLEDResultStrip1, strip);
while (appState != BUS_FREE)
{
// wait
}
Each digLED function returns DIGLED_OK, but digLED_Ping contains only zero, but actually there are 200 LEDs connected. These LEDs can be turned on without any problem.
The Callback is implemented as you mentioned.
Is there a Pin configuration necessary to make the Ping function work?
Best regards
Thomas