<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="false"/><block type="picaxe_control_start" deletable="false" x="263" y="138"><next><block type="picaxe_serial_hsersetup"><field name="BAUD">B9600_8</field><field name="INVERT">FALSE</field><next><block type="picaxe_loops_forever"><statement name="NAME"><block type="picaxe_serial_debug"><next><block type="picaxe_serial_hserin"><field name="NAME">consigne</field><next><block type="picaxe_flow_mutator_if"><field name="OP0">=</field><value name="VAR10"><block type="picaxe_vals_var"><field name="VAR">consigne</field></block></value><value name="VAR20"><block type="picaxe_vals_val"><field name="VALUE">1</field></block></value><statement name="THEN0"><block type="picaxe_input_ifpinelse"><field name="PIN">B.5</field><field name="STATE">1</field><statement name="THEN"><block type="picaxe_output_outputon"><field name="PIN">B.5</field><field name="VALUE">0</field></block></statement><statement name="ELSE"><block type="picaxe_output_outputon"><field name="PIN">B.5</field><field name="VALUE">1</field></block></statement><next><block type="picaxe_variables_set"><field name="NAME">consigne</field><value name="VALUE"><block type="picaxe_vals_val"><field name="VALUE">0</field></block></value></block></next></block></statement></block></next></block></next></block></statement></block></next></block></next></block></xml>