
count will give dierent delays. Also, dierent delays will be obtained with
other C compilers. More accurate and compiler independent delays can be
obtained using the timer utilities of the microcontroller.
Components Required
In addition to the components required by the basic microcontroller circuit, the
following components will be required for this project:
R2 470 O, 0.125 W resistor (8 o), or DIL package
D LED (8 o)
PROJECT 2 ± LED Chasing Circuit
Function
This project turns on the LEDs connected to port 1 of the microcontroller in
sequence, resulting in a chasing LED eect. The data is displayed with about 1
second delay between each output pattern. ...