First page Back Continue Last page Overview Graphics

**Delay Loop**

## Using the previous delay loop, what count is required to implement a 0.14 millisecond delay? Assume a 16-MHz crystal.

## First determine how many clock cycles are needed.

## Answer _________

### Notes:

To determine the number of clock cycles needed, divide the total delay time by the delay time for each clock cycle. Once the number of required clock cycles is determined, solve for the loop count in the equation below.

1 * (2) + (Loop Count - 1) * (1 + 3) + 1 * (1 + 1) = # Clock Cycles