Timer Demo

This demo is based upon Scott Ferguson's Stopwatch demo from a few years ago, which uses a simple concept of checking the stopwatch/counter time against the device time. I have modified it to run to the second instead of 1/10 second for the purposes of this demo.

 What this provides is:

A few notes:


The key element of the demo, which is really what it is all about, is this routine in the blocks:

You should be able to see how we get the time from the device clock, and check it against the time for the counter/timer. If there is a difference, then this is adjusted back/forward to the device time.

BLOCKS 

VIDEO DEMO