BBC Microbit
Starter
Starter What do you think the following do or might be used for in a project? Input/Output rings Programmable LEDs Programmable buttons Accelerometer and compass Bluetooth
Objective of the lesson Use Block Editor to add Scrolling Messages All of you will: Add a scrolling message on the LEDs Most of you will: Loop the messages Some of you will: Clear the screen and add pauses between messages
Go to www.microbit.co.uk Display a scrolling message Add a show string message from the script library. Chan the message to one of your choice. Click Run. Name your program Compile your code Plug your Microbit into a USB port. Right click on the code and send to the Microbit.
Loop Add a forever loop so that the message repeats Pausing your program Add a pause to create a gap in-between messages This is in milliseconds 1000 milliseconds = 1 second
Challenge Change the pause timings between messages Add further messages Add a clear screen for 1 second at the end of the messages before they loop again