-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.xml
More file actions
7 lines (7 loc) · 4.21 KB
/
project.xml
File metadata and controls
7 lines (7 loc) · 4.21 KB
1
2
3
4
5
6
7
<xml xmlns="https://developers.google.com/blockly/xml"><block type="motor_setup" id="!0r!Y+/ZpTI9~9V)q/EH" x="-277" y="40"><field name="NUMBER_OF_COMPONENTS">2</field><field name="PIN_EN1">9</field><field name="PIN_IN1">8</field><field name="PIN_IN2">7</field><field name="PIN_EN2">3</field><field name="PIN_IN3">5</field><field name="PIN_IN4">4</field><comment pinned="false" h="220" w="460">This setups up the pins to control the L298N chip and the number of motors you want to control.</comment></block><block type="arduino_loop" id="YRV@lR/G%z|6AGQ*V./s" deletable="false" x="-278" y="197"><field name="LOOP_TIMES">3</field><comment pinned="false" h="170" w="460">The void loop function runs over and over again forever</comment><statement name="loop"><block type="move_motor" id="vkzb_S?9q:1e9X-jhoPQ"><field name="MOTOR">1</field><field name="DIRECTION">CLOCKWISE</field><comment pinned="false" h="220" w="460">Moves the motor and allow you to control the speed and direction.</comment><value name="SPEED"><block type="math_number" id="7a^A,g5L5h+5}#AfcCfp"><field name="NUM">150</field></block></value><next><block type="delay_block" id="=;Wzh+ZD}}k@B9hK+)f{"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="uU*p!S=KT`9I]Ff*h)gO"><field name="NUM">3</field></block></value><next><block type="move_motor" id="}5oQSqhB^MGE{G-Uosl`"><field name="MOTOR">1</field><field name="DIRECTION">ANTI_CLOCKWISE</field><comment pinned="false" h="220" w="460">Moves the motor and allow you to control the speed and direction.</comment><value name="SPEED"><block type="math_number" id=".I;p:DTpZA7eH`0/[U4y"><field name="NUM">150</field></block></value><next><block type="delay_block" id="J~MXp/(fS|OnIusgh_a5"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="70Y9zkH_KKp]1nYLvU=H"><field name="NUM">3</field></block></value><next><block type="stop_motor" id="44BFCd~o~(}nmy06B]Pk"><field name="MOTOR">1</field><comment pinned="false" h="220" w="460">Stop the motor from spinning.</comment><next><block type="delay_block" id="*$OZ9#~IbtC:GF-_|TXj"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id=")1OEV*sTjI9p7R,i#q[5"><field name="NUM">3</field></block></value><next><block type="move_motor" id="e$y]Mxa8Q,Qt)SL0WMjK"><field name="MOTOR">2</field><field name="DIRECTION">CLOCKWISE</field><comment pinned="false" h="220" w="460">Moves the motor and allow you to control the speed and direction.</comment><value name="SPEED"><block type="math_number" id="Vlqk6eO;x[FYEHkTg|AW"><field name="NUM">150</field></block></value><next><block type="delay_block" id="$K|-EX9e0G9ird*d-pDg"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="SnCj!B}*tHo6BwRj1b(@"><field name="NUM">3</field></block></value><next><block type="move_motor" id="NmLQgX2.,4m0q]p;5c|`"><field name="MOTOR">2</field><field name="DIRECTION">ANTI_CLOCKWISE</field><comment pinned="false" h="220" w="460">Moves the motor and allow you to control the speed and direction.</comment><value name="SPEED"><block type="math_number" id="9/AE9(?E(#NOplYC1]Cx"><field name="NUM">150</field></block></value><next><block type="delay_block" id="XXZTy2AxYvI]ro^a*{[R"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="q8JJ`@)^.OJcRmSO5u))"><field name="NUM">3</field></block></value><next><block type="stop_motor" id="B?!Jqd0TNR8MFZ_eon8+"><field name="MOTOR">2</field><comment pinned="false" h="220" w="460">Stop the motor from spinning.</comment><next><block type="delay_block" id="W5c*S$IQD5tWOVOdF3dv"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="$@ka7;C~9O)l4@SS7iK|"><field name="NUM">3</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml>