<export xmlns="http://de.fhg.iais.roberta.blockly"><program><block_set xmlns="http://de.fhg.iais.roberta.blockly" robottype="calliope" xmlversion="2.0" description="" tags=""><instance x="236" y="-312"><block type="robControls_start" id="t0YW1OdtROF5HMHIEA?i" intask="true" deletable="false"><mutation declare="true"></mutation><field name="DEBUG"></field><statement name="ST"><block type="robGlobalVariables_declare" id="_sjGSP`Bi[}tx2_u1PBd" intask="true" deletable="false" movable="false"><mutation next="false" declaration_type="Number"></mutation><field name="VAR">amount</field><field name="TYPE">Number</field><value name="VALUE"><block type="math_number" id="x/Do)Q(*MGqPRgFUAa0h" intask="true"><field name="NUM">0</field></block></value></block></statement></block><block type="robControls_loopForever" id=".zf=fI=5b02Jo?@irKa_" intask="true"><statement name="DO"><block type="robControls_if" id="Da`|2lJ`G06zPl?cqR.:" intask="true"><mutation elseif="2"></mutation><repetitions><value name="IF0"><block type="logic_operation" id="3^p@4qHeY!G@(hrcUP(V" intask="true"><field name="OP">AND</field><value name="A"><block type="robSensors_key_getSample" id="aNwZ5q.:#mLrs!%*RKur" intask="true"><mutation mode="PRESSED"></mutation><field name="MODE">PRESSED</field><field name="SENSORPORT">button_a</field><field name="SLOT"></field></block></value><value name="B"><block type="robSensors_key_getSample" id="TZ}yrZR2^gvYY2)a`l]{" intask="true"><mutation mode="PRESSED"></mutation><field name="MODE">PRESSED</field><field name="SENSORPORT">button_b</field><field name="SLOT"></field></block></value></block></value><statement name="DO0"><block type="text_comment" id="x+(?*lGIA{`BhJ2gL{4V" intask="true"><field name="TEXT">Press both keys simultaneously to reset</field></block><block type="variables_set" id="+k^;u+O-iP%QX%{quMi^" intask="true"><mutation datatype="Number"></mutation><field name="VAR">amount</field><value name="VALUE"><block type="math_number" id="4^QPQt6UX,Hw0ataya#i" intask="true"><field name="NUM">0</field></block></value></block></statement><value name="IF1"><block type="robSensors_key_getSample" id="r-1m7ad*}Q5WD!e4K3]7" intask="true"><mutation mode="PRESSED"></mutation><field name="MODE">PRESSED</field><field name="SENSORPORT">button_a</field><field name="SLOT"></field></block></value><statement name="DO1"><block type="text_comment" id="cN*e!N+C)x|@Z?Kxf2bT" intask="true"><field name="TEXT">add one to amount</field></block><block type="mbedActions_leds_on" id="WfNQLAS1YI,]]8M1Fmf^" intask="true"><value name="COLOR"><block type="mbedColour_picker" id="Y~P]KbCh`;kOppuju=w7" intask="true"><field name="COLOUR">#ff0000</field></block></value></block><block type="mbedControls_wait_for" id="+:9TzpFjQciz-Ws3cnBW" intask="true"><value name="WAIT0"><block type="logic_compare" id="FQ??/0a|jG[,1*_T|}(c" intask="true"><field name="OP">EQ</field><value name="A"><block type="robSensors_getSample" id="|g)CFJUFiollu-%f(KN." intask="true"><mutation input="KEY_PRESSED"></mutation><field name="SENSORTYPE">KEY_PRESSED</field><field name="SENSORPORT">button_a</field><field name="SLOT"></field></block></value><value name="B"><block type="logic_boolean" id="orBEd;oj{][(vQ.O5|d4" intask="true"><field name="BOOL">TRUE</field></block></value></block></value></block><block type="mbedActions_leds_off" id="HBeTAY/k.kekk{1}c~]-" intask="true"></block><block type="variables_set" id="NZjmG2:+*Z]g/UnMZnQL" intask="true"><mutation datatype="Number"></mutation><field name="VAR">amount</field><value name="VALUE"><block type="math_arithmetic" id="O1j/i#~3jlsQo]s+{.W?" intask="true"><field name="OP">ADD</field><value name="A"><block type="variables_get" id="0K152QoEy.](*|.cz@9~" intask="true"><mutation datatype="Number"></mutation><field name="VAR">amount</field></block></value><value name="B"><block type="math_number" id="t:3r]3mmg5hJ~%*+NYF^" intask="true"><field name="NUM">1</field></block></value></block></value></block></statement><value name="IF2"><block type="robSensors_key_getSample" id="YVvNb)u=PNF/5TFw/m;%" intask="true"><mutation mode="PRESSED"></mutation><field name="MODE">PRESSED</field><field name="SENSORPORT">button_b</field><field name="SLOT"></field></block></value><statement name="DO2"><block type="text_comment" id="puwFa_fg4-IpKgU{6}6t" intask="true"><field name="TEXT">display amount</field></block><block type="mbedActions_display_text" id="vtU}Y~ypd-u=4NijAs|y" intask="true"><field name="TYPE">TEXT</field><value name="OUT"><block type="variables_get" id="2(?sQ{YFzwn{8}}E/ZcN" intask="true"><mutation datatype="Number"></mutation><field name="VAR">amount</field></block></value></block></statement></repetitions></block></statement></block></instance></block_set></program><config><block_set xmlns="http://de.fhg.iais.roberta.blockly" robottype="calliope" xmlversion="2.0" description="" tags=""><instance x="138" y="88"><block type="mbedBrick_Calliope-Brick" id="1" intask="true"></block></instance></block_set></config></export>