Page 54 - RoboGenius Pro C4
P. 54

A robot is designed to deliver medicine in a hospital, it detects a person
                                        walking in front of it. Should it stop and wait for the person to pass to
                                       avoid the risk of collision or keep moving and bumping into the person?






                  TILT THE MICRO:BIT TO CONTROL AN ARROW


                  The goal of this activity is to create a program that uses the tilt sensor of the Micro:bit
                  to control the movement of an arrow on the screen. When the Micro:bit is tilted in
                  different directions, the arrow will move accordingly, giving you an interactive way

                  to control the display using tilt.

                  Let’s get started with the project. Follow these steps to create your program:

                    STEP - 1    Go to the link: https://makecode.microbit.org/ or scan

                                  the QR Code.

                    STEP - 2    Click on the New Project button.


























                                 RoboGenius Pro - IV
                 52
   49   50   51   52   53   54   55   56   57   58   59