The world is in an era of electronic information. Many devices such as traffic light control need computer control. A good traffic light control system can play a great role in road congestion, violation of regulations and reducing the accident rate.The task of our course is designed to build a traffic light system and interface it to a PIC microcontroller. Use the three on board MX20 LEDS as one set of light . For the second set of light build the leds on a vero board or bread board and connect it to MX20 board 25 way connector. We need a switch to select between SAFE & UNSAFE sequenceThere are six lights to operate. The Red, Amber, and Green lights in the North-South direction will be designated as R1, A1, G1. Similarly, the lights in the East-West direction will be called R2, A2, and G2.When the digital output signals are in the Logic-1 state they turn their respective lights on, otherwise the lights are off. There are two types of road crossing: unsafe crossings that use a simple sequence, and safe crossings that require a longer (delayed green) sequence.