What would be the state diagram of the following:
The traffic light cycle will have 5 states:
State 1: Transition into Major (NS) traffic, All lights red
State 2: Left turn signals Major are on
State 3: Major roadway straight green lights on
State 4: Transition into Country (EW) traffic, All lightsred
State 5: Country roadway straight green lights on
* In-state only light are listed are not red others are red.
*Major straight-lane is green for 10 sec.
* The transition states (1 and 5) shall be activated for 0.67sec for the next traffic.
*The country street is green for 6 sec.
*The major road left signals will on by switches which determineif a car is present either the major left-turn lane.