Pedometer
An action block that counts each step a person takes.
If the proceed option is set to When steps taken,
then the fiber is paused until the at least minimum steps has been taken.
If set to When standstill, then the fiber will pause until standing still for the
minimum standstill duration after at least minimum steps.
Input arguments
- Minimum steps — minimum number of step to be taken, default 1.
- Minimum standstill duration — minimum amount of time considered as standstill, only used with proceed When standstill, default is 5 seconds.
Output variables
- Steps taken — variable to assign the number of steps taken during this block, may be more that minimum steps.
- Last step — variable to assign the unix timestamp of the last step taken.