The event example code shows how a task waits for an event. This event
can be set by any other process or interrupt in the system. The example
simulates an ISR event using another simple task.

The example application creates two tasks. The service_task task
creates an event group, opens it and enters a loop in which it waits
for an event bit. When the appropriate event bit is set, it clears it
and prints "Tick.". The simulated_ISR_task task opens a connection to
the event group and periodically sets the corresponding event bit with
a delay in between.