User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

timing_things [2019/05/07 11:13] (current)
hutch created
Line 1: Line 1:
 +==== Determining the Timer Period ====
 +You will need to determine an appropriate period for the occurrence of timer interrupts. This is where the intervalTimer package that you wrote will come in very handy. You need to measure the execution time for all of your clockDisplay_ functions and determine the longest possible execution time for any of these functions. Use that information to determine what the timer period should be. It can't be too short or you will miss interrupts because some of the clockDisplay_ functions may take awhile to execute (you may not miss more than 1 interrupt). Also, you can't make the period too long (longer than necessary) or the responsiveness of the clock will suffer when you set it.
timing_things.txt ยท Last modified: 2019/05/07 11:13 by hutch