Page 67 - Ai Robogenius
P. 67

STEP - 3    Write  the name of the project  ShaketoChangeDisplayIcon in the

                                 Give your project a name text box and click on the Create button.






















                  STEP - 4    Drag the on shake block from the Input category to workspace for
                                 initialising the program.
























                  STEP - 5    Click on the Make a Variable block from the Variables category and

                                 name it iconState.























                 This variable will store the current icon state.



                                                                                      Sensors in Micro:Bit
                                                                                                                    65
   62   63   64   65   66   67   68   69   70   71   72