-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 5.79 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><block type="pxt-on-start" id="TtEA?+/au:IlsBtWn?o/" x="0" y="20"/><block type="device_button_event" id="H6VfXhH]tX8V/t67Jb#G" x="534" y="0"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="servoservosetangle" id="EF9k.5kPGF)1,3-jVt`x"><field name="servo">servos.P0</field><value name="degrees"><shadow type="protractorPicker" id="XU@0{r!1.Bj[/-DQwl$V"><field name="angle">90</field></shadow></value><next><block type="servoservosetangle" id="xDwYgfUR^{g$LYi?KDlb"><field name="servo">servos.P1</field><value name="degrees"><shadow type="protractorPicker" id="K/:B_)D|;e*.2ql-8pe{"><field name="angle">90</field></shadow></value></block></next></block></statement></block><block type="device_forever" id="JFw4yR.+yoC,@h5uNeo8" x="6" y="157"><statement name="HANDLER"><block type="servoservosetangle" id="XP2YL;qXmSkyTn$l::ZR"><field name="servo">servos.P1</field><value name="degrees"><shadow type="protractorPicker"><field name="angle">90</field></shadow><block type="math_arithmetic" id="!oChmt533$=XSJI@mli|"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_js_round" id="Vz5wdWmMUZTP1?RO(((E"><field name="OP">round</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_map" id="^521)f^;hIvCeJyS_tHZ"><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_acceleration" id="xMx3;xbWQV#)}pJb=5TT"><field name="NAME">Dimension.X</field></block></value><value name="fromLow"><shadow type="math_number" id="rtIiW+QVZnp!?u_hmP$u"><field name="NUM">-1023</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="]5*L}ps0V`y=19cV.}d8"><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="B~B~Vm0GV[ZSy9VWE%x8"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="Nn$W]n#|4r[D[QH|Mv9$"><field name="NUM">180</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="g]HL:#zB]ImIAe22rkt)"><field name="NUM">10</field></shadow></value></block></value><next><block type="servoservosetangle" id="KLaqK0!`lA5$J``R^0pA"><field name="servo">servos.P0</field><value name="degrees"><shadow type="protractorPicker"><field name="angle">90</field></shadow><block type="math_arithmetic" id="pj5_~*~WDW7g~@a4ext/"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_js_round" id="E]BZtj5ep[q~imE}K*og"><field name="OP">round</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_map" id="jV6_fT[M*k1wE7O7xp!k"><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_acceleration" id="fBCEv%(2V7;6x=aZzCTF"><field name="NAME">Dimension.Z</field></block></value><value name="fromLow"><shadow type="math_number" id="l0?(,LpaSTZ8H{*T[##2"><field name="NUM">-1023</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="Jj4:CBV6|N)4mSZ)+J%L"><field name="NUM">1023</field></shadow></value><value name="toLow"><shadow type="math_number" id="5EUUR*SRhCD8^NOIN6|w"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="9o(V!sRTKQ(8twwyZk,["><field name="NUM">180</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id=".Qu|e-M{jjmNNuRekH!]"><field name="NUM">-10</field></shadow></value></block></value></block></next></block></statement></block><block type="device_forever" id="X{VCHzC6vUV+5fxu}au?" x="17" y="403"><statement name="HANDLER"><block type="device_plot" id="JdI8$8ic9bJ]}sRODQi-"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4" label="X" precision="1"/><field name="SLIDER">0</field></shadow><block type="math_map" id="BHj|4gz%;rYe(*t|D[pp"><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_acceleration" id="UM}6N]a]-vxq#hn9UIaQ"><field name="NAME">Dimension.X</field></block></value><value name="fromLow"><shadow type="math_number" id="(C!WB3.~1qu7v{`?h}CS"><field name="NUM">-700</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="RB%QV7ARvCG:(*CSzDNH"><field name="NUM">700</field></shadow></value><value name="toLow"><shadow type="math_number" id="SwJ)%.i8MwT?ReuzAUSs"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="7wtJGaA($Z`Ki%5-WBOa"><field name="NUM">5</field></shadow></value></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4" label="Y" precision="1"/><field name="SLIDER">0</field></shadow><block type="math_map" id="WSyc:GC#nEk4X6*9q?+F"><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_acceleration" id="xk^;mX*ZCqb54#JOYCl|"><field name="NAME">Dimension.Z</field></block></value><value name="fromLow"><shadow type="math_number" id=";`s_}b}Ob`QO!U$vK,`I"><field name="NUM">-700</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="A7b!Q}HS?lxYi4YBLH1F"><field name="NUM">700</field></shadow></value><value name="toLow"><shadow type="math_number" id="k0qHuQzWOW^f8Z#Gu02O"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="Jk$.K.MUy@]*wcICs/ik"><field name="NUM">5</field></shadow></value></block></value><next><block type="device_pause" id="[~}*[D*K{jwi$=3aJmNo"><value name="pause"><shadow type="timePicker" id="*gC`Evy8EnyJ|#|##sgp"><field name="ms">200</field></shadow></value><next><block type="device_clear_display" id="0c/9gX2/3(taB4cy4L0L"/></next></block></next></block></statement></block></xml>