It’s reading pins correctly but doesn’t seem to execute the code inside the conditions like vTaskSuspend,