Download presentation
Presentation is loading. Please wait.
1
BBC Microbit
2
Starter
3
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
8
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
9
Go to 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.
10
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
11
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
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.