-
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.57 KB
/
Copy pathmain.blocks
File metadata and controls
1 lines (1 loc) · 7.57 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="v3{/W-D$tV-j]yn%SygG">key</variable><variable id="]l8qV$_,!/WifG_XJGZ]">receivedString</variable><variable id="aWN00XNj7INsRlo(q0T5">allumer</variable><variable id="as!zw;W/1%%hVBH+S0:l">value</variable></variables><block type="bluetooth_on_connected" id="5^^)BPBCAF.*JHr5X6pd" x="0" y="-135"><statement name="HANDLER"><block type="device_print_message" id="ZO~q`dXef!Bbq5*-92tO"><value name="text"><shadow type="text" id="!1j]AlGn/*K7G`D~E5/X"><field name="TEXT">c</field></shadow></value></block></statement></block><block type="bluetooth_on_disconnected" id="e|Iwqv`I0K,=k5D_L4ic" x="293" y="-136"><statement name="HANDLER"><block type="device_print_message" id="qg0`@JyiK*LWcs[+EBZZ"><value name="text"><shadow type="text" id="1LJ2~S3cbo^*0+}Q!Fxr"><field name="TEXT">d</field></shadow></value></block></statement></block><block type="blockytalky_on_string" id="OC}En6D7;A@byf??Jcqk" x="0" y="0"><field name="HANDLER_key" id="v3{/W-D$tV-j]yn%SygG">key</field><field name="HANDLER_receivedString" id="]l8qV$_,!/WifG_XJGZ]">receivedString</field><statement name="HANDLER"><block type="controls_if" id="rCm^,VnpiynJopoSWL(4"><value name="IF0"><shadow type="logic_boolean" id="|F^~_#ld/2S23%oJ3dX["><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="zMSl?G=AvWM*`!Y6x[.d"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="91a8zPg,zk_1ehj!+1b+"><field name="NUM">0</field></shadow><block type="variables_get" id="w%;`G_OkwmfN9xz2)LBO"><field name="VAR" id="]l8qV$_,!/WifG_XJGZ]">receivedString</field></block></value><value name="B"><shadow type="math_number" id="u}NJySFX68q6A4h/aX)u"><field name="NUM">0</field></shadow><block type="text" id="VZP6VqK(7835Q(8zFXS*"><field name="TEXT">avant</field></block></value></block></value><statement name="DO0"><block type="motor_MotorRun" id="1Fj.%|o5ZFYLWML^Vn/+"><field name="index">maqueen.aMotors.M1</field><field name="Dir">maqueen.Dir.CW</field><value name="speed"><shadow type="math_number_minmax" id="QP2|S8zqJDh{XSPO%hY2"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">100</field></shadow></value><next><block type="motor_MotorRun" id="{(x%uH7JHrqB4^!QBpv}"><field name="index">maqueen.aMotors.M2</field><field name="Dir">maqueen.Dir.CW</field><value name="speed"><shadow type="math_number_minmax" id="sbPw_8]tcfAByV=aXX[r"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">100</field></shadow></value></block></next></block></statement><next><block type="controls_if" id="kd}Dp!|NE-0:,*rHEV6f"><value name="IF0"><shadow type="logic_boolean" id="?:jr%T5bLcr(*DFl7s.n"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="4!^rA/h/DUWT_yI::3aH"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="V#-}zf9oj0ucvBA$2Rf?"><field name="NUM">0</field></shadow><block type="variables_get" id="giB^Du}E:Yhw4`M-ohP%"><field name="VAR" id="]l8qV$_,!/WifG_XJGZ]">receivedString</field></block></value><value name="B"><shadow type="math_number" id="P^n6}Xa`*dc?d6Pa:?)A"><field name="NUM">0</field></shadow><block type="text" id="Gk7X;H+WsLL(4j6=C30%"><field name="TEXT">droite</field></block></value></block></value><statement name="DO0"><block type="motor_MotorRun" id="})J_-)/IjAvrE}VmJ84q"><field name="index">maqueen.aMotors.M1</field><field name="Dir">maqueen.Dir.CW</field><value name="speed"><shadow type="math_number_minmax" id="2WtOxt2h=Q/qw%0aSyY3"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">100</field></shadow></value></block></statement><next><block type="controls_if" id="S3GU|%VyJCYY).GBu;5_"><value name="IF0"><shadow type="logic_boolean" id="[`{A5]BMVk}U0hwWYRfB"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=",jI#NcC~G7Y4RC-ufp7^"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="V/}rNiZk,vvxMviSP;,/"><field name="NUM">0</field></shadow><block type="variables_get" id="7N@(NJ-%w1(mlJczC1S2"><field name="VAR" id="]l8qV$_,!/WifG_XJGZ]">receivedString</field></block></value><value name="B"><shadow type="math_number" id="]wH09E4AnuJIY{z-lpPp"><field name="NUM">0</field></shadow><block type="text" id="qEA[9pHsyaL^$7S$p`VR"><field name="TEXT">gauche</field></block></value></block></value><statement name="DO0"><block type="motor_MotorRun" id="RD#_A53Ml#kX|:|Gs%5j"><field name="index">maqueen.aMotors.M2</field><field name="Dir">maqueen.Dir.CW</field><value name="speed"><shadow type="math_number_minmax" id="GY;*B)UVv`b[@|4L1;)$"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">100</field></shadow></value></block></statement><next><block type="controls_if" id="_1)4ms0LV1WeAsOmhi):"><value name="IF0"><shadow type="logic_boolean" id="l{X$BwQFiB{=gJ}k#w}m"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="vNov~~ahhWAefmI~|R84"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id=",^9h?H%K~pP5]{`4,yu2"><field name="NUM">0</field></shadow><block type="variables_get" id=".Z}4|%B+`Og6.~Y2;m)m"><field name="VAR" id="]l8qV$_,!/WifG_XJGZ]">receivedString</field></block></value><value name="B"><shadow type="math_number" id=";Q5ps-vqN=MnB:/kn:ea"><field name="NUM">0</field></shadow><block type="text" id="1l2OsQQ)9!bth-^@/2;2"><field name="TEXT">arriere</field></block></value></block></value><statement name="DO0"><block type="motor_MotorRun" id="dJC7ZTqxc@k?F*RP%*zJ"><field name="index">maqueen.aMotors.M1</field><field name="Dir">maqueen.Dir.CCW</field><value name="speed"><shadow type="math_number_minmax" id="4~7idoncthO_Qr9K{NAL"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">100</field></shadow></value><next><block type="motor_MotorRun" id="SU31+@/,M*ug+J4tKms^"><field name="index">maqueen.aMotors.M2</field><field name="Dir">maqueen.Dir.CCW</field><value name="speed"><shadow type="math_number_minmax" id="kG?5}G1mkHuB=W.rG1jZ"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">100</field></shadow></value></block></next></block></statement><next><block type="controls_if" id="OGP?-|}f6y/OC?WxtSz5"><value name="IF0"><shadow type="logic_boolean" id="Ahk9@[,im)Zm@]U]|cRd"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="i4U.$7.K%vpkwf.$.#fC"><field name="OP">EQ</field><value name="A"><shadow type="math_number" id="sDKL0lFBDPs{Z/UO=5.G"><field name="NUM">0</field></shadow><block type="variables_get" id="Cp%e!z,.H*jOG@mkmv;0"><field name="VAR" id="]l8qV$_,!/WifG_XJGZ]">receivedString</field></block></value><value name="B"><shadow type="math_number" id="bI[W#n~MohRfzI?kgIc^"><field name="NUM">0</field></shadow><block type="text" id=".kY;54W~Cr=lQZ[.x:.O"><field name="TEXT">stop</field></block></value></block></value><statement name="DO0"><block type="motor_MotorRun" id="QJ8JY(%^^-vyEA/i5ImU"><field name="index">maqueen.aMotors.M1</field><field name="Dir">maqueen.Dir.CW</field><value name="speed"><shadow type="math_number_minmax" id=";aYq;]q|4Y*-?5yrOiOl"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">0</field></shadow></value><next><block type="motor_MotorRun" id="vQX]Z6bDj9BOuZb`UjeD"><field name="index">maqueen.aMotors.M2</field><field name="Dir">maqueen.Dir.CW</field><value name="speed"><shadow type="math_number_minmax" id="!5ttM8v.[O5*-%L/(llN"><mutation min="0" max="255" label="Speed" precision="0"></mutation><field name="SLIDER">0</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></statement></block></xml>