X hits on this document

PDF document

AN INTRODUCTION TO - page 35 / 72

219 views

0 shares

0 downloads

0 comments

35 / 72

LOGICAL FLOW OF THE PROJECT

As soon as the microcontroller is turned on, it will initialize port 2 as input port and other ports as o/p ports also it will follow the loop until an input has occurred.

When the switch corresponding to condition 1 or 2 is pressed, it will jump to the routine written for that particular condition.

In each routine we first initialize the ICM 7218A in no decode mode in which the individual LED’S can be controlled (all 64 segments).Refer datasheet for details given at the end of the report.

And then according to the movement of the train the LED’S are controlled. Condition 2 is in continuation with condition 3 and 4.

For second and third condition which involves manual operation (taking signal from Automatic working to Manual working) the microcontroller continuously monitors the status of this input at port 2 pin, as soon as the signal at this pin is low the required subroutine is called by the controller.

35

Document info
Document views219
Page views219
Page last viewedSun Dec 11 08:30:56 UTC 2016
Pages72
Paragraphs776
Words11166

Comments