<xml xmlns="http://www.w3.org/1999/xhtml"><blockly picaxe="28X2" version="1.3.4" pinNames="B.0:Lumiere_Cuisine|B.1:Lumiere_Sanitaires|B.2:LED_Sanitaires|B.3:Lumiere_Salon_1|B.4:Lumiere_Salon_2|B.5:Lumiere_Entree|C.0:BP_Cuisine|C.1:BP_Sanitaires|C.2:BP_Salon_1|C.3:BP_Salon_2|C.4:BP_Entree|C.5:Detection_PIR|C.6:Recepteur_IR|A.0:Capteur_Lumiere" customToolbox="true"/><block type="picaxe_control_start" deletable="false" x="38" y="38"><next><block type="picaxe_loops_forever"><statement name="NAME"><block type="picaxe_input_ifpinelse"><field name="PIN">C.5</field><field name="STATE">1</field><statement name="THEN"><block type="picaxe_output_outputon"><field name="PIN">B.3</field><field name="VALUE">1</field></block></statement><statement name="ELSE"><block type="picaxe_output_outputon"><field name="PIN">B.3</field><field name="VALUE">0</field></block></statement></block></statement></block></next></block><toolbox><xml id="toolbox">

  <!-- CUSTOM ITEMS -->

  <category id="cat00" name="LU_N1_B" description="LU_N1_B" colour="#000000">
    <!-- OUTPUT : TURN OUTPUT [PIN] [ON/OFF] -->
    <block type="picaxe_output_outputon" description="Output On" pinField="true"/>
    <!-- OUTPUT : TOGGLE [PIN] -->
    <block type="picaxe_output_toggle" description="Toggle" pinField="true"/>
    <!-- INPUT : IF [PIN] IS [ON/OFF] THEN [STAT] ELSE [STAT] -->
    <block type="picaxe_input_ifpinelse" description="If Pin Else" pinField="true"/>
    <!-- DELAYS : PAUSE FOR [CV] MS -->
    <block type="picaxe_delays_pause" description="Pause">
      <value name="TIME">
        <block type="picaxe_vals_val">
          <field name="VALUE">500</field>
        </block>
      </value>
    </block>
    <!-- LOOPS : FOREVER DO [STAT] -->
    <block type="picaxe_loops_forever" description="Forever Do"/>
    <!-- LOOPS : WHILE [PIN] IS [ON/OFF] DO [STAT] -->
    <block type="picaxe_loops_while_pin" description="While Pin" pinField="true"/>
  </category>

</xml>

</toolbox></xml>