-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.xml
More file actions
5 lines (4 loc) · 1.98 KB
/
project.xml
File metadata and controls
5 lines (4 loc) · 1.98 KB
1
2
3
4
5
<xml xmlns="https://developers.google.com/blockly/xml"><block type="stepper_motor_setup" id="!#0~rNW*|iFkgM%62)|]" x="-2" y="10"><field name="PIN_1">11</field><field name="PIN_2">10</field><field name="PIN_3">9</field><field name="PIN_4">8</field><field name="SPEED">10</field><field name="TOTAL_STEPS">2048</field><comment pinned="false" h="140" w="460">This block will setup the stepper motor. A stepper motor allows to control it rotational position.
Use the number of steps to control how big each step will be. The smaller the number the bigger the step. </comment></block><block type="arduino_loop" id="VlF?;N6VrE%j6y0ofslB" deletable="false" x="-2" y="153"><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="stepper_motor_move" id="5P=w2xEfun[cqhXmbO+m"><comment pinned="false" h="80" w="460">This blocks controls many steps the the stepper motor will move</comment><value name="STEPS"><block type="math_number" id="P:S8+8aPJW#euhgV,Mj0"><field name="NUM">2048</field></block></value><next><block type="delay_block" id="/E4[0#BWX`Atl`D`5:2~"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="s.9SoPIc6F]7TF7;^MZk"><field name="NUM">2</field></block></value><next><block type="stepper_motor_move" id=";VvAe`mRX|K9fI2L#}#Y"><comment pinned="false" h="80" w="460">This blocks controls many steps the the stepper motor will move</comment><value name="STEPS"><block type="math_number" id="xz7YG|fN[tWcYO.^AZiU"><field name="NUM">-2048</field></block></value><next><block type="delay_block" id="V%BQK:7=KMr$`K6Dxyzx"><comment pinned="false" h="90" w="460">
Wait for the given/defined seconds.</comment><value name="DELAY"><block type="math_number" id="14X,ij~r?|of-erf?1mu"><field name="NUM">2</field></block></value></block></next></block></next></block></next></block></statement></block></xml>