Design a C language code for 2 way automatic traffic light using pic16f877a microcontroller and circuit diagram with using the proteus circuit