Skip to content

Beating heart

Lesson 2 of 6

MakeCode

7-11 yrs

Create a simple animation to learn about sequence and simple loops.

Key learning:

  • Understand that sequence and timing is important when making an animation.
  • Understand that animations create an illusion of movement by showing a sequence of still images.
  • Code the micro:bit to show simple animations on its LED display output.
  • Use loops to make animations run longer using fewer instructions.

Computational thinking:

Algorithms

Programming:

Iteration

Lesson plan preview

Slides preview

Student handouts

Completed lesson code

This provides an example of the code created during this lesson.

You may also be interested in

Unit of work

Nature art

This unit of four lessons is suitable for students aged 7-8 years. They create nature representations, firstly using art materials and are introduced to computational thinking and programming the LEDs on the BBC micro:bit. 

Make it: code it

Name badge

Turn your micro:bit into an animated name badge