In the previous lesson we began writing some code that would turn on 16 lamps, all at once, with the press of a switch. Once the switch is released, after a short delay, the lamps are supposed to turn off, one by one, every second until they are all off. We simulated the code only to find that we had a problem. In this lesson, we continue working with the same code and add some additional logic to make the program work as we anticipate. Let’s see how we accomplished our goal.