Delay

This example replaces the user delay function with the os_delay_wait function.

This function is used to block the running task for a defined number of timer ticks.
While the task is blocked any other task that is in the READY state will resume running. 
When the delay expires the task will move into the ready state and then into the running state.


