Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

4. Project: Clock > Setting the Clock

Setting the Clock

The clock keeps accurate time, but it doesn’t start off knowing the time. The clock’s code assumes that it’s beginning at 12 o’clock, so you’ll need to set it accordingly. First, plug in the clock and hit the minute and hour buttons to move the hands to 12:00, if they’re not there already. Then unplug the clock and plug it back in, and you’ll be ready to use the buttons to set the clock to its true time.

  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint