Page 71 - 2611_SmartGPT Pro V(5.0) C-6
P. 71
Step 21 Click on the Label1 block to open its blocks. Step 4 Open MIT A12 Companion on your device and connect by scanning the QR code or
Step 22 Drag the set Label1.Text to block and place it below call Pedometer1.Reset, then attach typing the code displayed on your screen.
a 0 block inside it from Math.
Step 23 Click on the Pedometer1 block again and drag the when Pedometer1.SimpleStep block
to the workspace.
Step 24 Click on the Label1 block again and drag the set Label1.Text to block inside the when
Pedometer1.SimpleStep block.
Step 25 Click on the simpleSteps variable inside the event block; a get simpleSteps block will
appear.
Step 26 Drag the get simpleSteps block and attach it to set Label1.Text.
Once you finish testing the app, you can start using it. Make sure it accurately counts the steps,
responds to the Start, Stop and Reset buttons and displays the step count correctly in the label.
How is Kodular different from MIT App Inventor?
21 st
Century #Social Interaction
Self Reflection Skills
Technology is powerful: the way we design apps can promote fairness, accessibility and inclusion. A
Self Reflection
well-designed app can make learning and services accessible to people with disabilities and those in
remote areas.
Suppose Android and iOS were rival kingdoms in a digital realm. What unique
features and powers would each kingdom possess and how would they influence the
development of apps within their domains?
Hashtag
# Virtual Reality (VR): A computer-made world that you can see and explore by wearing special
TESTING THE PEDOMETER APP
glasses or a headset.
After completing the design and blocks for your Pedometer app, follow these steps to test it on # Global Positioning System (GPS): A system that helps you know where you are on Earth using
your mobile device. signals from satellites.
Step 1 Open the MIT AI2 Companion app on your mobile phone.
Step 2 Click on Connect from the top menu.
Step 3 Click on AI Companion from the drop-down list.
The Connect to Companion message box appears.
Touch to Motion with MIT 69

