Lesson details

Key learning points

  1. In this lesson, we will will look at a Crumble microcontroller. We will connect it to a computer and program it to control an LED.

Licence

This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.

Loading...

3 Questions

Q1.
The program below was meant to make the LED flash red continuously. Why doesn't it?
An image in a quiz
It should have - set sparkle 1 to red.
Correct answer: It should have a - do forever loop.
The wait should be 2 seconds.
Q2.
The program below was meant to make the LED flash red continuously, with the LED staying on and off for half a second each time. Why doesn't it?
An image in a quiz
It doesn't need to be a do forever loop.
It needs another set sparkle 0 to red command at the end.
Correct answer: It needs another wait command after turning the sparkle off.
Q3.
A do forever loop is...
A count controlled loop.
A fixed loop.
Correct answer: An infinite loop.