Debian Codegraph @

online/static/samples/Sensor Addons/Stepper Motor.xml

raw symbols SCIP
1 <xml xmlns="https://developers.google.com/blockly/xml">
2 <block type="init_stepper" id="cV+-sycIk65#_?bh*Qry" x="17" y="109">
3 <next>
4 <block type="move_stepper" id="54HnkcL2=fTzrQIQ%[Qq">
5 <field name="PINS">B1</field>
6 <value name="STEPS">
7 <block type="math_number" id="W:mj0T{RBG(U,:2-q)1@">
8 <field name="NUM">1000</field>
9 </block>
10 </value>
11 <value name="DELAY">
12 <block type="math_number" id="F1B}YD*7#Kp+NNu6/90*">
13 <field name="NUM">1</field>
14 </block>
15 </value>
16 <next>
17 <block type="move_stepper" id="fL|a]?R$y,l;GT+ieaV3">
18 <field name="PINS">B1</field>
19 <value name="STEPS">
20 <block type="math_number" id="aOBh0jA58DKcrDm$*N1D">
21 <field name="NUM">-1000</field>
22 </block>
23 </value>
24 <value name="DELAY">
25 <block type="math_number" id="T#j.**e`c}80BH.=]9YT">
26 <field name="NUM">1</field>
27 </block>
28 </value>
29 </block>
30 </next>
31 </block>
32 </next>
33 </block>
34 <description>
35 <![CDATA[<h1>Test stepper motor</h1><p><br></p><p>PB0 to PB3 pins are used.</p><p><br></p><p><br></p><p><br></p><p><br></p><h3>Connect to the motor in the following order</h3><p><br></p><p>PB0 A+</p><p>PB1 B+</p><p>PB2 A-</p><p>PB3 B-</p><p><br></p><p>The program will rotate few steps clockwise, and then return.</p>]]>
36 </description>
37 </xml>