I finally got around to starting to implement a clock feature in my menu program. I used the timer driver. It just waits for 1000ms and then outputs a time. To start, the menu goes into a loop that does getchar and then based on the letter pressed, does this: ‘m’: Increment minute ‘M’: Add 10 to minutes ‘h’: increment hour ‘g’: go–start the clock ‘s’: stop–stops the clock

It works.