2022-04-26 19:28:42 +02:00
|
|
|
<xml xmlns="https://developers.google.com/blockly/xml">
|
|
|
|
<variables>
|
|
|
|
<variable id="wUkGVHoc@p^mter~Rc7h">item</variable>
|
|
|
|
<variable id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</variable>
|
|
|
|
</variables>
|
|
|
|
<block type="device_button_selected_event" x="0" y="0">
|
|
|
|
<field name="NAME">Button.AB</field>
|
|
|
|
<value name="eventType">
|
2022-08-10 18:36:19 +02:00
|
|
|
<shadow type="control_button_event_value"></shadow>
|
2019-12-02 05:58:26 +01:00
|
|
|
</value>
|
2022-04-26 19:28:42 +02:00
|
|
|
<statement name="HANDLER">
|
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id="wUkGVHoc@p^mter~Rc7h">item</field>
|
2019-12-02 05:58:26 +01:00
|
|
|
<value name="VALUE">
|
2022-04-26 19:28:42 +02:00
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_get_button2">
|
|
|
|
<field name="NAME">Button.B</field>
|
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</value>
|
|
|
|
<next>
|
2022-04-26 19:28:42 +02:00
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id="wUkGVHoc@p^mter~Rc7h">item</field>
|
2019-12-02 05:58:26 +01:00
|
|
|
<value name="VALUE">
|
2022-04-26 19:28:42 +02:00
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_pin_is_pressed">
|
|
|
|
<field name="NAME">TouchPin.P1</field>
|
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</value>
|
|
|
|
<next>
|
2022-04-26 19:28:42 +02:00
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</field>
|
2019-12-02 05:58:26 +01:00
|
|
|
<value name="VALUE">
|
2022-04-26 19:28:42 +02:00
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_acceleration">
|
|
|
|
<field name="NAME">Dimension.Y</field>
|
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</value>
|
|
|
|
<next>
|
2022-04-26 19:28:42 +02:00
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</field>
|
2019-12-02 05:58:26 +01:00
|
|
|
<value name="VALUE">
|
2022-04-26 19:28:42 +02:00
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_get_light_level" />
|
2019-12-02 05:58:26 +01:00
|
|
|
</value>
|
|
|
|
<next>
|
2022-04-26 19:28:42 +02:00
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</field>
|
|
|
|
<value name="VALUE">
|
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_heading" />
|
|
|
|
</value>
|
|
|
|
<next>
|
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</field>
|
|
|
|
<value name="VALUE">
|
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_temperature" />
|
|
|
|
</value>
|
|
|
|
<next>
|
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</field>
|
|
|
|
<value name="VALUE">
|
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_get_rotation">
|
|
|
|
<field name="NAME">Rotation.Roll</field>
|
|
|
|
</block>
|
|
|
|
</value>
|
|
|
|
<next>
|
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</field>
|
|
|
|
<value name="VALUE">
|
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_get_magnetic_force">
|
|
|
|
<field name="NAME">Dimension.Z</field>
|
|
|
|
</block>
|
|
|
|
</value>
|
|
|
|
<next>
|
|
|
|
<block type="variables_set">
|
|
|
|
<field name="VAR" id=")f$ml.CVl6|1^?sPWl:;">sdfsadf</field>
|
|
|
|
<value name="VALUE">
|
|
|
|
<shadow type="math_number">
|
|
|
|
<field name="NUM">0</field>
|
|
|
|
</shadow>
|
|
|
|
<block type="device_get_running_time" />
|
|
|
|
</value>
|
|
|
|
<next>
|
|
|
|
<block type="device_set_accelerometer_range">
|
|
|
|
<field name="range">AcceleratorRange.TwoG</field>
|
|
|
|
</block>
|
|
|
|
</next>
|
|
|
|
</block>
|
|
|
|
</next>
|
|
|
|
</block>
|
|
|
|
</next>
|
|
|
|
</block>
|
|
|
|
</next>
|
|
|
|
</block>
|
|
|
|
</next>
|
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</next>
|
2022-04-26 19:28:42 +02:00
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</next>
|
2022-04-26 19:28:42 +02:00
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</next>
|
2022-04-26 19:28:42 +02:00
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</next>
|
2022-04-26 19:28:42 +02:00
|
|
|
</block>
|
|
|
|
</statement>
|
|
|
|
</block>
|
|
|
|
<block type="device_gesture_event" x="555" y="30">
|
|
|
|
<field name="NAME">Gesture.SixG</field>
|
|
|
|
</block>
|
|
|
|
<block type="device_pin_custom_event" x="556" y="156">
|
|
|
|
<field name="name">TouchPin.P0</field>
|
|
|
|
<value name="eventType">
|
2022-08-10 18:36:19 +02:00
|
|
|
<shadow type="control_button_event_value"></shadow>
|
2022-04-26 19:28:42 +02:00
|
|
|
</value>
|
|
|
|
</block>
|
|
|
|
<block type="device_pin_custom_event" x="560" y="274">
|
|
|
|
<field name="name">TouchPin.P0</field>
|
|
|
|
<value name="eventType">
|
2022-08-10 18:36:19 +02:00
|
|
|
<shadow type="control_button_event_value"></shadow>
|
2022-04-26 19:28:42 +02:00
|
|
|
</value>
|
|
|
|
</block>
|
2019-12-02 05:58:26 +01:00
|
|
|
</xml>
|