Magzter Gold (Sitewide Promotion)
Gadget (Digital)

Gadget (Digital)

1 Issue, Issue 12

Also available on
Zinio Unlimited logo
1-month free trial

Get unlimited access to this article, this issue, + back issues & 5,000+ other magazines.

Renews at just $8.99/month after trial.

Cancel anytime.
Learn more

BUILD A FITNESS TRACKER

Program the motion sensors to make a DIY pedometer
BUILD A FITNESS TRACKER
01 Create a variable With this step-by-step we will make a program which counts a step each time you take one. Start a new Touch Develop script and rename it to a more suitable title such as ‘Step Counter’. Then create a variable to store the number of steps you have taken. Select the ‘var’ tile and then make the variable equal to zero. When you start the program or restart it the total steps will always start from zero. Now, click the ‘X’ and then select the ‘Rename’ tile, rename the variable, calling it ‘Steps’. This makes it easier to refer to later on in the script. 02 Display the number of steps You have just created a variable that will store the number of steps you take, when…
You're reading a preview of
Gadget (Digital) - 1 Issue, Issue 12

DiscountMags is a licensed distributor (not a publisher) of the above content and Publication through Zinio LLC. Accordingly, we have no editorial control over the Publications. Any opinions, advice, statements, services, offers or other information or content expressed or made available by third parties, including those made in Publications offered on our website, are those of the respective author(s) or publisher(s) and not of DiscountMags. DiscountMags does not guarantee the accuracy, completeness, truthfulness, or usefulness of all or any portion of any publication or any services or offers made by third parties, nor will we be liable for any loss or damage caused by your reliance on information contained in any Publication, or your use of services offered, or your acceptance of any offers made through the Service or the Publications. For content removal requests, please contact Zinio.

© 1999 – 2025 DiscountMags.com All rights reserved.