<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>