Part Number: CC2650
Tool/software: TI-RTOS
Hello Sir,
I have a task named FADER and I use this code
scifOsalInit();
scifInit(&scifDriverSetup);
// Main loop
while (1) {
// Configure the LED Fader task
Semaphore_pend(Semaphore_handle(&ledActivated), BIOS_WAIT_FOREVER);
while (scifWaitOnNbl(0) != SCIF_SUCCESS);
scifExecuteTasksOnceNbl(BV(SCIF_LED_FADER_TASK_ID));
}
and if use some values like below before making the semaphore post
scifTaskData.ledFader.input.moisture = 1;
scifTaskData.ledFader.input.eventType[1] = 1;
the corresponding action is not taking place. I tried the same with cfg and output structure too. Could you please tell me when to use these structure and how to change its input from the main application so that the particular action defined can take place in the senor controller.