-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.blocks
1 lines (1 loc) · 5.04 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id=",@1]T37(iIm^n!rL~X-`">num</variable><variable id="^pzEd0OsLc]ZJEM!U)L/">num2</variable><variable id="i`|}UFQ7k+aL:f!jC/CN">num1</variable></variables><block type="pxt-on-start" id="8~D(,KP9tZoo0TNI]/lu" x="857" y="-18"><statement name="HANDLER"><block type="variables_set" id="z)W:t~8!:-@#@H)+9IFO"><field name="VAR" id="^pzEd0OsLc]ZJEM!U)L/">num2</field><value name="VALUE"><shadow type="math_number" id="rn]2(T3{54:=,x(MwAI+"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id="oFaK+Boy:tPO^AHDO8**"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field><value name="VALUE"><shadow type="math_number" id="xUQjXz{jV.u4wC8WUgx_"><field name="NUM">0</field></shadow></value></block></next></block></statement></block><block type="device_button_event" id=".,*xvm;vgg?FvG+cLRw]" x="518" y="0"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="variables_change" id="9P3TM7JZ^7^]6Xn;R{4P"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field><value name="VALUE"><shadow type="math_number" id="~Hh3npn+JXYRORe,fY6E"><field name="NUM">-1</field></shadow></value><next><block type="device_show_number" id="LBRTDK[vYs1{4qwODM(["><value name="number"><shadow type="math_number" id="({gSZx_^)@b2*ZVB)USi"><field name="NUM">0</field></shadow><block type="variables_get" id="{$|1xTApJ:)/3o^YWWTS"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field></block></value></block></next></block></statement></block><block type="device_button_event" id="3!$jywX3.%^mbvM,Wzl|" x="0" y="164"><field name="NAME">Button.AB</field><statement name="HANDLER"><block type="variables_set" id="$E.Q)?BBVVqVg~u0Xq|?"><field name="VAR" id="^pzEd0OsLc]ZJEM!U)L/">num2</field><value name="VALUE"><shadow type="math_number" id="XnI];uh=4k!!?J|IT`BU"><field name="NUM">0</field></shadow><block type="variables_get" id="psa|Tr(ikMdu1Py_),1o"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field></block></value></block></statement></block><block type="device_button_event" id="?F2)9AtP]/~/pPc~yx4(" x="288" y="152"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="variables_change" id="8K/|jNNYzFKq$,Dmc4KA"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field><value name="VALUE"><shadow type="math_number" id="bU#];m#sAa3+f|K43N/,"><field name="NUM">1</field></shadow></value><next><block type="device_show_number" id="o#s*%e)Lg_1nCz}]H_M`"><value name="number"><shadow type="math_number" id="t~akg!)ij,,5ml[tMia^"><field name="NUM">0</field></shadow><block type="variables_get" id="ugU[9q~yah%Mc*TT]kd`"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field></block></value></block></next></block></statement></block><block type="device_pin_event" id="TWK4eS%eYb$.FX,]5;a1" x="8" y="334"><field name="name">TouchPin.P0</field><statement name="HANDLER"><block type="device_print_message" id="{}]-RAgraw-ACwOf1_-{"><value name="text"><shadow type="text" id="F^)0p-/Bku1PPO3jq;58"><field name="TEXT">First #</field></shadow></value><next><block type="device_show_number" id="[s4d.$G:zbG!+,Lrtmp{"><value name="number"><block type="variables_get" id="8BtaT5VsQi$KCn=t:b%^"><field name="VAR" id="^pzEd0OsLc]ZJEM!U)L/">num2</field></block></value></block></next></block></statement></block><block type="device_pin_event" id="UfNpuR/U_+!)lY=~RniL" x="244" y="406"><field name="name">TouchPin.P1</field><statement name="HANDLER"><block type="device_print_message" id="(N,s}kpq@Pg|?D{bKl_}"><value name="text"><shadow type="text" id="-23bA?HlCHc*SRu.$Q~("><field name="TEXT">Second #</field></shadow></value><next><block type="device_show_number" id="3Se.5%Zp5^!xPVfM8w+f"><value name="number"><shadow type="math_number" id="2K$#mzVqJRL!9eoCzqye"><field name="NUM">0</field></shadow><block type="variables_get" id="lV:|`ezu$q19xM!GT{l)"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field></block></value></block></next></block></statement></block><block type="device_pin_event" id="6hb~Hd0PKi3HYDNgepY{" x="690" y="415"><field name="name">TouchPin.P2</field><statement name="HANDLER"><block type="device_print_message" id="X7BbO6|2!M=BL#uh8qy9"><value name="text"><shadow type="text" id="nH%=k+fS^eO#;Wa@i%YC"><field name="TEXT">Second #:</field></shadow></value><next><block type="device_show_number" id="O}5@kUk]N[%E.)An1e$Q"><value name="number"><shadow type="math_number" id="($I_xi5^hz8Un0(S:bSj"><field name="NUM">0</field></shadow><block type="variables_get" id="}Ln`4)ND@*Nk?ZeFH.Ry"><field name="VAR" id="i`|}UFQ7k+aL:f!jC/CN">num1</field></block></value><next><block type="device_print_message" id="}7Y%Fw?IX!QGy:5qLGeH"><value name="text"><shadow type="text" id=",-5`oW_.l2~#2hWTLJQh"><field name="TEXT">First #:</field></shadow></value><next><block type="device_show_number" id="ynvYs:`S?Ii{oc$}2;c["><value name="number"><shadow type="math_number" id="3~mxheXSLTN/OQ|prK-,"><field name="NUM">0</field></shadow><block type="variables_get" id=",5h{9Ekzc2F_Nis;S}FR"><field name="VAR" id="^pzEd0OsLc]ZJEM!U)L/">num2</field></block></value></block></next></block></next></block></next></block></statement></block></xml>