-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 2.58 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="T+*:^Y/YA!9-bJ$x3$IS">moveMotorZIP</variable></variables><block type="pxt-on-start" id="f;$Op@!/XT%uk{Cq)hi]" x="0" y="11"><statement name="HANDLER"><block type="kitronik_move_motor_drive" id="n:^G!DA_mW9!AWx^5^r^"><field name="direction">Kitronik_Move_Motor.DriveDirections.Forward</field><value name="speed"><shadow type="math_number_minmax" id="Hz(o]3J^59v0wsmo-CLr"><mutation min="-Infinity" max="100" label="Speed" precision="0"/><field name="SLIDER">40</field></shadow></value></block></statement></block><block type="device_forever" id="%HaK9$0!t.G7R=?R_ckh" x="329" y="0"><statement name="HANDLER"><block type="controls_if" id=":{b0Jm+]Vzhz!{nVlt45"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="3h2xD9LmGVRLz*K$]Y@u"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="kitronik_move_motor_ultrasonic_measure" id="xr~wzj9=xl5uIei,~u5i"/></value><value name="B"><shadow type="math_number" id="bV|[`[H0kFKo8O3Z:!`y"><field name="NUM">5</field></shadow></value></block></value><statement name="DO0"><block type="device_show_leds" id="/0fEMa_wgw!05wCv}Maq"><field name="LEDS">` . # . # . . # . # . . . . . . # . . . # . # # # . `</field><next><block type="kitronik_move_motor_drive" id="2$EXg3@1+VnJ2seCBT,*"><field name="direction">Kitronik_Move_Motor.DriveDirections.Forward</field><value name="speed"><shadow type="math_number_minmax" id="*OEFcQB-uOc9c)9(S$.("><mutation min="-Infinity" max="100" label="Speed" precision="0"/><field name="SLIDER">40</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="kitronik_move_motor_stop" id="xY*EIqmo%|LP^hGDQ5Sp"><next><block type="device_show_leds" id="X]NAK%a-~@?V?X|{JHs:"><field name="LEDS">` . # . # . . # . # . . . . . . # # # # # . . . . . `</field><next><block type="kitronik_move_motor_horn" id=")+9BA=$=M*)O4e.rVRwU"><next><block type="kitronik_move_motor_spin" id="J7t@VBWUJ7sM(xZKGr(n"><field name="direction">Kitronik_Move_Motor.SpinDirections.Left</field><value name="speed"><shadow type="math_number_minmax" id="@J1MxiX3zAL5=qi@bi+,"><mutation min="-Infinity" max="100" label="Speed" precision="0"/><field name="SLIDER">30</field></shadow></value></block></next></block></next></block></next></block></statement></block></statement></block></xml>