
To turn this static image into an animation, we need another
show
leds
block to place just under the
first block. You can then make a second drawing with this set of rectangles. In your simulator you will
see the images switching really, really fast. We need to slow this down!
To slow your animation down, you will use the
pause
block, which is under the basic block set.
The
pause
block is just what it says; it tells the micro:bit to pause and wait for a certain amount of
time. Place two
pause
blocks in the program as shown.
The reason we are using two and placing one at the end is that this program is a loop. Without the
block at the end, the image in your animation will change really, really fast.