File: Set%20Port.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 (40 lines) | stat: -rw-r--r-- 1,459 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
<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="~cJFb|TjMP}w2.Fn2KJ7">data</variable>
  </variables>
  <block type="set_reg" id="h6aPPH}*T}.m`(cTnF=E" x="38" y="166">
    <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="1Kj1g(Li1TMQia.^{SB+">
        <field name="NUM">255</field>
      </block>
    </value>
    <next>
      <block type="variables_set" id=",?+,:GhEp~sHP5f[nvh5">
        <field name="VAR" id="~cJFb|TjMP}w2.Fn2KJ7">data</field>
        <value name="VALUE">
          <block type="text_prompt_ext" id=";Qp0WhfqTx4?D+@9)9aJ">
            <mutation type="NUMBER"></mutation>
            <field name="TYPE">NUMBER</field>
            <value name="TEXT">
              <shadow type="text" id="2EPrrG{P8R6K).23%ht7">
                <field name="TEXT">Enter Input</field>
              </shadow>
            </value>
          </block>
        </value>
        <next>
          <block type="set_reg" id="u@wPM*WFz*8aam:01C48">
            <field name="REGISTER">PORTB</field>
            <value name="VALUE">
              <block type="variables_get" id="Tp[O),A$eul5e/adB?Mq">
                <field name="VAR" id="~cJFb|TjMP}w2.Fn2KJ7">data</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>