xSemaphoreGiveFromISR() dan foydalangan holda oddiy vazifalarni sinxronlashtiring
Void setup() da xTaskCreate() API yordamida ikkita vazifa yarating va keyin xSemaphoreCreateBinary() yordamida semafor yarating.
InterruptHandler() funksiyasida xSemaphoreGiveFromISR() API ni chaqiring
TaskLed funksiyasini yarating va while sikli ichida xSemaphoreTake() API bilan bog’langan holda semafor muvaffaqiyatli olingan yoki olinmaganligini tekshiring