This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problems with global variables

Hello, my project has a problem. I have to use a global boolean variable that can be used by two tasks, i set the variable and when i try to use it on the other tasks it's returning for me that the variable is undefined, even when i use EXTERN. How can i fix it?