Add 3 commands to your for loop so that the following happens:
- LED 1 is turned on, small pause, turn it off again, small pause.
- LED 2 is turned on, small pause, turn it off again, small pause.
- LED 3 is turned on, small pause, turn it off again, small pause.
- LED 4 is turned on, small pause, turn it off again, small pause.
Compile your program and test it out.
Now the other way around! Change the parameters in your for loop so that the following happens:
- LED 4 is turned on, small pause, turn it off again, small pause.
- LED 3 is turned on, small pause, turn it off again, small pause.
- LED 2 is turned on, small pause, turn it off again, small pause.
- LED 1 is turned on, small pause, turn it off again, small pause.
Compile your program and test it out.