<xml xmlns="http://www.w3.org/1999/xhtml">
  <block type="serial_setup" id="z^!^,R0qpuoMG,k-N9Mk" x="-581" y="-64">
    <field name="SERIAL_ID">Serial</field>
    <field name="SPEED">9600</field>
  </block>
  <block type="arduino_functions" id="c,p~)IJc6,z#?kzAa%k7" x="-579" y="6">
    <statement name="SETUP_FUNC">
      <block type="variables_set" id="wZ%EZzZNo%T:im.i!*~2">
        <field name="VAR">vitesse</field>
        <value name="VALUE">
          <block type="math_number" id="yJ@hYaU1`LK}%6CcIqL~">
            <field name="NUM">100</field>
          </block>
        </value>
      </block>
    </statement>
    <statement name="LOOP_FUNC">
      <block type="serial_print" id="NwK)~HTOc(zaX3}rmK5B">
        <field name="SERIAL_ID">Serial</field>
        <field name="NEW_LINE">TRUE</field>
        <value name="CONTENT">
          <block type="text_join" id="-j4(c)mD4AYKOtS|uDSt">
            <mutation items="2"></mutation>
            <value name="ADD0">
              <block type="text" id="T*XBC[H[biT)G)N|[Q/(">
                <field name="TEXT">lumiere :</field>
              </block>
            </value>
            <value name="ADD1">
              <block type="io_analogread" id="WURENIR%?Tli5*qajNf.">
                <field name="PIN">A0</field>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="controls_if" id="@IX3G;zqyMM%y3W/zohm">
            <mutation else="1"></mutation>
            <value name="IF0">
              <block type="logic_compare" id="*J0YvZfM`o5H7x{~Y_,N">
                <field name="OP">GT</field>
                <value name="A">
                  <block type="io_analogread" id="m[En/(^)9H;xtKfGz{-z">
                    <field name="PIN">A0</field>
                  </block>
                </value>
                <value name="B">
                  <block type="math_number" id="H,[#y!fy3hG^(l5]y5h+">
                    <field name="NUM">500</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="procedures_callnoreturn" id="JOWG4(;*C]doXJ)6tug7">
                <mutation name="avancer"></mutation>
              </block>
            </statement>
            <statement name="ELSE">
              <block type="procedures_callnoreturn" id="R3B8zXP(*KL*ZLu46hVN">
                <mutation name="arreter"></mutation>
                <next>
                  <block type="time_delay" id="*PX9qCqBb]7#q,e0Pv4T">
                    <value name="DELAY_TIME_MILI">
                      <block type="math_number" id="oqZ)/3lJHna~%t13S:t1">
                        <field name="NUM">1000</field>
                      </block>
                    </value>
                    <next>
                      <block type="procedures_callnoreturn" id="J2Tl}-G;7%c-x@Ub,ycR">
                        <mutation name="reculer"></mutation>
                        <next>
                          <block type="time_delay" id="+c8Eyvu(uyf;ceu*nAiP">
                            <value name="DELAY_TIME_MILI">
                              <block type="math_number" id="SwgvzT5_tj:RC]Ok.Db#">
                                <field name="NUM">2000</field>
                              </block>
                            </value>
                            <next>
                              <block type="procedures_callnoreturn" id="W9%CU;4N9QY9KhFRgIcj">
                                <mutation name="arreter"></mutation>
                                <next>
                                  <block type="time_delay" id="eKm2X^9[=}w}FJP}/Bfz">
                                    <value name="DELAY_TIME_MILI">
                                      <block type="math_number" id="j%sIsvzTce2!iSEV[xHN">
                                        <field name="NUM">500</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="procedures_callnoreturn" id="WnHnN*p~l+Bux^PA#B#m">
                                        <mutation name="gauche"></mutation>
                                        <next>
                                          <block type="time_delay" id="OPA+sN[vk]Z9`9l./Awb">
                                            <value name="DELAY_TIME_MILI">
                                              <block type="math_number" id="^#dmHZ,OPR`].v5DY1Zo">
                                                <field name="NUM">250</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="procedures_callnoreturn" id="@h6TfkC~pHi#[x[YX?]j">
                                                <mutation name="arreter"></mutation>
                                                <next>
                                                  <block type="time_delay" id="ItAK(ojZfs6gRmsm3O7K">
                                                    <value name="DELAY_TIME_MILI">
                                                      <block type="math_number" id="c7vy)uK{/*:_:CkbywxL">
                                                        <field name="NUM">1000</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="T_?6CH:ix6{R+xZOmM/f" x="-43" y="258">
    <field name="NAME">droite</field>
    <comment pinned="false" h="80" w="160">Décrire cette fonction…</comment>
    <statement name="STACK">
      <block type="io_analogwrite" id="r3G(QG2Hm[dVe|^WEJIo">
        <field name="PIN">3</field>
        <value name="NUM">
          <block type="math_number" id="q0h~w(}k7QH6q},^TQ`r">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="io_analogwrite" id="A%x_WWb.j@9iZse.dGd8">
            <field name="PIN">5</field>
            <value name="NUM">
              <block type="variables_get" id="[P|:7qsUy8;SY{yTAu*M">
                <field name="VAR">vitesse</field>
              </block>
            </value>
            <next>
              <block type="io_analogwrite" id="g3l2!PYEXQ!0!)Xd%q;+">
                <field name="PIN">6</field>
                <value name="NUM">
                  <block type="variables_get" id="3(YSJ*DkullqL.Ewj1._">
                    <field name="VAR">vitesse</field>
                  </block>
                </value>
                <next>
                  <block type="io_analogwrite" id="C%02+.~be5Z=+eEH1O]}">
                    <field name="PIN">9</field>
                    <value name="NUM">
                      <block type="math_number" id="OFym?cuYro+dC/2`W,t2">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="yn9a!V5B*xy]MPOX+v:p" x="-41" y="416">
    <field name="NAME">gauche</field>
    <comment pinned="false" h="80" w="160">Décrire cette fonction…</comment>
    <statement name="STACK">
      <block type="io_analogwrite" id="Vd(D02q_.!t}[]j5r]n5">
        <field name="PIN">3</field>
        <value name="NUM">
          <block type="variables_get" id="f~zCGQXI,oNxdBJ^qZT_">
            <field name="VAR">vitesse</field>
          </block>
        </value>
        <next>
          <block type="io_analogwrite" id="G1`y!1];}v4~[T*{De1q">
            <field name="PIN">5</field>
            <value name="NUM">
              <block type="math_number" id="6KcdZU1qTqb[2v{vV}(l">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="io_analogwrite" id="LT;4R5xdy4U([kq(B!M%">
                <field name="PIN">6</field>
                <value name="NUM">
                  <block type="math_number" id="^gM/[CA/kLSGCc2v~U~-">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="io_analogwrite" id="7u#li%!Gn|:c3/~xpzdZ">
                    <field name="PIN">9</field>
                    <value name="NUM">
                      <block type="variables_get" id="Dcs]9wV{I91|Q?c}wFi4">
                        <field name="VAR">vitesse</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="W;7l~Co(a8gUu[-zDw}A" x="-567" y="615">
    <field name="NAME">arreter</field>
    <comment pinned="false" h="80" w="160">Décrire cette fonction…</comment>
    <statement name="STACK">
      <block type="io_analogwrite" id="_Iht}22ld)iZp_Y%QZT6">
        <field name="PIN">3</field>
        <value name="NUM">
          <block type="math_number" id="N[NazLB60L=Ol8yZ%FM}">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="io_analogwrite" id="lmUK^*7+07+m45wT}Kl]">
            <field name="PIN">5</field>
            <value name="NUM">
              <block type="math_number" id=")u-!5p7BA25M52!z%:X/">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="io_analogwrite" id="JKBxPg@^+HV{n^^@%9?M">
                <field name="PIN">6</field>
                <value name="NUM">
                  <block type="math_number" id="|DMhkEsk|AA=5+}0J_hz">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="io_analogwrite" id="l@W.p`,@3Z]~s[=%.W-N">
                    <field name="PIN">9</field>
                    <value name="NUM">
                      <block type="math_number" id="[L(ecZACd~NGsqh/3x4}">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="gHn9Xu6JHkPP;Ar4n3#p" x="-40" y="588">
    <field name="NAME">reculer</field>
    <comment pinned="false" h="80" w="160">Décrire cette fonction…</comment>
    <statement name="STACK">
      <block type="io_analogwrite" id="niJ0t92-d,1]6,WIARDt">
        <field name="PIN">3</field>
        <value name="NUM">
          <block type="variables_get" id="byr@sq=Cjgu4v2i#0qDv">
            <field name="VAR">vitesse</field>
          </block>
        </value>
        <next>
          <block type="io_analogwrite" id="k=Ns23u+-`==I6)%]Sr]">
            <field name="PIN">5</field>
            <value name="NUM">
              <block type="math_number" id="uE4Q7lM?pm^)=7.:8uw2">
                <field name="NUM">0</field>
              </block>
            </value>
            <next>
              <block type="io_analogwrite" id="iQY.%#dn%!y4kfb/3`v~">
                <field name="PIN">6</field>
                <value name="NUM">
                  <block type="variables_get" id="K~V6vzU-w{vCGm?T][;5">
                    <field name="VAR">vitesse</field>
                  </block>
                </value>
                <next>
                  <block type="io_analogwrite" id="z@XS!JJB)-8!KeA2exS2">
                    <field name="PIN">9</field>
                    <value name="NUM">
                      <block type="math_number" id="nm0.6^k8,Z^R]XPzY:Rs">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="23Z]+(ONtVA=RF2.l^e0" x="-37" y="749">
    <field name="NAME">avancer</field>
    <comment pinned="false" h="80" w="160">Décrire cette fonction…</comment>
    <statement name="STACK">
      <block type="io_analogwrite" id="1Ky;oT8Q@?Y?jyJUgGT_">
        <field name="PIN">3</field>
        <value name="NUM">
          <block type="math_number" id="!,54!8E*Jca;14cVNb~u">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="io_analogwrite" id="LpZ_:0@TLuE*#B{D5vOl">
            <field name="PIN">5</field>
            <value name="NUM">
              <block type="variables_get" id="Cx1m%~!,W5bzA.SR5f{3">
                <field name="VAR">vitesse</field>
              </block>
            </value>
            <next>
              <block type="io_analogwrite" id="zv_uwp:k!}4Hcm-gYi}A">
                <field name="PIN">6</field>
                <value name="NUM">
                  <block type="math_number" id="w3o|M^N(HVe.=huE.Ew/">
                    <field name="NUM">0</field>
                  </block>
                </value>
                <next>
                  <block type="io_analogwrite" id="eh%I.0Se:HQ9.[[;olta">
                    <field name="PIN">9</field>
                    <value name="NUM">
                      <block type="variables_get" id="`k^_tE[PU,|{Y-9/YacA">
                        <field name="VAR">vitesse</field>
                      </block>
                    </value>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
</xml>