2020-03-09 11:38 AM
If i use 2 task, and in first task put the VL53L0X_PROXIMITY_GetDistance() with osDelay, second task never start. I tried to replace osDelay() with other function for context switch but i have same problem.
2020-04-09 01:03 PM
My guess:
osDelay delays by wasting cycles in a big for(;;) loop as you say.
HAL_Delay() allows the other tasks to run.