Page 49 - Robo_Genius_V1.0_flipbook_C2
P. 49
The micro:bit has many different parts, and one of them is its programmable
buttons. On the front of the micro:bit, there are two buttons, called Button
A and Button B. By pressing these buttons, you can make the micro:bit do
different things. For example, you can use them to change what shows on
the screen or to control other actions in your projects.
Button A Button B
Algorithm Used
On Button A Pressed:
An algorithm is a step-by-step procedure that
Show Smile icon
defines a set of instructions that must be carried
On Button B Pressed:
out in a specific order to produce the desired result.
Show Sad icon
Source Code
Step 1 Go to Microsoft make code https://makecode.microbit.org/
Step 2 Click on new projects.
Click on new
project
Step 3 Create a project.
Exploring the Micro:bit for Programming 47

