Page 89 - CodePilot V5.0 C6
P. 89

Step  6     Drag Label1 from the Palette to the Viewer.

                 Step   7     Click on Label1 and set its properties: Text = 0, FontSize = 30, TextAlignment = center,
                             TextColor = Black.

                               After adding Label2, set its properties: Text = Steps, FontSize = 26, TextAlignment = center,
                             TextColor = Black.































                 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.


































                                                                                                                  87
                                                                                           Touch to Motion with MIT
   84   85   86   87   88   89   90   91   92   93   94