<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="arduino_functions" id="rxofC!)oBFHd|pCglmeO" x="-10" y="123">
    <statement name="SETUP_FUNC">
      <block type="variables_set" id="1g#-dHIN8Y(nh0dGc6c.">
        <field name="VAR">bewegungsStatus</field>
        <value name="VALUE">
          <block type="math_number" id="bzKRyznDROQEa~^5H7ji">
            <field name="NUM">0</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="LOOP_FUNC">
      <block type="variables_set" id="W=bt7.lbD1}lj0W5Q|x%">
        <field name="VAR">bewegungsStatus</field>
        <value name="VALUE">
          <block type="io_digitalread" id="j|y`xwT=@%JWtw[P9t%#">
            <field name="PIN">15</field>
          </block>
        </value>
        <next>
          <block type="controls_if" id="Kt7[OvHtEfQA^J=HRWnO">
            <value name="IF0">
              <block type="logic_compare" id=";JRMyqP[5,yOhVq*o^Ox">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="variables_get" id="/|{E?|NC4bUy5J[x,EQ[">
                    <field name="VAR">bewegungsStatus</field>
                  </block>
                </value>
                <value name="B">
                  <block type="io_highlow" id="ZFfP_;lUW!Y9E{,Wn9iQ">
                    <field name="STATE">HIGH</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="serial_print" id="xvLp9Z;tTDC}-Dl9SP:k">
                <field name="SERIAL_ID">Serial</field>
                <field name="NEW_LINE">TRUE</field>
                <value name="CONTENT">
                  <block type="text" id="ac`alb6}YRxTk2+dR:8f">
                    <field name="TEXT">Alarm</field>
                  </block>
                </value>
                <next>
                  <block type="controls_for" id="JS}3Il8loE=pf,._[Tt=">
                    <field name="VAR">i</field>
                    <value name="FROM">
                      <block type="math_number" id="(V9+=HZ3l3t{tP!7JlXX">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                    <value name="TO">
                      <block type="math_number" id="|zbY2AlnQFQ8+y;p7[0q">
                        <field name="NUM">2</field>
                      </block>
                    </value>
                    <value name="BY">
                      <block type="math_number" id="}JPOlA@7^S[dTsI8+R-k">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <statement name="DO">
                      <block type="io_digitalwrite" id="#:aHVF*5y9_dId;k`nq2">
                        <field name="PIN">2</field>
                        <value name="STATE">
                          <block type="io_highlow" id="FEz7)3BdeWj.O4yT/v7m">
                            <field name="STATE">HIGH</field>
                          </block>
                        </value>
                        <next>
                          <block type="io_digitalwrite" id="_j}v1}dfO92:p[J5*H,Y">
                            <field name="PIN">5</field>
                            <value name="STATE">
                              <block type="io_highlow" id="T4Su(}L*#4|PybU)*Vq(">
                                <field name="STATE">HIGH</field>
                              </block>
                            </value>
                            <next>
                              <block type="time_delay" id="XvNsF6zFz}Y|.t6||fiw">
                                <value name="DELAY_TIME_MILI">
                                  <block type="math_number" id="`{ptG.j0)gBW2cS3#T.|">
                                    <field name="NUM">500</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="io_digitalwrite" id="Az4EA2OJzFd.jUdRZ;HP">
                                    <field name="PIN">2</field>
                                    <value name="STATE">
                                      <block type="io_highlow" id="N5auUtn%TG{M}85fF*2K">
                                        <field name="STATE">LOW</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="io_digitalwrite" id="5J5-m9;O)LC`V_h.0Vc7">
                                        <field name="PIN">5</field>
                                        <value name="STATE">
                                          <block type="io_highlow" id="62.{9xu{Lgp9;Fu-t[,`">
                                            <field name="STATE">LOW</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="time_delay" id="ewaVgRXKcV,9)/rPH#c%">
                                            <value name="DELAY_TIME_MILI">
                                              <block type="math_number" id="{INDLvLO]Hg|fIfc_cZy">
                                                <field name="NUM">500</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="serial_setup" id="_ryUftiYaz)@FwKnOWgU" x="-6" y="634">
    <field name="SERIAL_ID">Serial</field>
    <field name="SPEED">9600</field>
  </block>
</xml>