Files
Binary-Light-Box/main.blocks

1 line
33 KiB
Plaintext

<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="KqM-O;(5Eey]8CGNj0CX">Denary</variable><variable id="*Fp/~{bTIq0|PpD}|S%3">item</variable><variable id="=o.5w@iU.GC$6):Fl!pZ">columns</variable><variable id="x%fFR|$FR(KcK?UVB}e$">columnValues</variable><variable id="3UR[B-ZGWKnU8a*--zrK">item2</variable><variable id="e?Dbq5dF**Mn?(U;YC8C">sensePins</variable><variable id="DlGJ8/H;#k}vw?K{;t)Y">ready</variable></variables><block type="pxt-on-start" id="b~hv:X=:Hy2KGpl/M_PO" x="20" y="20"><statement name="HANDLER"><block type="serial_redirect" id="b*nWDDANt)veZ]]cRqth"><field name="tx">SerialPin.P0</field><field name="rx">SerialPin.P16</field><field name="rate">BaudRate.BaudRate9600</field><next><block type="variables_set" id="8L[5kU(/g|n@=$|=Y2#1"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="Tpc*dS#)XX)@F.p_e3!3" inline="false"><mutation items="9"/><value name="ADD0"><shadow type="logic_boolean" id="r`GZX|-bfDk.!HNDt!$4"><field name="BOOL">FALSE</field></shadow></value><value name="ADD1"><shadow type="logic_boolean" id="Om|=zI4wLo]K=haua%r_"><field name="BOOL">FALSE</field></shadow></value><value name="ADD2"><shadow type="logic_boolean" id="q/.^(rg!1b]}$=9kV|EX"><field name="BOOL">FALSE</field></shadow></value><value name="ADD3"><shadow type="logic_boolean" id=",I_R?D/9L[!;Tv5=9LLo"><field name="BOOL">FALSE</field></shadow></value><value name="ADD4"><shadow type="logic_boolean" id="RYHrp:dCDUg-9H`A^`u:"><field name="BOOL">FALSE</field></shadow></value><value name="ADD5"><shadow type="logic_boolean" id="ISxoxeKzCx?6uRrwyy)T"><field name="BOOL">FALSE</field></shadow></value><value name="ADD6"><shadow type="logic_boolean" id="HY*;S=:#PQzRat1m9kU4"><field name="BOOL">FALSE</field></shadow></value><value name="ADD7"><shadow type="logic_boolean" id="_ds7xT|Tr$]~hA5P8w[."><field name="BOOL">FALSE</field></shadow></value><value name="ADD8"><shadow type="logic_boolean" id="}e+4EW)-kXv3WMxdMWJg"><field name="BOOL">FALSE</field></shadow></value></block></value><next><block type="variables_set" id="rj.]VSiMEh21t9Qj-2MV"><field name="VAR" id="=o.5w@iU.GC$6):Fl!pZ">columns</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="xaYh((cwKLId*sC2r0q@" inline="false"><mutation items="9"/><value name="ADD0"><shadow type="logic_boolean" id="Oi5a-lkW]3LP80CdhTnC"><field name="BOOL">FALSE</field></shadow></value><value name="ADD1"><shadow type="logic_boolean" id="gXft]ttR;M`|lC?*E|2w"><field name="BOOL">FALSE</field></shadow></value><value name="ADD2"><shadow type="logic_boolean" id="}l;CE7/o,zlyx7A43Ctv"><field name="BOOL">FALSE</field></shadow></value><value name="ADD3"><shadow type="logic_boolean" id="ujx1_R|e%-pCu1%qt^+n"><field name="BOOL">FALSE</field></shadow></value><value name="ADD4"><shadow type="logic_boolean" id="O~M_B$;?#0Eo6~hqWX2-"><field name="BOOL">FALSE</field></shadow></value><value name="ADD5"><shadow type="logic_boolean" id="}*QvB^O9@jvUoEmV$Oy1"><field name="BOOL">FALSE</field></shadow></value><value name="ADD6"><shadow type="logic_boolean" id="^_I0a?!GoZFFbQO1R_i{"><field name="BOOL">FALSE</field></shadow></value><value name="ADD7"><shadow type="logic_boolean" id=":_536hu^J=W/#lRmgvjf"><field name="BOOL">FALSE</field></shadow></value><value name="ADD8"><shadow type="logic_boolean" id="z9ev-.L@,U9QJj/Wc5*R"><field name="BOOL">FALSE</field></shadow></value></block></value><next><block type="variables_set" id="u`JfuZ}hlK5HKzOZm-Gv"><field name="VAR" id="x%fFR|$FR(KcK?UVB}e$">columnValues</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_create_with" id="mpUTbkC6;=f._%P.^hTQ" inline="false"><mutation items="9"/><value name="ADD0"><shadow type="math_number" id=":I53UDFv8$q@yg(7h/ka"><field name="NUM">1</field></shadow></value><value name="ADD1"><shadow type="math_number" id="3F6[#O*1NjK{i#Jkaw-H"><field name="NUM">2</field></shadow></value><value name="ADD2"><shadow type="math_number" id="m,|`v-0nZ@),;(xJz[7u"><field name="NUM">4</field></shadow></value><value name="ADD3"><shadow type="math_number" id="~-Z6Si^e$c*:E*{vtw%~"><field name="NUM">8</field></shadow></value><value name="ADD4"><shadow type="math_number" id="hhVBDIqlLuW#0dQreqQg"><field name="NUM">16</field></shadow></value><value name="ADD5"><shadow type="math_number" id="H/IAw~}5E#C=S]ANKv|A"><field name="NUM">32</field></shadow></value><value name="ADD6"><shadow type="math_number" id="glfz|nm,/FGQBFQbEM/Q"><field name="NUM">64</field></shadow></value><value name="ADD7"><shadow type="math_number" id="ZA7Ir8Jgs[gjbI77Ndj5"><field name="NUM">128</field></shadow></value><value name="ADD8"><shadow type="math_number" id="@pE}mhvKAD;ocWHcS-y%"><field name="NUM">256</field></shadow></value></block></value><next><block type="variables_set" id="j)YN)r!Y:-8X#9+6ZgL)"><field name="VAR" id="KqM-O;(5Eey]8CGNj0CX">Denary</field><value name="VALUE"><shadow type="math_number" id="NIs)+;]ofj=u%fpvrH1b"><field name="NUM">0</field></shadow></value><next><block type="function_call" id="Gi5dN5AT_B?Q]i?(]0q["><mutation name="updateDisplay" functionid="r$,rrb$m|qq/Pj)[Iz3P"><arg name="number" id="w8osyn62jmiqvhztrr4iu" type="number"/></mutation><value name="w8osyn62jmiqvhztrr4iu"><shadow type="math_number" id="({M^QElD0j}O?6s.04mn"><field name="NUM">1</field></shadow><block type="variables_get" id="JIz#jSkRK/`Hg1bIt_7j"><field name="VAR" id="KqM-O;(5Eey]8CGNj0CX">Denary</field></block></value><next><block type="variables_set" id="(WVgKlTKwEcp:~lW]bGL"><field name="VAR" id="DlGJ8/H;#k}vw?K{;t)Y">ready</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="logic_boolean" id="u@:VUQh4L^)I-l6HBCjA"><field name="BOOL">TRUE</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="POPGW(Ftj)Nt,m?}d!FT" x="442" y="20"><mutation name="updateNumber" functionid="!hkuPHERc#^4Vtlf0aMb"/><field name="function_name">updateNumber</field><statement name="STACK"><block type="variables_set" id="9dX|{d90QRhOOY4,^X_?"><field name="VAR" id="KqM-O;(5Eey]8CGNj0CX">Denary</field><value name="VALUE"><shadow type="math_number" id="zfQ8zRih9/T?N4zVon]r"><field name="NUM">0</field></shadow></value><next><block type="pxt_controls_for" id="p9l/CZ5i@UctvNrKF`-O"><value name="VAR"><shadow type="variables_get_reporter" id="`;3xS(ITj9.9KDg]=dZu"><field name="VAR" id="*Fp/~{bTIq0|PpD}|S%3">item</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="af3N]Xt6]$t5nl@HyVuO"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="V{*|^lP@$d[lZ]2B!4uK"><value name="VALUE"><block type="variables_get" id="dM1Y_:W;Z9z3;5@AZg[:"><field name="VAR" id="=o.5w@iU.GC$6):Fl!pZ">columns</field></block></value></block></value><value name="B"><shadow type="math_number" id="RD*mgbDIpD4f]D?aDHR_"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="controls_if" id="LHmz1ziX7$Ip=RBmRl16"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="lists_index_get" id="yiXb?e5pohla5eEtsofS"><value name="LIST"><block type="variables_get" id="nc1)R-ePrt5-^%zFB[jO"><field name="VAR" id="=o.5w@iU.GC$6):Fl!pZ">columns</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="ogmOG{arXZ/EIjn5oTIH"><field name="VAR" id="*Fp/~{bTIq0|PpD}|S%3">item</field></block></value></block></value><statement name="DO0"><block type="variables_change" id="k/(P!$r}(kj1|ET.HsaF"><field name="VAR" id="KqM-O;(5Eey]8CGNj0CX">Denary</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_index_get" id="]y+3Tnw6Qouw8H0vAJvA"><value name="LIST"><block type="variables_get" id="8)Di#F:SnpjNF/9nl[CI"><field name="VAR" id="x%fFR|$FR(KcK?UVB}e$">columnValues</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="4Y3Q.PD:}OpLg%fN}!:~"><field name="VAR" id="*Fp/~{bTIq0|PpD}|S%3">item</field></block></value></block></value></block></statement></block></statement><next><block type="function_call" id="U/#6?ZwcA-R]@3^xsNnt"><mutation name="updateDisplay" functionid="r$,rrb$m|qq/Pj)[Iz3P"><arg name="number" id="w8osyn62jmiqvhztrr4iu" type="number"/></mutation><value name="w8osyn62jmiqvhztrr4iu"><shadow type="math_number" id="JH{rm!zhZ,P;g{Kn_Tl."><field name="NUM">1</field></shadow><block type="variables_get" id="9nc4VO20C1q_+Fog6i2E"><field name="VAR" id="KqM-O;(5Eey]8CGNj0CX">Denary</field></block></value></block></next></block></next></block></statement></block><block type="function_definition" id="POyf/s)6cm;8#J)%cQsr" x="1245" y="20"><mutation name="updateColumn" functionid="2xvY6+H-%3yH80B#4$zO"/><field name="function_name">updateColumn</field><statement name="STACK"><block type="pxt_controls_for" id="Wj3=drFfJ0U,zxQ]Op-R"><value name="VAR"><shadow type="variables_get_reporter" id="k|z)H9nJGqgQ8B)Z186:"><field name="VAR" id="3UR[B-ZGWKnU8a*--zrK">item2</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id=",L3@~,8v}7#aP8fMUqj2"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="lists_length" id="tP6EX-yfS#?ex78/;}2w"><value name="VALUE"><block type="variables_get" id="J-KO#6U-#wuMt_^@VWK/"><field name="VAR" id="=o.5w@iU.GC$6):Fl!pZ">columns</field></block></value></block></value><value name="B"><shadow type="math_number" id="$ON8XXd4US1npQ6xvLQo"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="function_call" id="jVmC~rWdeE6Q?Pa-Ewhy"><mutation name="updateFlag" functionid=":#2aBO%-]YwR^(SI`+fT"><arg name="column" id="e2mwu2mkv6pg8vldpfmy4h" type="number"/><arg name="flag" id="zcgnxr4929u7flqxqft6" type="boolean"/></mutation><value name="e2mwu2mkv6pg8vldpfmy4h"><shadow type="math_number" id="$7J7mFlzfY4SIWA5{ixI"><field name="NUM">1</field></shadow><block type="variables_get" id="AqrK@aknnnHyox%Tho@h"><field name="VAR" id="3UR[B-ZGWKnU8a*--zrK">item2</field></block></value><value name="zcgnxr4929u7flqxqft6"><shadow type="logic_boolean" id=".O6Lvq|:$EG]KAI68#Z}"><field name="BOOL">TRUE</field></shadow><block type="lists_index_get" id="zBG#]W@4LBe3NJ7PXvM)"><value name="LIST"><block type="variables_get" id="eq;^N,}hS0I!y?BjqTxK"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="4$Elu3SFU.{9R1)9h9o?"><field name="VAR" id="3UR[B-ZGWKnU8a*--zrK">item2</field></block></value></block></value></block></statement></block></statement></block><block type="function_definition" id="VKU4Zs9w4IHjMDwAj#gv" x="2012" y="20"><mutation name="switchSensors" functionid="-,AVe@};i]}B;9h4]O#l"/><field name="function_name">switchSensors</field><statement name="STACK"><block type="controls_if" id="y3iRQp:PEAyd.y1GfPtY"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="$5`m2*d9*OXhO.X;Nrb."><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="O_h8Rqd;x5z!Bv0QEK=_"><field name="name">DigitalPin.P1</field></block></value><value name="B"><shadow type="math_number" id="z*y#kQTa;=R`fUGAeykJ"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="A9jB[@S!kywNgU:,Ee-P"><value name="LIST"><block type="variables_get" id="Hp0P$w`S2bS[f,Z]tgk{"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="x8IBE@evWOD8S5g-2$$z"><field name="NUM">0</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="/@j/+.^XSvfIKYgT893K"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="qd!Y_eFM$(V[ab9#2th`"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="RFehRYc.rPM_OAYJZ$+7"><field name="name">DigitalPin.P1</field></block></value><value name="B"><shadow type="math_number" id=",#yxod#TNX9./,T{cXgh"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="U|;XVp`za1PXyrBk[YZz"><value name="LIST"><block type="variables_get" id="?g8C8p%V[DR*NIcCGT5^"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="{t#_?`!vst=Z}+/5cqc@"><field name="NUM">0</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="#?BgtnYU9S{-+R%SSl$k"><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id=":@8jf)$DsQQ5Bb{Y835]"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="+?l]Y=DA.AB?+98!76wv"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="zM5ER[cqs2LU;LfQN`Fc"><field name="name">DigitalPin.P2</field></block></value><value name="B"><shadow type="math_number" id="TXDe0D1%-6Np|W}aK.s."><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="K1|OOfB7Dc!ZNsnEUO0?"><value name="LIST"><block type="variables_get" id="V_G:FD*[SQCt(=E![)XN"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="E7Qvq{8cFl.Y2~bErLAE"><field name="NUM">1</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="^!q6h3fb*8Yo`.NvS;Ag"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="k];CXZy{!X-mOZwb/IO?"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="l3_R2z1|we7sU%G;Rl]E"><field name="name">DigitalPin.P2</field></block></value><value name="B"><shadow type="math_number" id="yu8KCknuQsN/N7+Ez~zs"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="%]5tdQ$parSYtuAc}A8F"><value name="LIST"><block type="variables_get" id="PX(P|F5l$P]z`nm!:q:."><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="OK!kp3[e3os6`FLoXbM?"><field name="NUM">1</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="D.TyT8VwhrMjBgheD+[C"><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id="/%Vl`D;kBvB/H5)o@UX,"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="5I`ISh?ltU)ZKCY@PXHg"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="(~gC_%:yUf{?g?KQ4(4;"><field name="name">DigitalPin.P3</field></block></value><value name="B"><shadow type="math_number" id="qq/##~C8%p8oSfg_{lpN"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="%U/Wy$i9mRwvhLyR/bp)"><value name="LIST"><block type="variables_get" id="ZIORumOyBQakkY7hi[_X"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="K~([TayFsYwC36n?=sJ-"><field name="NUM">2</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="@KNIfyyb9@8l@~$/^dkJ"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="]mHss,;?I-{-p{Csbm/F"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id=")Y?_%ABL+`#_wTFsf3@,"><field name="name">DigitalPin.P3</field></block></value><value name="B"><shadow type="math_number" id="i3gYentp($cC[:#p9d?o"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="E~*LM?lX..5#Or+o.Kbc"><value name="LIST"><block type="variables_get" id="cvF)lsbn0B8fX;awsyj|"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="t0+8RF/q9wVzguh`Mce1"><field name="NUM">2</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="oVV!kVtQi2$XD1pQK#xP"><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id="ku@su]7S%INOnyTtU:rK"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=".Uo~v@%X)$QqM;bbN;V."><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="6=]bjGw_{`8n3sw;p,?%"><field name="name">DigitalPin.P4</field></block></value><value name="B"><shadow type="math_number" id="T_C=GnEmv020*v,8L})T"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="Kyd,JKP^/5ny}z-C;QLe"><value name="LIST"><block type="variables_get" id="2b(K^m]/J++B2m13B|}g"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="XN^JSBOn9TSUc%Z.qpQY"><field name="NUM">3</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="wH,dznKL53)IQTy}d88#"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="U[-9c.K1a!KGk-v~WgSY"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="JelPfY$I2EK06Oqm#f`S"><field name="name">DigitalPin.P4</field></block></value><value name="B"><shadow type="math_number" id="/z-:jXc^fsJ!Ir}EtZ(F"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="nrRX~OoG3Bj`{?wSz4rp"><value name="LIST"><block type="variables_get" id="2@|N-rB)Hfkba=PEAs,["><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="kC-fSa}hHqUE6`k)fZEV"><field name="NUM">3</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="t(~8v,NS_+I-RLg-/U=e"><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id="?j(cTPW|p@)%1WeZz1s("><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="P{Flpdc85UB`fs`!WvAT"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="FBVVWw6D]P#okrr/=OCt"><field name="name">DigitalPin.P6</field></block></value><value name="B"><shadow type="math_number" id="!p1d)V)#k}`,W#C%7I47"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="D6;4sj_|.@~u!fR$GC(a"><value name="LIST"><block type="variables_get" id="%AY5@R*?oo:Y*`x^C~F|"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="bgJP^v4E#Z#,qziMFR``"><field name="NUM">4</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="D6@1hpxiR{++$tqiy:_S"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="S?=S;s,#99%`td;|:VhJ"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="M6SYR}x6bl7Z3W_P|n~t"><field name="name">DigitalPin.P6</field></block></value><value name="B"><shadow type="math_number" id="OJ@TYtl}Wqp!6@,B[A}["><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="%nmu|[(,v;DPC4f+VuC)"><value name="LIST"><block type="variables_get" id="|c#fkCfUA]Z_fCUoX.XT"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id=":b6E}w:ei?=tOeRc$o}q"><field name="NUM">4</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="[wznI+B.M`~Q)a9XzD@j"><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id="z%7CU!!Grh{(PcaMQOg)"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="k(_T[id=OfHL]Qptm;Sl"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="6gXs4=G]U)AQ$e:`H-Zc"><field name="name">DigitalPin.P7</field></block></value><value name="B"><shadow type="math_number" id="4qU0.siL{i2W+j?,6;7+"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="p-[!B}ueX:7IONoEcM0R"><value name="LIST"><block type="variables_get" id="6Ft-ULy6}w=KIb_acZ*f"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="1pE8!2(fm9BFVfRuneKa"><field name="NUM">5</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="XHjPi0,O*?fkWLGM9Ne7"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="z-:OcC^NW!+d]50R|wd:"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="+M866R.D4RdUaZGF~,YW"><field name="name">DigitalPin.P7</field></block></value><value name="B"><shadow type="math_number" id="m0ruOy,lp63QQ?W#OL2v"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="v$(`f*QhgFEqgNk{CA-L"><value name="LIST"><block type="variables_get" id="2MAa1Oe}]2cg_VOX-YEY"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="G76^;FE#q.d^bo4.`^4%"><field name="NUM">5</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="/Zw@9`1J~2WjJH,S?:2P"><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id="seYOp8yKAgH;l(R=r[me"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=":U[Dum}Jd$-AaUT/;A7e"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="l#C|S8US$-vPcqvjjkP+"><field name="name">DigitalPin.P8</field></block></value><value name="B"><shadow type="math_number" id="yYJCj7%4*o*ZIu~90SL)"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="z2ymWZ8LYC?5E.Es3nYu"><value name="LIST"><block type="variables_get" id="BPziNH.W:*V1R@%Z1e9`"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="#=nhqQ3c{HXN2jp[wciW"><field name="NUM">6</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="s7@`cs5zh?[;D-/6d()_"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="$33(YiL*2zPYWqYD2gK-"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="0gp^$uW/np|k.J5%~`IF"><field name="name">DigitalPin.P8</field></block></value><value name="B"><shadow type="math_number" id="xr}X[:5L!~?sg#af%j10"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="U{.yE`P/|g$XSnr0YP@I"><value name="LIST"><block type="variables_get" id=";h+)n;780VF}8PB!S_.P"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="NG-Pm;+cw$P`Vix!/g0]"><field name="NUM">6</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="r_Mccn%O},a+1DSE8]?E"><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id="Z[(5AW`H_,F%e~6hkn[J"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="to7?P#^N,Gmk0ffj%f}Z"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="GTX[4?OJcNR~|[ALiuG_"><field name="name">DigitalPin.P9</field></block></value><value name="B"><shadow type="math_number" id="k|_J}R]E^o-L5v~qC.wx"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="X^r~[1!q8Cr*p?6cseOe"><value name="LIST"><block type="variables_get" id="77+F(mqQ!cgIsA{au.1K"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="Qoxw.L?*CbPfMka]j]1#"><field name="NUM">7</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id=":3QwT^6mN%=C,{BcRUyL"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="S0/3MJK-!QBiU9V:7!nX"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="DNCws{fd+_=ik~iKNIn@"><field name="name">DigitalPin.P9</field></block></value><value name="B"><shadow type="math_number" id="9u*oT$NAeIDe~,rydx:*"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="lP.HX{*vbOJcRFJiVM0+"><value name="LIST"><block type="variables_get" id="QLdyCdSCH=-X:%uvp(t."><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="brjvh.R%Q~|R4IV.L?Ji"><field name="NUM">7</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="wJg2i#J|MEj^{$sfcw!("><field name="BOOL">FALSE</field></shadow></value></block></statement><next><block type="controls_if" id="-]RlNoGwKch}rY+bN4l;"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="as=+~LTZti(ooArM@!:P"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="i6^=0OQtSEj.X1~5ccP4"><field name="name">DigitalPin.P10</field></block></value><value name="B"><shadow type="math_number" id="z4M/N_tqWKw=tn9Zfn]9"><field name="NUM">1</field></shadow></value></block></value><statement name="DO0"><block type="lists_index_set" id="F$2xonD6Lm[3_JRGhgW}"><value name="LIST"><block type="variables_get" id="YR.nhVZAOW`2n[o-PP(+"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="_r%03R82Nuc;@KBf5+]P"><field name="NUM">8</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="3IWf1_FUmR#v%%x}({KV"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="*Bm,wBYs%~j^1[DE|^:m"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_digital_pin" id="jX29VnK^!7Y{a:AgQKW."><field name="name">DigitalPin.P10</field></block></value><value name="B"><shadow type="math_number" id="#AUY}wyjMdg((aK`qDo/"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="lists_index_set" id="du;HIE5g=etfDlgh$H9b"><value name="LIST"><block type="variables_get" id="Mb}40?X$;zS@3d`zrF,A"><field name="VAR" id="e?Dbq5dF**Mn?(U;YC8C">sensePins</field></block></value><value name="INDEX"><shadow type="math_number" id="GxJzVA$+KKHG?(/#w4(s"><field name="NUM">8</field></shadow></value><value name="VALUE"><shadow type="logic_boolean" id="$=aSc9pBZ`4i^MKN:jSL"><field name="BOOL">FALSE</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="function_definition" id="!IRsyf;#!T=nv7MOo@*C" x="2657" y="20"><mutation name="updateFlag" functionid=":#2aBO%-]YwR^(SI`+fT"><arg name="column" id="e2mwu2mkv6pg8vldpfmy4h" type="number"/><arg name="flag" id="zcgnxr4929u7flqxqft6" type="boolean"/></mutation><field name="function_name">updateFlag</field><value name="e2mwu2mkv6pg8vldpfmy4h"><shadow type="argument_reporter_number" id="u#pgpSd%.ut2`I@}nqoQ"><field name="VALUE">column</field></shadow></value><value name="zcgnxr4929u7flqxqft6"><shadow type="argument_reporter_boolean" id=",9UG2SH@}j//p!7?u;{("><field name="VALUE">flag</field></shadow></value><statement name="STACK"><block type="controls_if" id="?gr-f.ah[xoqy*YN=|B,"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="argument_reporter_boolean" id="]n!~*gU/@@B21%==b#=2"><field name="VALUE">flag</field></block></value><statement name="DO0"><block type="lists_index_set" id="e[d7BwyY=i2u^7nRANSA"><value name="LIST"><block type="variables_get" id="KRo1=a9fb?cCqebYYD:Y"><field name="VAR" id="=o.5w@iU.GC$6):Fl!pZ">columns</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="O?i;{jQzFe66[Rd.lim%"><field name="VALUE">column</field></block></value><value name="VALUE"><shadow type="logic_boolean" id="f%uj!4EQ[%qn@sT@kCRL"><field name="BOOL">TRUE</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_negate" id="4aU|ASkVb|e+g8/h+3i6"><value name="BOOL"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="argument_reporter_boolean" id="RNZtAha_XF-h@G8Ko?xA"><field name="VALUE">flag</field></block></value></block></value><statement name="DO1"><block type="lists_index_set" id="w2j8b@raX.6+SYVP-O~F"><value name="LIST"><block type="variables_get" id="QNOlaLM2I?)m1T+9s8uy"><field name="VAR" id="=o.5w@iU.GC$6):Fl!pZ">columns</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="bJ.f:.:4Q0qbxdlgC_t|"><field name="VALUE">column</field></block></value><value name="VALUE"><shadow type="logic_boolean" id="(WQ{(8x;4)4DpCGPZ6.Q"><field name="BOOL">FALSE</field></shadow></value></block></statement></block></statement></block><block type="function_definition" id="CYp//5R`9cF:Q5gZ~{y9" x="20" y="2327"><mutation name="updateDisplay" functionid="r$,rrb$m|qq/Pj)[Iz3P"><arg name="number" id="w8osyn62jmiqvhztrr4iu" type="number"/></mutation><field name="function_name">updateDisplay</field><value name="w8osyn62jmiqvhztrr4iu"><shadow type="argument_reporter_number" id="zD|](7+2Kve{i8xG*PN/"><field name="VALUE">number</field></shadow></value><statement name="STACK"><block type="serial_writestring" id="mV|M3|qbuw{;8DylV)0?"><value name="text"><shadow type="text" id="slM.|5(9|i(bIT:012-l"><field name="TEXT">/</field></shadow></value><next><block type="serial_writenumber" id="ajaX;*3|7-8R`{q3v$zS"><value name="value"><block type="argument_reporter_number" id="V|:.jmZhku[P+,VZ.gO%"><field name="VALUE">number</field></block></value></block></next></block></statement></block><block type="device_forever" id="(BjA_o]_Ii1]Hw7,:D`u" x="394" y="2327"><statement name="HANDLER"><block type="controls_if" id="/NZb11c:W94@CDKV*I6n"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="9ptX5P~rw%$du7-FNaQ1"><field name="VAR" id="DlGJ8/H;#k}vw?K{;t)Y">ready</field></block></value><statement name="DO0"><block type="function_call" id="YvcS{oy~O4kOD)~jjW_:"><mutation name="switchSensors" functionid="-,AVe@};i]}B;9h4]O#l"/><next><block type="function_call" id="*+fo5C:^i5]h,MQO!!pt"><mutation name="updateColumn" functionid="2xvY6+H-%3yH80B#4$zO"/><next><block type="function_call" id="78^z*u36js4uYli_[/H7"><mutation name="updateNumber" functionid="!hkuPHERc#^4Vtlf0aMb"/></block></next></block></next></block></statement></block></statement></block></xml>