Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 148 - 2615_KEC
P. 148

    Step  3   Enter your project name and click on the Create button.

                      Step  4   Click on the Settings button in the top-right corner and click on Extensions.

                      Step  5   In the Search box, type Servo and click on the servo library extension to add it to your
                                project.

                      Step  6   Drag the on button A pressed block from the Input block category in the workspace to
                                initialise the program.
                      Step  7   Use the servo write pin from the Pins block in the Advanced toolbox to set the servo’s
                                pin and angle between 0° and 180° based on your project needs, and connect it to the

                                on button A pressed block.

                      146   Premium Edition-VI

| 143 144 145 146 147 148 149 150 151 152 153 |