-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 7.85 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 7.85 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="Zft_x[7aPT!4!Q7`v]yB">bool</variable><variable id="wwb].BI-}K:^*~[{[]T1">strip</variable></variables><block type="device_forever" id="VQ3`7z+4P%[dZnA)Sv/P" x="0" y="0"></block><block type="controls_if" id=".R_iT7m-NM%QYD1:(HeN" disabled="true" x="262" y="25"><mutation elseif="2"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="z;hCHk4kHJOMATvj?6vl" disabled="true"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="go*}jE@4YiwN]n}a6d;8" disabled="true"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="MW`dYDz;9B{9dHR1Ot4h" disabled="true"><field name="name">DigitalPin.P15</field></block></value><value name="B"><shadow type="math_number" id="%+Kcld4Zl1L|5dFM82eo" disabled="true"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="rX|F)1NP8n1x5xwcB;+C" disabled="true"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="rngTx0;L@yy]56ZKc?y_" disabled="true"><field name="name">DigitalPin.P14</field></block></value><value name="B"><shadow type="math_number" id="@jLadfO$x7*HyfiJPH)0" disabled="true"><field name="NUM">0</field></shadow></value></block></value></block></value><statement name="DO0"><block type="function_call" id="5Auw+N:T9nwfxQp[qeiN" disabled="true"><mutation name="forward" functionid="l}m70I_6.%:uBK_HfyFx"></mutation></block></statement><value name="IF1"><block type="logic_operation" id="r=9HG/@%N$qW}r]z6l}(" disabled="true"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="rM=2DU(r=dMrzIrjy?$B" disabled="true"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="#Q99Eza6I:0)]~,$h5y:" disabled="true"><field name="name">DigitalPin.P15</field></block></value><value name="B"><shadow type="math_number" id="5WWjt-S![v,X*Pw^KYRd" disabled="true"><field name="NUM">1</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="[8r}tbxn2*O~L48:Y.L7" disabled="true"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="iai~QaYV)^DR=W3d20ry" disabled="true"><field name="name">DigitalPin.P14</field></block></value><value name="B"><shadow type="math_number" id="IDCpe0+`.PC/;9A!-e)F" disabled="true"><field name="NUM">0</field></shadow></value></block></value></block></value><statement name="DO1"><block type="function_call" id=";J=ov8_y916AVCr4ruNA" disabled="true"><mutation name="right" functionid="w[C$e;7h7/qAr;VAD}/Q"></mutation></block></statement><value name="IF2"><block type="logic_operation" id="fWFo}1vQ.f%hi(@_c(`B" disabled="true"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="IK2^nqDo,2HI0t%bd`c{" disabled="true"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="_B2L1$~QaO6}a_KV`=vF" disabled="true"><field name="name">DigitalPin.P15</field></block></value><value name="B"><shadow type="math_number" id="y]+^zINY-e6%cH7J)B:e" disabled="true"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="i4Xg%OvW2sjUW=,9UklN" disabled="true"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="oa;yN#fm=.NX}m[mp$ww" disabled="true"><field name="name">DigitalPin.P14</field></block></value><value name="B"><shadow type="math_number" id="ax?D.aMsW.]4dXNshh,{" disabled="true"><field name="NUM">1</field></shadow></value></block></value></block></value><statement name="DO2"><block type="function_call" id="prGvYijQIWd(.4fa]`)8" disabled="true"><mutation name="left" functionid="K95,.}R$U^zU.+{8I||0"></mutation></block></statement></block><block type="function_definition" id="~FVz~q6]O7z,a6I-l`jI" x="-14" y="497"><mutation name="forward" functionid="l}m70I_6.%:uBK_HfyFx"></mutation><field name="function_name">forward</field><statement name="STACK"><block type="setAllMotor" id="3k(`c1t*.%Lx+L=CC`m|"><value name="m1speed"><shadow type="math_number_minmax" id="d8?o~*RF/sMh{x~,sNk5"><mutation min="-100" max="100" label="M1speed" precision="0"></mutation><field name="SLIDER">25</field></shadow></value><value name="m2speed"><shadow type="math_number_minmax" id="/+i31Y]MS7t~vjuvqs-."><mutation min="-100" max="100" label="M2speed" precision="0"></mutation><field name="SLIDER">25</field></shadow></value></block></statement></block><block type="function_definition" id="8{vBOOhYR0e^m$Avxdp," x="376" y="506"><mutation name="right" functionid="w[C$e;7h7/qAr;VAD}/Q"></mutation><field name="function_name">right</field><statement name="STACK"><block type="setAllMotor" id="7/EC8qQFz`$M67cCX(;W"><value name="m1speed"><shadow type="math_number_minmax" id="=r*}l{9B$I+LxBE#A+5*"><mutation min="-100" max="100" label="M1speed" precision="0"></mutation><field name="SLIDER">0</field></shadow></value><value name="m2speed"><shadow type="math_number_minmax" id="tfXN@qgYalO+LT/}Vq}^"><mutation min="-100" max="100" label="M2speed" precision="0"></mutation><field name="SLIDER">-15</field></shadow></value></block></statement></block><block type="device_forever" id="8Q1{w*-ogxfa50JPY~vJ" x="-217" y="723"><statement name="HANDLER"><block type="controls_if" id="nnBpd8i-yx#S)R4IEl=9"><value name="IF0"><shadow type="logic_boolean" id="C.+3wKnf;PwBdNysN0.%"><field name="BOOL">TRUE</field></shadow><block type="PlanetX_AILens_objectCheck" id="JvC^u0U=J//8}_`(mKlS"><field name="status">PlanetX_AILens.learnID.ID1</field></block></value><statement name="DO0"><block type="playMelody" id="A(5!m]mSUNhvc#9]~N4,"><value name="melody"><shadow type="melody_editor" id="h$aV^~I/SY?|$k~M=9AU"><field name="melody">"A A A - - - - - "</field></shadow></value><value name="tempo"><shadow type="math_number_minmax" id=".xBFUX+Itz{LgxHSg2{k"><mutation min="40" max="500" label="Tempo" precision="0"></mutation><field name="SLIDER">120</field></shadow></value></block></statement></block></statement></block><block type="function_definition" id="f4X:paE(hOWM;RD,Gn5L" x="356" y="719"><mutation name="left" functionid="K95,.}R$U^zU.+{8I||0"></mutation><field name="function_name">left</field><statement name="STACK"><block type="setAllMotor" id="ocV){a=X$M]hU6DfMdvP"><value name="m1speed"><shadow type="math_number_minmax" id="0eFT:TA~z+%H[`;I|`B3"><mutation min="-100" max="100" label="M1speed" precision="0"></mutation><field name="SLIDER">-15</field></shadow></value><value name="m2speed"><shadow type="math_number_minmax" id="3(!=3KkodC@2~U+S-/ez"><mutation min="-100" max="100" label="M2speed" precision="0"></mutation><field name="SLIDER">0</field></shadow></value></block></statement></block><block type="pxt-on-start" id="Lp#o:x|UB=3`vBgIT^qj" x="-28" y="952"><statement name="HANDLER"><block type="PlanetX_AILens_initModule" id="ok#;=KuN#yT(5h*EL8Qm"><next><block type="PlanetX_AILens_switchfunc" id="drCI(Ujyt(0bm%ffw020"><field name="fun">PlanetX_AILens.FuncList.Things</field></block></next></block></statement></block><block type="device_button_event" id="w;]U2H7T}~LLrJ#,R_2c" x="389" y="985"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="PlanetX_AILens_learnObject" id="$879RdL;Y|166o;%3C@-"><field name="thingsID">PlanetX_AILens.learnID.ID1</field></block></statement></block><block type="device_button_event" id="oW[2Y9q?_dXB^S_uQTX8" x="427" y="1171"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="PlanetX_AILens_ClearlearnObject" id="{$L=Z]_@wv)oZkpT8EzM"></block></statement></block></xml>