xTaskCreate();

I tried to do as you said write them together in 1 task but they can’t handle the condition!