I want to add a delay to the for loop. Every three seconds, execute "BleApp_ Senduartstream”
Hi @1758793535,
I hope you are doing great.
You could create a task that could help you with the timer.
gAppTestTask1Id = OSA_TaskCreate(OSA_TASK(vfnTaskLedBlinkTest), NULL); //Task Creation
void vfnTaskLedBlinkTest(void* param)
{
uint16_t wTimeValue = 500; //500ms
while(1)
{
LED_BLUE_TOGGLE();
vTaskDelay(pdMS_TO_TICKS(wTimeValue));
}
}
Regards,
Mario