Page 116 - Robo_Genius_V1.0_flipbook_C5
P. 116

21 st
                                   Program a Servo Motor to                                   Century   #Technology Literacy
                    Activity                                                                   Skills
                                   React to Sound


                  Algorithm Used                                               START


                  An algorithm is a step-by-step procedure                        On Loud sound
                  that  defines a  set  of instructions  that                       Move servo at 90 degrees
                                                                                    On Quiet sound
                  must be carried out in a specific order to
                                                                                    Move servo at 0 degrees
                  produce the desired result.
                                                                               END
                  Step 1         Go to  Microsoft  make  code
                                https://makecode.microbit.org/

                  Step 2         Click on new projects.










                                         Click on new
                                         project










                  Step 3         Create a project.









                                                               Create a project















                  Step 4         Write down the project name and click on create option.





                      114    RoboGenius (V1.0)-V
   111   112   113   114   115   116   117   118   119   120   121