microbit for primary schools

Session 1 – PXT Editor update
Introduction and scrolling text
Written by Neil Rickus. Licensed under CC BY-NC-SA 4.0
 Introduce the micro:bit components
 Discuss micro:bit safety features
 Make a program with the block editor
 Transfer the program to the micro:bit
 Produce scrolling (moving) text
 Implement pauses
 Display images
Image source https://www.microbit.co.uk/
device
Image source https://microbit0.blob.core.windows.net/
pub/dfuwbkqk/student-saftey-guide.pdf
 Plug in your micro:bit using the USB cable. The cable will only
fit one way
 Using Google Chrome, go to microbit.org and click on Let’s
Code
 We’re going to use the JavaScript Block
Editor (PXT), so click Let’s Code
 We’re going to make a message scroll (move) across the screen
 Drag the blocks below from Basic into the area in the middle of
the screen
 You should see your program run on the emulator on the left
 Click Download to download your code
 Click Done on the pop up box
 Once your file has downloaded, click on the arrow by the file
name and select Show in folder
 Drag the file to the micro:bit device on the left of the window
 Watch your program appear on your micro:bit!
 Make your micro:bit display two messages, with a pause in between
 Make two images appear between the text
 Clear the screen for a short amount of time between the images
displaying
microbit.org -> Let’s Code -> JavaScript Block Editor (PXT) -> Let’s Code