Page 73 - Ai Robogenius
P. 73

The file is downloaded.

                  STEP - 11    Drag and drop the downloaded file into the micro:bit drive.


                                 The micro:bit will start running your program immediately.






















































                 FIND THE DIRECTIONS


                 The goal of this activity is to create a program that uses the compass sensor on the

                 Micro:bit to detect the direction in which the Micro:bit is facing.

                 The program will then display the corresponding cardinal direction (North, South,
                 East, West) on the Micro:bit screen based on the compass heading.

                 Let’s get started with the project. Follow these steps to set it up.

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

                                 the QR Code.


                                                                                      Sensors in Micro:Bit
                                                                                                                    71
   68   69   70   71   72   73   74   75   76   77   78