Academic Program

Timer0 Setup

Timer0 Setup

Timer0 has various options to select from. The prescaler value of 32 is selected from the drop-down menu. The period of the timer is then set to a value as close as possible to the desired 2.5 milliseconds. The interrupt will not be used, so this is left unchecked. Notice that the preload value will automatically change when the desired period is selected.