BBC Microbit.

Slides:



Advertisements
Similar presentations
Meet Me on Mars Lesson 7 Variables and Messages. Events and Variables 1. Click the _________ button 2. When ________ clicked, set ______ to ____ 3. Now,
Advertisements

BBC Microbit Getting set up and making your first program.
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
Bbc microbit Lesson 3 – Temperature hot medium.
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
Lesson 4 – Glowing pendulum
Objective of the lesson
BBC Microbit.
BBC Microbit.
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
Stopwatch Cards Stopwatch Cards
Dance Cards Dance Cards
BBC Microbit.
BBC Microbit.
Objective of the lesson
BBC Microbit.
Dance Cards Dance Cards
BBC Microbit.
BBC Microbit.
Game Controller Lesson Three.
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
BBC Microbit.
BBC Microbit.
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
Objective of the lesson
BBC Microbit.
BBC Microbit.
BBC Microbit.
BBC Microbit.
BBC Microbit.
Objective of the lesson
2 Understanding Variables and Solving Equations.
Dance Cards Dance Cards
Stopwatch Cards Stopwatch Cards
micro:bit for primary schools – mb4ps.co.uk
Global Challenge Love Heart Lesson 3.
Getting Started with Physical Computing
Dance Cards Dance Cards
Micro:bit Radio Makecode.
Global Challenge Love Heart Lesson 3.
Global Challenge Love Heart Lesson 3.
Global Challenge Love Heart Lesson 3.
Lesson 1-2 Solving Equations by Adding or Subtracting Lesson 1-3 Solving Equations by Multiplying or Dividing Obj: The student will be able to 1) solve.
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
Solving 1-Step Integer Equations
Stopwatch Cards Stopwatch Cards
micro:bit for primary schools – mb4ps.co.uk
Global Challenge Love Heart Lesson 3.
Dance Cards Dance Cards
BBC Microbit.
Stopwatch Cards Stopwatch Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Global Challenge Love Heart Lesson 3.
Global Challenge Love Heart Lesson 3.
Stopwatch Cards Stopwatch Cards
Global Challenge Love Heart Lesson 3.
Dance Cards Dance Cards
Stopwatch Cards Stopwatch Cards
Global Challenge Love Heart Lesson 3.
Dance Cards Dance Cards
Presentation transcript:

BBC Microbit

Objective of the lesson Use Block Editor to make Fading Heart All of you will: Create a Heart that fades up Most of you will: Change the speed of the fade Some of you will: Display a message once the Heart has reached maximum brightness

Fading Heart 2 This heart will fade on very gradually We will create a variable. A variable will change. This will be our brightness Create a variable, set item Change the Item, which is the name of the variable, to be Brightness Set this to equal 0 Add a forever loop. Set the brightness to equal the variable brightness. At the moment this is 0 so you will see no heart

We will add a short pause Then increase the brightness slightly This loops and the brightness increases slightly each time

Challenge 1. Experiment with the ‘pause’ and the ‘change brightness’ to change the fade effect 2. Replace forever with a ‘while do’ loop to check that Brightness is < 255. If it is, then the image fades up 3. Once Brightness has reached 255 make it show string “Love”

Answers