<xml xmlns="http://www.w3.org/1999/xhtml"><blockly picaxe="28X1" version="1.4.0" pinNames="" customToolbox="false"/><block type="picaxe_control_start" deletable="false" x="38" y="38"><next><block type="picaxe_variables_set"><field name="NAME">Compteur</field><value name="VALUE"><block type="picaxe_vals_val"><field name="VALUE">0</field></block></value><next><block type="picaxe_serial_lcdcmd"><field name="CODETAG">254, 1</field><field name="PIN">B.6</field><next><block type="picaxe_loops_forever"><statement name="NAME"><block type="picaxe_input_ifpin"><field name="PIN">C.4</field><field name="STATE">1</field><statement name="THEN"><block type="picaxe_variables_set"><field name="NAME">Compteur</field><value name="VALUE"><block type="picaxe_vals_varop"><field name="OP">+</field><value name="VAR1"><block type="picaxe_vals_var"><field name="VAR">Compteur</field></block></value><value name="VAR2"><block type="picaxe_vals_val"><field name="VALUE">1</field></block></value></block></value><next><block type="picaxe_loops_repeat_pin"><field name="PIN">C.4</field><field name="STATE">0</field><statement name="REPEAT"><block type="picaxe_delays_pause"><value name="TIME"><block type="picaxe_vals_val"><field name="VALUE">1</field></block></value></block></statement></block></next></block></statement><next><block type="picaxe_serial_lcdcmd"><field name="CODETAG">254, 0x80</field><field name="PIN">B.6</field><next><block type="picaxe_serial_lcd"><field name="PIN">B.6</field><value name="VALUE"><block type="picaxe_vals_str"><field name="TEXT">Compteur = </field></block></value><next><block type="picaxe_serial_lcd"><field name="PIN">B.6</field><value name="VALUE"><block type="picaxe_vals_var"><field name="VAR">Compteur</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></xml>