Question: Part 2 . Traffic Control using 6 Lights Create a main program and two subroutines: The only function of the main program is to choose

Part 2. Traffic Control using 6 Lights Create a main program and two subroutines: The only function of the main program is to choose between the two sequences being executed by the two subroutines. Use I:1/0 as the input to choose.
Subroutine 1 generates this sequence using Sequencer Instructions:
\table[[Red = O:2/00,Green = O:2/02,Amber = O:2/01],[Green = O:2/06,Amber = O:2/05,Red = O:2/04],[8Sec.,4 Sec.,8Sec.,4Sec.]]
Subroutine 2 generates this sequence using Sequencer Instructions:
\table[[Red = O:2/00,Green = O:2/02,Amber = O:2/01,R,],[Green = O:2/06,Amber =0:205,Red = O:2/04],[8 sec.,4 sec.,1s,8sec.,4sec.,1s
 Part 2. Traffic Control using 6 Lights Create a main program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!