-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 7.1 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="ir0]6NOMYmCpnN5Nnum=">accThreshold</variable><variable id="|+CSv53T])f~C[Cj7in!">lastSent</variable><variable id="#;tyHM_{:5K_|mrqnfo1">sendAfterAcc</variable><variable id="+|~J4jVR%TIy{iG-]EW]">sendUntil</variable><variable id="piqNU)e*TYovn]N`!n}u">acc</variable></variables><block type="pxt-on-start" id="Zz!VGxYYZxVT,L_br7T{" x="0" y="0"><statement name="HANDLER"><block type="device_plot" id="P%@GM64srq/{6nzX]jva"><value name="x"><shadow type="math_number_minmax" id="r(Q]%5*[tbYegI=Q2d9a"><mutation min="0" max="4" label="X" precision="1"/><field name="SLIDER">0</field></shadow></value><value name="y"><shadow type="math_number_minmax" id="PYR16!mOm7Ruy?^*Sj3j"><mutation min="0" max="4" label="Y" precision="1"/><field name="SLIDER">0</field></shadow></value><next><block type="radio_set_group" id="87^d|i*O93kDRq0U$JP*"><value name="ID"><shadow type="math_number_minmax" id="3#u5iHkF^{,Xl?L;};s#"><mutation min="0" max="255" label="Id" precision="0"/><field name="SLIDER">1</field></shadow></value><next><block type="radio_set_frequency_band" id="-y~}+.^|GMA^!v4JqB5J"><value name="band"><shadow type="math_number_minmax" id="y$,M89px{,?/UpI6`pw;"><mutation min="0" max="83" label="Band" precision="0"/><field name="SLIDER">70</field></shadow></value><next><block type="device_set_accelerometer_range" id="9_ysk*/Xe@;}cHi$C5/P"><field name="range">AcceleratorRange.EightG</field><next><block type="variables_set" id="Noag=1GK~AL-g};CA[7U"><field name="VAR" id="ir0]6NOMYmCpnN5Nnum=">accThreshold</field><value name="VALUE"><shadow type="math_number" id="pJn0|bNSe3.R{NCJ^S[7"><field name="NUM">1200</field></shadow></value><next><block type="variables_set" id="|9):.K+={5CCk_H}]RhP"><field name="VAR" id="+|~J4jVR%TIy{iG-]EW]">sendUntil</field><value name="VALUE"><shadow type="math_number" id="E`Xz*0XT93/GaA+o]i+-"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="qvB/YvKHXqJ|hp^}BBIy"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="IMaok]Y@lNBzj[._#b#a"><field name="NUM">0</field></shadow><block type="control_running_time" id="-K=XwF~D!/4awf4Z)$r4"/></value><value name="B"><shadow type="math_number" id="~jn0W{-IcY5OiAiZ:qJb"><field name="NUM">2000</field></shadow></value></block></value></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="Jxmy|GPgWc2D@[JeDh@1" x="3" y="384"><statement name="HANDLER"><block type="variables_set" id="4?1v5YBK70/OrhF#X*.Y"><field name="VAR" id="piqNU)e*TYovn]N`!n}u">acc</field><value name="VALUE"><shadow type="math_number" id="QgN=.D8l58Yp`n|xm%sD"><field name="NUM">0</field></shadow><block type="device_acceleration" id="TPTLz85WqRJj-B%GIa-G"><field name="NAME">Dimension.Strength</field></block></value><next><block type="controls_if" id="+}b;1z4hAm-T~yCa,k(-"><value name="IF0"><shadow type="logic_boolean" id=")#f=g/9%8fO$|7q+~B}e"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="nd{VBHgKC!(LS5Q*-y-~"><field name="OP">OR</field><value name="A"><block type="logic_compare" id=";xanmrem|]Sk.MbEN!lz"><field name="OP">GTE</field><value name="A"><shadow type="math_number" id="n^I/m.r(Gy9jIS{S2Clw"><field name="NUM">0</field></shadow><block type="variables_get" id="eiTV5TewMmCHl{V=aCoZ"><field name="VAR" id="piqNU)e*TYovn]N`!n}u">acc</field></block></value><value name="B"><shadow type="math_number" id="uPy?/J_A7k^kwJWemIDG"><field name="NUM">0</field></shadow><block type="variables_get" id="6oUjC/7vOZzZdIP:}SpW"><field name="VAR" id="ir0]6NOMYmCpnN5Nnum=">accThreshold</field></block></value></block></value><value name="B"><block type="logic_compare" id="qg]4|2`(GnlN/P-.@Y-."><field name="OP">GT</field><value name="A"><shadow type="math_number" id="oV^Y%FDnhsvIAx#%2tr7"><field name="NUM">0</field></shadow><block type="variables_get" id="qi(Bz[BmW$^({#-xc[pG"><field name="VAR" id="+|~J4jVR%TIy{iG-]EW]">sendUntil</field></block></value><value name="B"><shadow type="math_number" id="/0FZ60,gRCJ@ZrgjhlCr"><field name="NUM">0</field></shadow><block type="control_running_time" id="}HcNBgq15ff+BsRrECnY"/></value></block></value></block></value><statement name="DO0"><block type="controls_if" id="P1.6p!sR[yACKGTe9fb;"><value name="IF0"><shadow type="logic_boolean" id="NeZQf4ez^sYX+3mPKMl=" disabled="true"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="!838,D#MrOoH8R.t=t*W"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="ya-F|xG7W+pq6m0?4@E}"><field name="VAR" id="piqNU)e*TYovn]N`!n}u">acc</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="mwVv;qBL!Sh9}VXp5xA("><field name="VAR" id="ir0]6NOMYmCpnN5Nnum=">accThreshold</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="k`CLXzZTu{/lS`3tzGPH"><field name="VAR" id="+|~J4jVR%TIy{iG-]EW]">sendUntil</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="%p87d|IR.!p=NJbtC/T1"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="control_running_time" id="V.dh#]=e`sn,|FUVQ00y"/></value><value name="B"><shadow type="math_number" id="LmH_~;U~{pzXw[}ij8+:"><field name="NUM">2000</field></shadow></value></block></value></block></statement><next><block type="radio_datagram_send_string" id="Lsc^!M,=`6P!7maSlS?x"><value name="msg"><shadow type="text" id="%m?P9p#c_/pycZzR{9c/"><field name="TEXT"/></shadow><block type="text_join" id=";/@uB+h$0ZSu]9Mb:[EU"><mutation items="2"/><value name="ADD0"><shadow type="text" id="YH-j7aGAcJ!/HEMIUyK9"><field name="TEXT">iss/onAcc </field></shadow></value><value name="ADD1"><shadow type="text" id="8oI@2:E!#*;mMr21ueGk"><field name="TEXT">Welt</field></shadow><block type="variables_get" id="$ob):f?S%KdbtjraPp?S"><field name="VAR" id="piqNU)e*TYovn]N`!n}u">acc</field></block></value></block></value><next><block type="control_wait_us" id="AbU!si1RTl+}5wGeWyAP"><value name="micros"><shadow type="math_number_minmax" id="Lf/fW:`lXv1*/PJB49PB"><mutation min="0" max="6000" label="Micros" precision="0"/><field name="SLIDER">20000</field></shadow></value></block></next></block></next></block></statement></block></next></block></statement></block><block type="every_interval" id="3@OhERDRIJ4ML=b-t`q[" x="7" y="929"><value name="interval"><shadow type="longTimePicker" id="QnG=3DO}Ok_WMA?Vjvh;"><field name="ms">1200000</field></shadow></value><statement name="HANDLER"><block type="radio_datagram_send_string" id=")@PGD~0Z?5JFh:7lEf^s"><value name="msg"><shadow type="text"><field name="TEXT"/></shadow><block type="text_join" id="=tE|(l$1%H}F/j]ranlL"><mutation items="2"/><value name="ADD0"><shadow type="text" id="ddALG+EUxpl;mfaFhQ|V"><field name="TEXT">iss/vcc </field></shadow></value><value name="ADD1"><shadow type="text"><field name="TEXT">Welt</field></shadow><block type="analogReadPinInternalRef" id="eG-un-V~,%/IpJaN}Iy7"/></value></block></value></block></statement></block></xml>