Loading...

for-loop part 2

Change the for loop so that eye 1 (LED 1) isn't turned on.

Only eye 2 and both tummy LEDs, i.e. LEDs 2 to 4, should be turned on white!

Compile the program and transfer it onto your BOB3.

Change the for loop so that only the two eyes (LED 1 and
LED 2) are turned on.

Test your new program on your BOB3.
1: How many parameters does a for loop have?
2: Can you leave a parameter out?
3: Which character separates the parameters from one another?
 You haven’t completed anything yet!
 Super, so far so good…
 Super, you got it all right!
 Sadly not correct…
 One answer is correct
 A couple are correct…