Biman Bangladesh operates a flight from Dhaka to London. Usually, the flight from London
starts at 8pm local time (after the sun has set). Even though the commercial aircrafts are
painted white, it doesn’t help when it comes to other aircrafts’ visibility. So, to prevent
accidents/collisions, aircrafts usually mount 1 lights at the bottom surface of the body, 2
lights on 2 wings (left and right) and 1 light on the tail and, these 4 lights flash together
periodically. Biman’s flight experienced an issue with the program controlling these lights
and upon investigating; it was found that the system is built with an Arduino Uno at the
heart. Interestingly, the Arduino was already set up to consume as little power as possible not
to strain the aircraft’s fuel efficiency.
Now, prepare a program in Arduino Uno platform to control the 4 lights mounted on the aircraft’s body so that all the lights flash together every 2s.
2) Prepare a flowchart to explain the flow of logic for the program in Q1 so that Biman engineers can modify and perfect the program easily when the aircraft is taken to maintenance after completing this flight.