That’s right at the beginning of the question in figure 1 is to start the BLE task!
When I omit ulTaskNotifyTake from the BLE task, the BLE task is not executed, it goes directly through the dk_task. And the condition part just turns on the engine and doesn’t do anything else.
When the BLE task is inactive we cannot tell if the values are changing or not!
I will try to put all the conditions into the same variable!
And I don’t understand your statement “With the debugger attached you can simply put some breakpoints e.g. in dk_task when checking the condition and go through the code step by step. You will quickly see what’s wrong.”
Thank you!