TABLE OF CONTENTS
- 1.1.1 Whenever Select Motion tilts towards Left
- 1.1.2 Whenever Select Motion starts moving do
- 1.1.3 Whenever Select Motion detects a step do
- 1.1.4 Whenever Select Motion becomes flat do
- 1.1.5 Get tilt of Select Motion along Left-Right axis
- 1.1.6 Get tilt of Select Motion along Front-Back axis
- 1.1.7 Get Resultant accelerometer data of select Motion
- 1.1.8 Wait for Select Motion to tilt towards Left
- 1.1.9 Wait for Select Motion to starts moving
- 1.1.10 Wait for Select Motion to detect a step
- 1.1.11 Wait for Select Motion to become flat
- 1.1.12 Trigger Select Motion tilt when angle is greater than entered value
- 1.1.13 Consider Select Motion angle lesser than entered value as flat
1.1.1 Whenever Select Motion tilts towards Left
Code inside this block will be executed whenever motion sensor senses tilt in the selected direction.
Example 1.1.1
Before execution:
After execution:
1.1.2 Whenever Select Motion starts moving do
Code inside this block will be executed whenever the motion sensor starts or stops moving.
Example 1.1.2
Before execution:
After execution:
1.1.3 Whenever Select Motion detects a step do
Code inside this block will be executed whenever motion sensor detects a step.
Example 1.1.3
Before execution:
After execution:
1.1.4 Whenever Select Motion becomes flat do
Code inside this block will be executed whenever the motion sensor becomes flat.
Example 1.1.4
Before execution:
After execution:
1.1.5 Get tilt of Select Motion along Left-Right axis
Get the tilt angle of the motion sensor along the selected axis.
Example 1.1.5
Before execution:
After execution:
1.1.6 Get tilt of Select Motion along Front-Back axis
Get the tilt angle of the motion sensor along the selected axis.
Example 1.1.6
Before execution:
After execution:
1.1.7 Get Resultant accelerometer data of select Motion

Get current value of raw accelerometer data in the selected axis of the motion sensor, or the resultant magnitude.
Example 1.1.7
Before execution:
After execution:
1.1.8 Wait for Select Motion to tilt towards Left
Wait for the motion sensor to be tilted in the selected direction before moving to next
block.
Example 1.1.8
Before execution:
After execution:
1.1.9 Wait for Select Motion to starts moving
Wait for the motion sensor to detect movement start or stop before moving to the next block.
Example 1.1.9
Before execution:
After execution:
1.1.10 Wait for Select Motion to detect a step
Wait for the motion sensor to detect a step before moving to the next block.
Example 1.1.10
Before execution:
After execution:
1.1.11 Wait for Select Motion to become flat
Wait for the motion sensor to become flat before moving to the next block.
Example 1.1.11
Before execution:
After execution:
1.1.12 Trigger Select Motion tilt when angle is greater than entered value
Trigger tilt event when motion senses angle higher than entered value.
Example 1.1.12
Before execution:
After execution:
1.1.13 Consider Select Motion angle lesser than entered value as flat
Motion Triggers flat event when angle is less than entered value.
Example 1.1.13
Before execution:
After execution: