Download presentation
Presentation is loading. Please wait.
1
BBC Microbit
2
Objective of the lesson
Use Block Editor to make a Fading Heart All of you will: Display a heart on the Microbit Most of you will: Change the brightness of the heart Some of you will: Make the heart fade in and out smoothly
3
Fading Heart 1 Create a forever loop and add an image of a heart Use set brightness to 255. This is maximum brightness
4
Add a pause Now set its brightness to about half of that value and add another pause The LEDs should fade and then go bright again
5
Challenge Get the LEDs to ‘set brightness 0’ before looping around again Get the LEDs to fade down and then fade back up again Add other values inbetween 255 and 125, 125 and 0 to create a smoother fade
6
Answers
7
Answers
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.