-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 5.81 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="3N|eKQk--L0bT5TsP1VE">zahl</variable></variables><block type="device_gesture_event" id=",YWIfM)aC%o0Z@X3hb:i" x="0" y="0"><field name="NAME">Gesture.Shake</field><statement name="HANDLER"><block type="variables_set" id=",DHjroRfuw0[_VPjExw}"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_random" id="*%..[KlKse8,@Ea,yn(I"><value name="min"><shadow type="math_number" id="]1CM?S.Ak*5O@JhAiK0G"><field name="NUM">1</field></shadow></value><value name="limit"><shadow type="math_number" id=",x@PKZBT2dM-JZy3873g"><field name="NUM">6</field></shadow></value></block></value><next><block type="device_show_number" id="/`UH1;lsh2+d;^s2eJh,"><value name="number"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id=")g~j~bTi!5t0^;!ZYMDo"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field></block></value><next><block type="controls_if" id="[R1z]WXs!{+w~EZDa7uy"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="O)q_(ueK1FV49+f.OYZ("><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="D$(!9g5v3Y95*{-A8W$H"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field></block></value><value name="B"><shadow type="math_number" id="7|jO]FF~s|f0JyyEJ?B$"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="device_set_led_color" id="^vP)xqfTgkc!%TZUw/VJ"><value name="color"><shadow type="colorNumberPicker" id="Ok=I,JZfUOlixzavUBvS"><field name="value">0x7f00ff</field></shadow></value></block></statement><next><block type="controls_if" id="V.7D%~~jAbIMg%.G-q7R"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="v$OuRcK!TqBuCl}[,hfw"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="J5Yk!.Jmfn@Dqv5+)cJd"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field></block></value><value name="B"><shadow type="math_number" id="z+eqU}p}mdlij^w8=!~h"><field name="NUM">2</field></shadow></value></block></value><statement name="DO0"><block type="device_set_led_color" id="1LS*_.v!8A4OB@0KZ0Wc"><value name="color"><shadow type="colorNumberPicker" id=";g_9y%*b9bu62f18[8MJ"><field name="value">0x00ffff</field></shadow></value></block></statement><next><block type="controls_if" id="}Eb),kU~cK_N=@r2g/tE"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="%1lWx_SsqlHMP._Y=mGe"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="4EY3ZiG!,ri0i{Q}WvX+"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field></block></value><value name="B"><shadow type="math_number" id="s15u~Z{?ks`t!6.w`@`J"><field name="NUM">3</field></shadow></value></block></value><statement name="DO0"><block type="device_set_led_color" id="#^vFSY^tG^n5lXo.(_th"><value name="color"><shadow type="colorNumberPicker" id="^^+x-8^UzC|QVM#~:zbA"><field name="value">0x0000ff</field></shadow></value></block></statement><next><block type="controls_if" id="$2{aE2-_^e3@Fr|gz+j)"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="5Su9Y@FIlUy{9,O0j@,["><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="6,$YVgO;CHfet/mES`nR"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field></block></value><value name="B"><shadow type="math_number" id="(bOT~#UiSBk;JowgCWQc"><field name="NUM">4</field></shadow></value></block></value><statement name="DO0"><block type="device_set_led_color" id="0]fikw:3eh1e3s[:qVIi"><value name="color"><shadow type="colorNumberPicker" id="w6XUfe=5!g/t4yqklz},"><field name="value">0xff0000</field></shadow></value></block></statement><next><block type="controls_if" id=";;Ol0qUhqc?z5YtV7Mhs"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="IYz3RcshnEN=n9|:g]!B"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="EQ4Om=qY*F8G%9/S=;EE"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field></block></value><value name="B"><shadow type="math_number" id="f$JJj`K]4QvcCxx:zVxx"><field name="NUM">5</field></shadow></value></block></value><statement name="DO0"><block type="device_set_led_color" id="y.6TCOoYBiKXu3?Q?Ocs"><value name="color"><shadow type="colorNumberPicker" id="Fp9*,B}o;?aY;h+`)tBP"><field name="value">0xffff00</field></shadow></value></block></statement><next><block type="controls_if" id="p`^|KOz^wP*ez}W^~Y/~"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="x)tKCNpA3rIR!Qce83q|"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="2/MCR.E^)NtC5aA4aL]I"><field name="VAR" id="3N|eKQk--L0bT5TsP1VE">zahl</field></block></value><value name="B"><shadow type="math_number" id="1[G{X=J[`Yw#z5,XMo3i"><field name="NUM">6</field></shadow></value></block></value><statement name="DO0"><block type="device_set_led_color" id=":aN55r.*$sBAT~1?z6w9"><value name="color"><shadow type="colorNumberPicker" id="f:h=EnKkFW9BTKwu_Qi7"><field name="value">0x00ff00</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>