protect reading2 32-bit timer value on a 16-bit ARM because multi-word fetch could be interrupted.
timer example defined new types for false and such
add release build to project files
optinal print functions that takes two numbers
implement the busy loop that polls the timer value without delay until the duration of the event has completed. also, don't use the periodic delay for the dispatch thread since it will queue up multiple runs while blocked by a high-priority task in the busy loop.