6.4.5 The Clock Task

The clock task is responsible for writing the time to the OLED every second. This is done by taking the oled_semaphore when writing. The clock task is also responsible for incrementing the time every second. See the figure below for the UML diagram.

Figure 6-8. Clock Task