In the previous lesson we began with some simple timing logic and expanded the program a bit to include some things that we will need to keep track of our button presses. In this lesson, we continue with the logic, first adding some code to take care of the 7 seconds parameter.
After completing that, we add the logic for the 10 seconds run. We find that all of the logic works well together but we are missing an integral portion of code that will make our cycle repeat. We will get to that in a future lesson but for now, let’s see what we’ve developed so far.