The example demonstrates how to work with the LWGPIO component.The example code consist of just one task (main_task) and the interrupt service routine triggered by the gpio pin(int_service_routine).

main_task:
- Creates semaphore.
- Configures the led and the button.
- Configures the button to trigger the interrupt on the falling edge if supported by the selected platform. (Register int_service_routine)
- Waits for 3 button pushes.
- Disables interrupt from the button.
- Reconfigures the button from the interrupt mode to the standard gpio mode.
- Drives the led based on the button state or drives the led automatically if BSP_BUTTON1 is not available.
- Prints out information message if BSP_BUTTON1 and BSP_LED1 are not available.

int_service_routine:
- Clears interrupt flag.
- Posts semaphore.