File: Copy%20Port%20Looped.xml

package info (click to toggle)
kuttypy 2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 37,896 kB
  • sloc: python: 58,651; javascript: 14,686; xml: 5,767; ansic: 2,716; makefile: 453; asm: 254; sh: 48
file content (66 lines) | stat: -rw-r--r-- 2,594 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<xml xmlns="https://developers.google.com/blockly/xml">
  <block type="set_reg" id="ZFe;(x=UB42ffqEO`I^D" x="52" y="164">
    <field name="REGISTER">DDRB</field>
    <comment pinned="false" h="80" w="160">Set the data direction register</comment>
    <value name="VALUE">
      <block type="math_number" id="M(_(ELoPFC(#XXnc[mX?">
        <field name="NUM">255</field>
      </block>
    </value>
    <next>
      <block type="set_reg" id="h6aPPH}*T}.m`(cTnF=E">
        <field name="REGISTER">DDRA</field>
        <comment pinned="false" h="80" w="160">Set the data direction register</comment>
        <value name="VALUE">
          <block type="math_number" id="1Kj1g(Li1TMQia.^{SB+">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="set_reg" id="u@wPM*WFz*8aam:01C48">
            <field name="REGISTER">PORTA</field>
            <value name="VALUE">
              <block type="math_number" id="kXIDI!}RulX:;JJUwU6R">
                <field name="NUM">255</field>
              </block>
            </value>
            <next>
              <block type="controls_whileUntil" id="3]/Z5#xCu%p/EQK~+F|$">
                <field name="MODE">WHILE</field>
                <value name="BOOL">
                  <block type="logic_boolean" id="(4o+t,Vc~6?YX?KZ|*uK">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
                <statement name="DO">
                  <block type="set_reg" id="McY2zCQS}t;0F.G7VIvh">
                    <field name="REGISTER">PORTB</field>
                    <value name="VALUE">
                      <block type="get_reg" id="HReQ4?~X|+m1Sv{DfLEd">
                        <field name="REGISTER">PINA</field>
                      </block>
                    </value>
                    <next>
                      <block type="wait_seconds" id="Fs29U[v$=zn.8o;Qu8^^">
                        <field name="SECONDS">0.1</field>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="cs_print" id="6.E$r!1rvZortZW?r$A%">
                    <value name="TEXT">
                      <shadow type="text" id="Dz*/xI6]0k*at{D9y0ln">
                        <field name="TEXT">done </field>
                      </shadow>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>