Question: ProcessorExcercise 1 0 . 3 Modify your program from 1 0 . 2 by writing a function called flashpattern: that accepts two inputs: the number
ProcessorExcercise
Modify your program from by writing a function called flashpattern: that accepts
two inputs:
the number of "rapid" second flashes before the pause
the pause time in seconds between each set of rapid flashes
We are going to use this function to refactor" our main code. That is instead of the
flash loop in main, we are asking you to move that logic to a function called
"flashpattern" following the description above. Once done, the main code should now
just set up the arguments to flashpattern:, and then call flashpattern to do all the work
ie flash, delay using the previous functions you wrote to perform the task need help solving this Excercise thus my code so far
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
