<?xml version="1.0" encoding="UTF-8"?>
<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="^^]wgGSg(lV?36~^gzEB">temps</variable>
  </variables>
  <block type="setup" id="%?!!kTP79}=2Npgc,7(;" deletable="false" x="359" y="220">
    <statement name="SETUP_DO">
      <block type="variables_set" id="d1i{QU!3dVOSB*nQzgqU">
        <field name="VAR" id="^^]wgGSg(lV?36~^gzEB">temps</field>
        <value name="VALUE">
          <shadow type="math_number" id="$(VQ)^ycT?f-gbf?o|3b">
            <field name="NUM">1</field>
          </shadow>
        </value>
        <next>
          <block type="procedures_callnoreturn" id="F|nG-%Y*r|[QvfugOuFV">
            <mutation name="Afficher_temps"/>
          </block>
        </next>
      </block>
    </statement>
    <statement name="LOOP_DO">
      <block type="controls_if" id="IyinA9a$RH_wphn/Uqv5">
        <mutation else="1"/>
        <value name="IF0">
          <block type="logic_compare" id="Rthz#)E:Z12Ck3]7+9XO">
            <field name="OP">EQ</field>
            <value name="A">
              <block type="io_galaxia_readDigitalPin" id="zd,iZ5_@vLYL;Uro6SjY">
                <field name="PIN">P19</field>
              </block>
            </value>
            <value name="B">
              <block type="io_galaxia_digital_signal" id="9r+r,{nLChm~etWB+d4)">
                <field name="BOOL">HIGH</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="display_galaxia_led_set_colors" id="lf/l$e!EI[fN7,M5yO1o">
            <value name="RED">
              <shadow type="math_number" id="p:_Gr6L5CUkB/+@JW=$]">
                <field name="NUM">255</field>
              </shadow>
            </value>
            <value name="GREEN">
              <shadow type="math_number" id="=c9|ia]L.?B^O#qkRv6a">
                <field name="NUM">255</field>
              </shadow>
            </value>
            <value name="BLUE">
              <shadow type="math_number" id="3OTFL}$uA3:HmBS.Ha|P">
                <field name="NUM">255</field>
              </shadow>
            </value>
            <next>
              <block type="io_galaxia_pause" id="h#byD8DO)W9V2=+lZ8?r">
                <field name="UNIT">1</field>
                <value name="TIME">
                  <shadow type="math_number" id="jvhXz:bNRs.Xx!;!W5.o">
                    <field name="NUM">0</field>
                  </shadow>
                  <block type="variables_get" id="{/$S!%u#dzWF/^%c)n6]">
                    <field name="VAR" id="^^]wgGSg(lV?36~^gzEB">temps</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <statement name="ELSE">
          <block type="display_galaxia_led_set_colors" id="F_QZ;QQ#WA;DMH_ue|B]">
            <value name="RED">
              <shadow type="math_number" id="]V.k0xUI_gFrV$OvPm+1">
                <field name="NUM">0</field>
              </shadow>
            </value>
            <value name="GREEN">
              <shadow type="math_number" id="t2tQ`;.]cFSywkM2Ld;t">
                <field name="NUM">0</field>
              </shadow>
            </value>
            <value name="BLUE">
              <shadow type="math_number" id="66~1d!tD4H;X_fk,U,Jj">
                <field name="NUM">0</field>
              </shadow>
            </value>
          </block>
        </statement>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="v4d!GGe2PGff|$Y6cc:E" x="1068" y="194">
    <mutation name="Afficher_temps"/>
    <field name="NAME">Afficher_temps</field>
    <statement name="STACK">
      <block type="display_galaxia_clear" id="qsvubC8lEvv.vwLl!x0b">
        <next>
          <block type="display_galaxia_show" id="FS@.~)3wb)^8/s:@XSUZ">
            <value name="VALUE">
              <shadow type="text">
                <field name="TEXT"/>
              </shadow>
              <block type="text_join" id="!4_zL-t*{K;!5A%/(?Fp">
                <mutation items="2"/>
                <value name="ADD0">
                  <block type="text" id="yFimQ0?pPjS%Dx,6z)W*">
                    <field name="TEXT">temps : </field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="variables_get" id="zC011#Xm9gE^kvV{KP90">
                    <field name="VAR" id="^^]wgGSg(lV?36~^gzEB">temps</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="io_onButtonEvent" id="tc$J|?R/]#~F$!DfIZh:" x="1064" y="438">
    <field name="BUTTON">a</field>
    <statement name="DO">
      <block type="variables_increment" id="iDXl~Q0lp8}eNJ]HGp*Q">
        <field name="VAR" id="^^]wgGSg(lV?36~^gzEB">temps</field>
        <value name="DELTA">
          <shadow type="math_number" id="ZEczqdBX1H8P~hT=~?%t">
            <field name="NUM">1</field>
          </shadow>
        </value>
        <next>
          <block type="procedures_callnoreturn" id=":b|W`e!Cien]2l(RwKZo">
            <mutation name="Afficher_temps"/>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="io_onButtonEvent" id="^gr)=7?$9D?_UZIrMb7q" x="1065" y="680">
    <field name="BUTTON">b</field>
    <statement name="DO">
      <block type="controls_if" id="!:n?Gc|jd|{=)3xvh!L;">
        <value name="IF0">
          <block type="logic_compare" id="Z2TGUpK-mp.1nw?;;l*C">
            <field name="OP">GT</field>
            <value name="A">
              <block type="variables_get" id="ul0^}QbV;9`sl)%Z3,(_">
                <field name="VAR" id="^^]wgGSg(lV?36~^gzEB">temps</field>
              </block>
            </value>
            <value name="B">
              <block type="math_number" id="l$L!#9M_Shu/SrN-NfIo">
                <field name="NUM">1</field>
              </block>
            </value>
          </block>
        </value>
        <statement name="DO0">
          <block type="variables_increment" id="`G9E#G}rqw8LyDB8oF!-">
            <field name="VAR" id="^^]wgGSg(lV?36~^gzEB">temps</field>
            <value name="DELTA">
              <shadow type="math_number" id="*:(uhmib;Y!Yyv.kBV|;">
                <field name="NUM">-1</field>
              </shadow>
            </value>
            <next>
              <block type="procedures_callnoreturn" id="N_(@$S%Ve:8GkUk.X~#L">
                <mutation name="Afficher_temps"/>
              </block>
            </next>
          </block>
        </statement>
      </block>
    </statement>
  </block>
</xml>