Lesson Two: Software Clock
To turn a counter into a clock, you need to introduce the recycling of time every 12 hours. How will the code 'know' if it's AM or PM? With a Boolean variable.
Topics Covered:
Since you built the core of your code in the last lesson, you can see how to add a single small feature to your clock. Continue reading through all of the code and pulling up the previous lesson in another window so that you can compare them side-by-side with all of the comments folded away.