Page 48 - Ai Robogenius
P. 48
The Micro:bit Interface
The Micro:bit interface offers several tools to help you code effectively.
Toolbox Blocks or Python Settings
Micro:bit
Simulator
Start/Stop the
simulator Workspace
Download Button Saving Projects Undo and Redo
Below are the main parts of the MakeCode Micro:bit Editor that will guide your
project development:
Micro:bit Simulator: Shows the micro:bit virtually, where you can see how your
code interacts with the LED grid or other elements on the micro:bit.
Start/Stop the simulator: To start/stop the simulator in micro:bit, click on the
Play button (triangle) to start and the Stop button (square) to stop the simulation
in the MakeCode editor
Download Button: Allows you to download your code to the micro:bit device.
Toolbox: The blocks you use in your project are found in the Toolbox. The Toolbox
is a sidebar that lists different block categories for various code functions.
Blocks or Python: You can switch between the block-based coding view and the
Python view. Just press one of the view buttons at the top of the window.
Workspace: In this area, you can drag and drop blocks to create your program.
Saving Projects: You can save your project as a .hex file, which can then be
transferred directly to the micro:bit device.
Undo and Redo: If you make a mistake or want to change something, you can
undo or redo recent changes using the Undo and Redo buttons at the bottom
right of the editor.
Settings: Access settings, sign in to your account and use other tools.
AI RoboGenius - IV
46

