Page 56 - Ai Robogenius
P. 56

SMART      The micro:bit can be used as the brain of robots, controlling
                                  SPARK       motors and sensors to make them move and interact with
                                                                  the environment.





                  Interface of Micro:bit

                  The micro:bit interface is the screen where you create your code. It helps you build,
                  test and download your programs easily.

                                                                                             Share




                                                                   on  start  forever


                             Micro:bit
                            Simulator                              Toolbox

                                                                                          Workspace








                             Download


                  Let us understand the main elements of the interface:
                     Micro:bit Simulator: Shows how your code will run on a real micro:bit.


                     Toolbox: Contains all the coding blocks you need for your project.
                     Workspace: Where you drag and connect blocks to make your program.

                     Share: Lets you share your project with others using a link.

                     Download: Sends your code to the micro:bit so it can run.



                  Toolbox

                  The Toolbox in MakeCode contains blocks that you can use to control your micro:bit.
                  Let us explore the different tools:


                            Basic: It has simple  blocks  that  help you  control  what happens  on your

                     micro:bit, like showing numbers, text and images. Let’s understand the basic
                     blocks:




                                 AI RoboGenius - III
                 54
   51   52   53   54   55   56   57   58   59   60   61