Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 67 - 2612_Digimind
P. 67

    Step  8   Click on the Sensor category from the Palette on the left side.

                     Step  9    Drag  the  Pedometer sensor from the Palette  to  the Viewer; it  will  appear  as a
                               non-visible component below the screen.

                     Step 10  Click on Pedometer1 from the Components panel to select it.
                     Step 11   Set StopDetectionTimeout to 2000 and Set StrideLength to 0.50 in the Properties panel.

                     Step 12  Click on the Blocks button in the top-right corner to switch to the Blocks Editor.

                     Step 13  Click on the Button1 block from the Blocks palette to open its blocks.
                     Step 14  Drag the when Button1.Click block to the workspace.

                     Step 15  Click on the Pedometer1 block to open its blocks.

                     Step 16   Drag the Pedometer1.Start block into the when Button1.Click block.
                     Step 17  Drag the when Button2.Click block to the workspace from the Button2 blocks.

                     Step 18   Drag the Pedometer1.Stop block into the when Button2.Click block.

                                                                                              Touch to Motion with MIT  65

| 62 63 64 65 66 67 68 69 70 71 72 |