Synchronizing tasks

Your description of the problem is not very clear. It seems that you want to trigger LED tasks from the UART handling task when something happens. If that is right, you should be able to use task notification for that - RTOS task notification API functions