-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 5.14 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 5.14 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="3{,MsD_vL4r:2B[uat{,">time</variable></variables><block type="pxt-on-start" id="tnXM#RWx#x5K;j{eW=Ca" x="20" y="20"><statement name="HANDLER"><block type="variables_set" id="v!K+}($%oU,_VusL0|}0"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field><value name="VALUE"><shadow type="math_number" id="P}T_0(eptn/O~4%zM;G3"><field name="NUM">0</field></shadow></value><next><block type="device_show_number" id="B/xz/.v7{qg8vd9bnRHO"><value name="number"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="7EV4Bb*`A_XX[TzHbH:C"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field></block></value></block></next></block></statement></block><block type="device_button_event" id="un@,@?/)b{7/sr;)PM~p" x="608" y="28"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="device_while" id="h!]eij;j/YPw2(*(Yr5g"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">FALSE</field></shadow><block type="logic_compare" id=";9fK/v#mpw-M_)n]dGg;"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="s$UDyUh$pNsP?M.y4FJY"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field></block></value><value name="B"><shadow type="math_number" id="1Ta:AZM|Rv;%o%wYu{Yu"><field name="NUM">0</field></shadow></value></block></value><statement name="DO"><block type="device_pause" id="BOxRcN7i=]Ef.8rP,XPC"><value name="pause"><shadow type="timePicker" id="$A)Z!s@q*@59%|,,6b`z"><field name="ms">60000</field></shadow></value><next><block type="variables_change" id="3lQVA8m!J)g+x18,w,sQ"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field><value name="VALUE"><shadow type="math_number" id="=:VaRUuk*l/zswPqQ-o)"><field name="NUM">-1</field></shadow></value><next><block type="device_show_number" id="dsolmrIN*63]+X#%A;Fu"><value name="number"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="F}^x!BK3J{z~4Pw3u|Cq"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field></block></value></block></next></block></next></block></statement><next><block type="controls_repeat_ext" id="6wNV$DMApw3XGRo5=O[j"><value name="TIMES"><shadow type="math_whole_number" id="-TA)yHt;W8]j^b%*$16g"><field name="NUM">10</field></shadow></value><statement name="DO"><block type="basic_show_icon" id="PLfg*]|z{-Qn7T[nR(wj"><field name="i">IconNames.Yes</field><next><block type="device_pause" id="37^:7H^5#W7)W=AVM$D."><value name="pause"><shadow type="timePicker" id="TFWnw49{}Qvqm%UedrLX"><field name="ms">500</field></shadow></value><next><block type="device_clear_display" id="xLV#pB$FB/44LV{Bw+K4"><next><block type="device_pause" id="nott`h:fr2T_=et7D!_C"><value name="pause"><shadow type="timePicker" id=")XP.Of;?h6-8B+yB[a]?"><field name="ms">500</field></shadow></value></block></next></block></next></block></next></block></statement></block></next></block></statement></block><block type="device_button_event" id="?rip.nLLHq=qq_dE)rN`" x="24" y="236"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="variables_change" id="S#rwLl:hGD%.UV[W$@]d"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field><value name="VALUE"><shadow type="math_number" id="Gp3X{{`xJh*z+S?BAT/L"><field name="NUM">1</field></shadow></value><next><block type="controls_if" id="jc?7%HIe;5`7Z4D#fq7a"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="P`x-z=Bo@V)M)Lt%9Q|^"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="[gAi$HzaV+}+LZ*xuMn-"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field></block></value><value name="B"><shadow type="math_number" id="{Hjm@=L$~*|3!$5ndU3r"><field name="NUM">9</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="q)|Sv_Fl]baZP1cCG4Kp"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field><value name="VALUE"><shadow type="math_number" id="eYjXU,T1B@a)tW-$7oVi"><field name="NUM">0</field></shadow></value></block></statement><next><block type="device_show_number" id="V*CMaJSEFk#fmW6:Ya*j"><value name="number"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="UmD+d).}L|Y]BzKbE%qr"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field></block></value></block></next></block></next></block></statement></block><block type="device_gesture_event" id="zuU/7=8imClIMb$mKJZy" x="38" y="581"><field name="NAME">Gesture.Shake</field><statement name="HANDLER"><block type="variables_set" id="VpQ|uYdDYgjggzW{%t+4"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field><value name="VALUE"><shadow type="math_number" id="TQwOJPM50PM7cT7zr@-5"><field name="NUM">0</field></shadow></value><next><block type="device_show_number" id="s=kn/OuZ$E?96KXL@3E4"><value name="number"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="hx)[Dr;yOFuz.4l/+?;O"><field name="VAR" id="3{,MsD_vL4r:2B[uat{,">time</field></block></value></block></next></block></statement></block></xml>