The schematic diagram of traffic lights is shown in Figure 1. Signal lights are installed in the East, West, North and south directions. There are six lights in each direction, which are divided into three colors: red, yellow and green. The working time sequence is shown in Figure 2. Assuming that the east-west direction is busy, the green light time is twice as long as the north-south direction (40s). After pressing the start button, the North-South green light will stay on for 20s, and after 20s, the North-South yellow light will flash for 3 times, 6S in total. During this period, the East-West red light will also stay on for 26S; after 26S, the east-west green light will stay on for 40s, and then the East-West yellow light will flash for 3 times, 6S in total. During this period, the North-South red light will also stay on, and 46so will be kept continuously until the stop button is pressed.<BR>
正在翻译中..