-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 3.75 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="eUH`dS!0R9!hh#VEG4c^">i</variable><variable id="aBgqAb$YrVk4axzn`4YV">p</variable></variables><block type="pxt-on-start" id="0X7;3?{7|7y]M|y|@C_=" x="97" y="-134"><statement name="HANDLER"><block type="servoservosetangle" id="q54#;:YsXXIw[@~4/)2`"><field name="servo">servos.P0</field><value name="degrees"><shadow type="protractorPicker" id="~4Jgn%ZL=4{g7$ao1x?}"><field name="angle">0</field></shadow></value></block></statement></block><block type="device_forever" id="YJ_?xu#WWS_Tm7uMn=gq" x="0" y="0"><statement name="HANDLER"><block type="device_show_number" id="#l5B5DUuJt41;yVndd6?"><value name="number"><shadow type="math_number" id="w6b2Y[]j[RnbC~X5k/y."><field name="NUM">0</field></shadow><block type="sonarbit" id="-8V*,[)Z,1yfr-Rlmvle"><field name="distance_unit">Distance_Unit.Distance_Unit_mm</field><field name="pin">DigitalPin.P0</field></block></value><next><block type="controls_if" id="P/q!EXoe6*C}aN(/a|/1"><mutation elseif="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_operation" id="N}V~w.Eu4hG+k9^^L5nC"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="NAVu1Vz0#:YS_hh7Xbh."><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="sonarbit" id="sSY.B%EYls6nT_N([N)^"><field name="distance_unit">Distance_Unit.Distance_Unit_cm</field><field name="pin">DigitalPin.P1</field></block></value><value name="B"><shadow type="math_number" id="7J!xQ8I6vi4y(/r4Zh[H"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="j@LZ:A.+Yu*KdyLacn[J"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="sonarbit" id="pNT|K/27t-`i=:a}25U9"><field name="distance_unit">Distance_Unit.Distance_Unit_cm</field><field name="pin">DigitalPin.P1</field></block></value><value name="B"><shadow type="math_number" id="aMtAV0,Q-q~lzs:NpBxr"><field name="NUM">13</field></shadow></value></block></value></block></value><statement name="DO0"><block type="servoservosetangle" id=";}9sJhoAc^5pJ8W9Cfn["><field name="servo">servos.P0</field><value name="degrees"><shadow type="protractorPicker" id="v#|.8{?qhM[2DqAg^uV/"><field name="angle">180</field></shadow></value></block></statement><value name="IF1"><block type="logic_operation" id="(:(n}t}axxU#GxIE/)k4"><field name="OP">OR</field><value name="A"><block type="logic_compare" id="n..w4^KX3invV,Ou_UC2"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="sonarbit" id="#JRx`K3p[[@sAm@!N2P+"><field name="distance_unit">Distance_Unit.Distance_Unit_cm</field><field name="pin">DigitalPin.P1</field></block></value><value name="B"><shadow type="math_number" id="P;It!kG@N+;Wx70EZBZm"><field name="NUM">0</field></shadow></value></block></value><value name="B"><block type="logic_compare" id="$[85n0MDjH+Bq/g(n}n6"><field name="OP">GT</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="sonarbit" id="H@6s5x/bN3o_y;]jO*H2"><field name="distance_unit">Distance_Unit.Distance_Unit_cm</field><field name="pin">DigitalPin.P1</field></block></value><value name="B"><shadow type="math_number" id="j{{iAw`R4EW=6na`v^;`"><field name="NUM">13</field></shadow></value></block></value></block></value><statement name="DO1"><block type="servoservosetangle" id="mNgw@Y-8PK|PAORJu3;k"><field name="servo">servos.P0</field><value name="degrees"><shadow type="protractorPicker" id="Sd!ftdBh(OP8.IS*)FVn"><field name="angle">90</field></shadow></value></block></statement></block></next></block></statement></block></xml>