Page 69 - 2611_SmartGPT Pro V(5.0) C-6
P. 69
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.
Step 19 Drag the when Button3.Click
block to the workspace from
the Button3 blocks.
Step 20 Drag the Pedometer1.Reset
block into the when Button3.
Click block.
Touch to Motion with MIT 67

