Question: A traffic light controller at an intersection has sensors to detect the presence of cars and turns the lights red, yellow, and green appropriately. What hardware facilities are needed in a microcontroller to be used in this application? What software architecture would you use?