-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.blocks
1 lines (1 loc) · 29.4 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="l0JKU`56QH%qnz{{^-=6">Revolution total</variable><variable id="Rzuc{`wIjp$:w,m/_7+#">Hours</variable><variable id="l,;{EWS96knLtE0b)0_h">Seconds</variable><variable id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</variable><variable id="nln6UnAFB0,:tUO*gX~u">timer</variable><variable id="yIb=yl@e$MFiO7+Fhq[[">tmp</variable><variable id="lI/2v#XN5v=@Hgf4|2fw">Temp</variable><variable id="-K0rE?J-23J.1McskJCf">list</variable><variable id="u3F0k{WR%kB7{}j[NbF(">index</variable><variable id="?ON-BqHQf/DhrD][@[te">index2</variable><variable id="[0@g$VfT46(m%Y``2zfQ">"a" counter</variable><variable id="LAag3bN6dKejg5RL8m/x">last 10 second</variable></variables><block type="pxt-on-start" id="r0qgEs@+.y^VM/Y4lO[(" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="~|$MY15x`ew+J-%t4#h("><field name="VAR" id="-K0rE?J-23J.1McskJCf">list</field><value name="VALUE"><block type="lists_create_with" id="9_}sTGaP7l/;erp9Gq{q"><mutation items="5"/><value name="ADD0"><shadow type="math_number" id="~xlpl*K8oQrvI!Nwjxkw"><field name="NUM">0</field></shadow></value><value name="ADD1"><shadow type="math_number" id="0`a?^f3{#y)$AoV|wOXy"><field name="NUM">0</field></shadow></value><value name="ADD2"><shadow type="math_number" id="P;VI?%fYD$0)PR,`DD}Z"><field name="NUM">0</field></shadow></value><value name="ADD3"><shadow type="math_number" id="uc9@o]yecB]!#E)PAoM2"><field name="NUM">0</field></shadow></value><value name="ADD4"><shadow type="math_number" id="IQe3TgsWhS_,ePi|I;I^"><field name="NUM">0</field></shadow></value></block></value></block></statement></block><block type="device_forever" id="0pS;.JkB{eCSjI~2yr*m" x="672" y="0"><statement name="HANDLER"><block type="device_while" id="x;@v}y7|5I=3cv)!hgx$"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="yyPAVYPXF)}MG~K?hgjh"><field name="OP">GT</field><comment pinned="false" h="80" w="160">Depends in speed sensor</comment><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_analog_pin" id="ll-s9ud|(Y4^cV+4,]|b"><field name="name">AnalogPin.P0</field></block></value><value name="B"><shadow type="math_number" id="8rBXN!fUEDJIf}]Ch,cf"><field name="NUM">2</field></shadow></value></block></value><statement name="DO"><block type="device_pause" id="ax98hJedv`0#XJ}x@$W."><value name="pause"><shadow type="timePicker" id="_mo6gJGA3^rC#/=sU}IK"><field name="ms">1</field></shadow></value></block></statement><next><block type="variables_change" id="`SGbV{jH_+h|:%y2g|6$"><field name="VAR" id="l0JKU`56QH%qnz{{^-=6">Revolution total</field><value name="VALUE"><shadow type="math_number" id="3e`/f[ZG.nebkR1}`,YU"><field name="NUM">1</field></shadow></value><next><block type="variables_change" id="(DXKG^9BF64CnQmNZ5fn"><field name="VAR" id="yIb=yl@e$MFiO7+Fhq[[">tmp</field><value name="VALUE"><shadow type="math_number" id="Qq]`GC)G2B!V[y{9.FTp"><field name="NUM">1</field></shadow></value><next><block type="device_while" id="w:rwQQga+:FKccIfi(!V"><value name="COND"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="`hhk1Y:CI4Bv9fSQXKbr"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_analog_pin" id="N,e2|zWaQ/Mi1UsUl@?Z"><field name="name">AnalogPin.P0</field></block></value><value name="B"><shadow type="math_number" id="ppmMg_LLr8(svD/QpmIx"><field name="NUM">2</field></shadow></value></block></value><statement name="DO"><block type="continue_keyword" id="c[zxoVkE](qtze^K=Rx@"><comment pinned="true" h="80" w="160">Best way I found to do this logic but probably better way somehow</comment></block></statement></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="]Ws]y2w`.VWK`{=QIg?|" x="1219" y="0"><statement name="HANDLER"><block type="variables_set" id="t}Lq*.4{tMen)XayziV9"><field name="VAR" id="yIb=yl@e$MFiO7+Fhq[[">tmp</field><value name="VALUE"><shadow type="math_number" id="?;AiF?-4#0E]CoVni]Jb"><field name="NUM">0</field></shadow></value><next><block type="device_pause" id="l[)L4;O.pO;u$_s.9Rd@"><value name="pause"><shadow type="timePicker" id="%B3|Az-((+uUu_D)Nj6{"><field name="ms">2000</field></shadow></value><next><block type="array_push" id="NSmh(84Gq*m6C}B;U:S}"><value name="list"><block type="variables_get" id="qytoc4qaNR*2P{#GDb^!"><field name="VAR" id="-K0rE?J-23J.1McskJCf">list</field></block></value><value name="value"><block type="variables_get" id="Jz:84!o7=+(dAA-e9$]a"><field name="VAR" id="yIb=yl@e$MFiO7+Fhq[[">tmp</field></block></value><next><block type="array_shift_statement" id="j9F=fo7!4jy}oPF1q:U:"><value name="list"><block type="variables_get" id="iWj3:KN_Z0.bpf979aaW"><field name="VAR" id="-K0rE?J-23J.1McskJCf">list</field></block></value></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="Yov^K+G=p;s3fE!!ta!e" x="2061" y="82"><statement name="HANDLER"><block type="controls_if" id="JukYhyvV,0w[e#;zvT+u"><mutation elseif="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="device_get_button2" id=";his{u=2jpmfc$9(i15Y"><field name="NAME">Button.A</field></block></value><statement name="DO0"><block type="device_pause" id="jOGc*%{7nJ0M8Gbde/Kc"><value name="pause"><shadow type="timePicker" id="T6e,;uGs.ZHl(!cW~oV@"><field name="ms">100</field></shadow></value><next><block type="controls_if" id="r~#Lt`Z`l$3;M3WRVx`x"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="cCG.3Gfaw#(Gv,t6i[Im"><field name="OP">GTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="!z_^1#[M3_8OGt,:2}G1"><field name="VAR" id="[0@g$VfT46(m%Y``2zfQ">"a" counter</field></block></value><value name="B"><shadow type="math_number" id="jv-,O7.W0|g#m3VNzb=-"><field name="NUM">2</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="*`~w*dF!IK#HY/UN]o!L"><field name="VAR" id="[0@g$VfT46(m%Y``2zfQ">"a" counter</field><value name="VALUE"><shadow type="math_number" id="fgWte=vw%XF]iSo[.tZQ"><field name="NUM">0</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_change" id="QzyGzQacOMbs?R],_R%."><field name="VAR" id="[0@g$VfT46(m%Y``2zfQ">"a" counter</field><value name="VALUE"><shadow type="math_number" id="b@!.(QU^dOVsKo-x7nc`"><field name="NUM">1</field></shadow></value></block></statement></block></next></block></statement><value name="IF1"><block type="device_get_button2" id="/;nnqf`s6v5hvo!4A)?P"><field name="NAME">Button.B</field></block></value><statement name="DO1"><block type="SCROLL_SHOWNUMBER" id="Kp=iGM%ifX?BBpTtU=PL"><field name="dir">SCROLL_DIR.LEFT</field><field name="rotate">SCROLL_ROTATE.SR_0</field><value name="n"><shadow type="math_number"><field name="NUM">123</field></shadow><block type="variables_get" id="WC:()yT#Lx!]z[uNR.Ax"><field name="VAR" id="l0JKU`56QH%qnz{{^-=6">Revolution total</field></block></value><value name="delay"><shadow type="math_number" id="7a8!J:e44X[(W0HU%.v@"><field name="NUM">75</field></shadow></value><next><block type="SCROLL_SHOWSTRING" id="~+O[Y3JX_v}_)u9$SE7K"><field name="dir">SCROLL_DIR.LEFT</field><field name="rotate">SCROLL_ROTATE.SR_0</field><value name="s"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="text_join" id="e9#R(?50A;wB#N0$}=kE"><mutation items="2"/><value name="ADD0"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="math_js_round" id="*fn+}xkWzQIfbgMe6T*A"><field name="OP">round</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="LjqLae#ii+aR6JV}V:~D"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="eBC~*nz,$=yDo(,hws+o"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="pX3JET7KHpI)nX/lKW/m"><field name="VAR" id="l0JKU`56QH%qnz{{^-=6">Revolution total</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="srj~1E^;Q_6J%$[N+e.S"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_running_time" id="VC(OK*SfkVs45v[@X`A!"/></value><value name="B"><shadow type="math_number" id="$,eunVVeb7T,lF27d6+|"><field name="NUM">60000</field></shadow></value></block></value></block></value><value name="B"><shadow type="math_number" id="IrtjSMO^/z+Qg27`*e!@"><field name="NUM">3.25</field></shadow></value></block></value></block></value><value name="ADD1"><shadow type="text" id="|j)5gjM;j{V4eoF.9I!~"><field name="TEXT">rpm</field></shadow></value></block></value><value name="delay"><shadow type="math_number" id="f4Ye]:q+cS4KneJv^Ww6"><field name="NUM">75</field></shadow></value><next><block type="variables_set" id="HKklPvNg5!}blh(`N(:N"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_js_round" id="hhHL-|usVD[FYqpBlV-Q"><field name="OP">trunc</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="O@CW#I0-|K(.OWX6YCn["><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="device_get_running_time" id="MAG/|T2B81h-g3L6H_5/"/></value><value name="B"><shadow type="math_number" id="VFf,!y/NHr%CYY|11MDm"><field name="NUM">1000</field></shadow></value></block></value></block></value><next><block type="controls_if" id="0|FHbk*^ew*Yr^=Ldf0E"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="zhX8rbR[*qIJmM=d6|XP"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="IbKK|:BoX-z;cyj3QM2{"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field></block></value><value name="B"><shadow type="math_number" id="i@zTStCaY%vP{EpHjpIE"><field name="NUM">60</field></shadow></value></block></value><statement name="DO0"><block type="SCROLL_SHOWSTRING" id="%[_.enxj1PI%,8]GWitP"><field name="dir">SCROLL_DIR.LEFT</field><field name="rotate">SCROLL_ROTATE.SR_0</field><value name="s"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="text_join" id="HtC5QpG5_hMPbF3Ai{j$"><mutation items="2"/><value name="ADD0"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="B@~m@GkO%V^%LouQCyp{"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field></block></value><value name="ADD1"><shadow type="text" id="Axe_vo@qf;iwnn2h.#09"><field name="TEXT">s</field></shadow></value></block></value><value name="delay"><shadow type="math_number" id="a~MxQ=3G}D#vpj$Q9wR7"><field name="NUM">75</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_set" id="tW2kusvdW9UHe3Hl,M%u"><field name="VAR" id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_js_round" id="O$6M$Wq6*t`FQC@fSovx"><field name="OP">floor</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="9UZG#;Ip/Nr3DQB[M`50"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="=p.90RPkmXUcUw4L*V)F"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field></block></value><value name="B"><shadow type="math_number" id="7G/EY:AlN.N||4e47Cgu"><field name="NUM">60</field></shadow></value></block></value></block></value><next><block type="variables_set" id="J#0F6IGMbF=Tmlq^n[w^"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_modulo" id="g_K49%.2`ZS]Fb]e]Mi1"><value name="DIVIDEND"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="H*yw;{wdN2ZxsE,c}bq;"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field></block></value><value name="DIVISOR"><shadow type="math_number" id="f-F7gA#JrT.0)P%580en"><field name="NUM">60</field></shadow></value></block></value><next><block type="controls_if" id="9(Hxm813HG-G1Xiwk1O4"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="a.dCGB|LDj9tZ`8ShP)n"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="2]3.[6`bt$`o)fG-aDXC"><field name="VAR" id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</field></block></value><value name="B"><shadow type="math_number" id="m0*IV$]|/3:hLEcz5-I."><field name="NUM">60</field></shadow></value></block></value><statement name="DO0"><block type="SCROLL_SHOWSTRING" id="SBh}:/|CW{/e9p~!Zm7["><field name="dir">SCROLL_DIR.LEFT</field><field name="rotate">SCROLL_ROTATE.SR_0</field><value name="s"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="text_join" id="?nUqP91YP6BEZJfin(%e"><mutation items="4"/><value name="ADD0"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="e6E_9LxeP/p8Nosygtgf"><field name="VAR" id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</field></block></value><value name="ADD1"><shadow type="text" id="0L?e}5Dw:C}HPq%Lv.Fl"><field name="TEXT">m</field></shadow></value><value name="ADD2"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="0k%T}7e+6zESs$Vfk?hC"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field></block></value><value name="ADD3"><shadow type="text" id="/]wcv-PKmn$!Bt;:shPq"><field name="TEXT">s</field></shadow></value></block></value><value name="delay"><shadow type="math_number" id="R[5SlWf#R4?7,JMhcURn"><field name="NUM">75</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_set" id="+-+lv.hG4_ZwIHl!N#vS"><field name="VAR" id="Rzuc{`wIjp$:w,m/_7+#">Hours</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_js_round" id="VZpI?4PSn7(!z6Dy8pY|"><field name="OP">floor</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="i.l}?lv0*fUsLvw-X=GP"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="8uAVo(heY+bRl*NE,O[-"><field name="VAR" id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</field></block></value><value name="B"><shadow type="math_number" id="?p9^a|4boB$0Ss8IWB+M"><field name="NUM">60</field></shadow></value></block></value></block></value><next><block type="variables_set" id="LliSNXw!?KqsST;@-7;*"><field name="VAR" id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_modulo" id="Nv*wir@vu!k``iZ7T51{"><value name="DIVIDEND"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="jGGW~BTb:#~,;]`wgKUN"><field name="VAR" id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</field></block></value><value name="DIVISOR"><shadow type="math_number" id="sJWHpfbn:KVm.AHm7RCg"><field name="NUM">60</field></shadow></value></block></value><next><block type="SCROLL_SHOWSTRING" id="nAjT[N?:67!^JP`~m`sI"><field name="dir">SCROLL_DIR.LEFT</field><field name="rotate">SCROLL_ROTATE.SR_0</field><value name="s"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="text_join" id="V`)TX.(4ju_D3y!;Ntd4" inline="false"><mutation items="6"/><value name="ADD0"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="(XtV~n8W={u%8FM.%bF#"><field name="VAR" id="Rzuc{`wIjp$:w,m/_7+#">Hours</field></block></value><value name="ADD1"><shadow type="text" id="In1O5Z-=,D;/(:+n#xe2"><field name="TEXT">hr</field></shadow></value><value name="ADD2"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="hvyWds1fTE`DVK+ksL!r"><field name="VAR" id="TQ,^j-OmYO?{0NJyVgFQ">Minutes</field></block></value><value name="ADD3"><shadow type="text" id="=`|Gpe[%R2@*S%Znc3m]"><field name="TEXT">m</field></shadow></value><value name="ADD4"><shadow type="text"><field name="TEXT"/></shadow><block type="variables_get" id="TRW[rU*G;}jv*xd:-!{b"><field name="VAR" id="l,;{EWS96knLtE0b)0_h">Seconds</field></block></value><value name="ADD5"><shadow type="text" id="k.rx%PKbtz3TWeaQ?L1I"><field name="TEXT">s</field></shadow></value></block></value><value name="delay"><shadow type="math_number" id="2^[G%e9^v.83FEr`deaq"><field name="NUM">75</field></shadow></value></block></next></block></next></block></statement></block></next></block></next></block></statement></block></next></block></next></block></next></block></statement><next><block type="controls_if" id="XClD%npbX8|N%74:-GHt"><mutation elseif="2"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="20natXh,UJ/Ncf=L3p?/"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="ERmEy}u%*tEI?ox5`X]="><field name="VAR" id="[0@g$VfT46(m%Y``2zfQ">"a" counter</field></block></value><value name="B"><shadow type="math_number" id="Mt:D`hse%}vN7{XT=p-0"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="device_clear_display" id="F,4*uG/Zxg=%)[Uyfj6%"><next><block type="pxt_controls_for" id="P*brr7{KoTN|:?6lE@Fp"><value name="VAR"><shadow type="variables_get_reporter" id=",FhBkDqy:T.vo~jFMpYS"><field name="VAR" id="?ON-BqHQf/DhrD][@[te">index2</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="M`f%:SzrnbACz:j.@57/"><field name="NUM">3</field></shadow></value><statement name="DO"><block type="device_plot" id=";./Jd9PM_/`MFSLTNrtW"><value name="x"><shadow type="math_number_minmax"><mutation min="0" max="4" label="X" precision="1"/><field name="SLIDER">0</field></shadow><block type="variables_get" id="QU@eMv5tmH{ACX?Vf*F;"><field name="VAR" id="?ON-BqHQf/DhrD][@[te">index2</field></block></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4" label="Y" precision="1"/><field name="SLIDER">0</field></shadow><block type="function_call_output" id="8M#^@Tf%owOcOW6{/-w,"><mutation name="Conversion of rev to pinout" functionid="GhzX8O1t%iYM0HgauZOJ"><arg name="counter" id="~[`v+4%PU.dppv^^[WMn" type="number"/></mutation><value name="~[`v+4%PU.dppv^^[WMn"><shadow type="math_number" id="Z~j`Sz~m.0BTC{J^.^+."><field name="NUM">1</field></shadow><block type="lists_index_get" id="CWZ~JZ=A{A,en|l@e,_="><value name="LIST"><block type="variables_get" id="({D*27T+SXv3++y3L]JB"><field name="VAR" id="-K0rE?J-23J.1McskJCf">list</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id=",4$CsM8Q,Az9|D4),Llq"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="NSG*cg[Tui%SRpc$ayWc"><field name="VAR" id="?ON-BqHQf/DhrD][@[te">index2</field></block></value><value name="B"><shadow type="math_number" id="LC9zyp=VX%^J/VbP#A%M"><field name="NUM">1</field></shadow></value></block></value></block></value></block></value></block></statement><next><block type="device_plot" id="c}o[0!m$X[fT_]qkUo5A"><value name="x"><shadow type="math_number_minmax" id="Jur:vC/0b=q6kAsvV/W*"><mutation min="0" max="4" label="X" precision="1"/><field name="SLIDER">4</field></shadow></value><value name="y"><shadow type="math_number_minmax"><mutation min="0" max="4" label="Y" precision="1"/><field name="SLIDER">0</field></shadow><block type="function_call_output" id="?/*,_B`K.yok6IUSM{$l"><mutation name="Conversion of rev to pinout" functionid="GhzX8O1t%iYM0HgauZOJ"><arg name="counter" id="~[`v+4%PU.dppv^^[WMn" type="number"/></mutation><value name="~[`v+4%PU.dppv^^[WMn"><shadow type="math_number" id="-)h0na;=!1g,EAyL6jy0"><field name="NUM">1</field></shadow><block type="variables_get" id="kK$bN)v7`iX3o7oMfLLZ"><field name="VAR" id="yIb=yl@e$MFiO7+Fhq[[">tmp</field></block></value></block></value></block></next></block></next></block></statement><value name="IF1"><block type="logic_compare" id="74kbx0)/GC_#G3XqUMbH"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="d4zkBO4B6S)o+(Ha$-g]"><field name="VAR" id="[0@g$VfT46(m%Y``2zfQ">"a" counter</field></block></value><value name="B"><shadow type="math_number" id="d4bx]=07IztC~EQd8(HG"><field name="NUM">1</field></shadow></value></block></value><statement name="DO1"><block type="show_whaleysans_number" id="Xs)R#F:8$]rbKz9)vEvu"><value name="dat"><shadow type="math_number_minmax"><mutation min="0" max="99" label="Dat" precision="0"/><field name="SLIDER">10</field></shadow><block type="math_js_round" id="9~T,#N7XG0GjZ+$[~wP("><field name="OP">round</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="w1df?B.}`CM3.HIb(kR7"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="H_hZ-X$mqYt;OAo]hUB+"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="u}{W@=Lj|?s?Lq$vH1_~"><mutation name="Workoutlast10seconds" functionid=".9uoQ:?pOO/ElyUNO5_/"/></block></value><value name="B"><shadow type="math_number" id="-XA2lGB99!D2,Ci-pJ=j"><field name="NUM">6</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="7SoRlH/6uFEqJYD1+;7?"><field name="NUM">3.25</field></shadow></value></block></value></block></value></block></statement><value name="IF2"><block type="logic_compare" id="vL!4x:X@!$QmA:[|Z+N|"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="mI{Ieq=y57+U|Skr;Dj%"><field name="VAR" id="[0@g$VfT46(m%Y``2zfQ">"a" counter</field></block></value><value name="B"><shadow type="math_number" id="On$YJ?77L639|BPdOdzK"><field name="NUM">2</field></shadow></value></block></value><statement name="DO2"><block type="device_plot_bar_graph" id="ftO[q]7(k%4xTFqx+70p"><value name="value"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_js_round" id="G3dI;D,[:HT@1^L;ZXy4"><field name="OP">round</field><value name="ARG0"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="heMlFJ;/resv=T`Vdc{!"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="Jy/Ddjr,4`yhV~pIrNfM"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="function_call_output" id="u|thy)6{:M14e[nH/M78"><mutation name="Workoutlast10seconds" functionid=".9uoQ:?pOO/ElyUNO5_/"/></block></value><value name="B"><shadow type="math_number" id="}/b[%:t#D-qM7^M/,:l]"><field name="NUM">6</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="B~vDe|#SWTwA:.t}uml9"><field name="NUM">3.25</field></shadow></value></block></value></block></value><value name="high"><shadow type="math_number" id="6OVnwIWyNY!V{u8Ku`Y!"><field name="NUM">120</field></shadow></value></block></statement></block></next></block></statement></block><block type="function_definition" id="r[iP)KvH/u-Lq??%N5B]" x="2947" y="2024"><mutation name="Conversion of rev to pinout" functionid="GhzX8O1t%iYM0HgauZOJ"><arg name="counter" id="~[`v+4%PU.dppv^^[WMn" type="number"/></mutation><field name="function_name">Conversion of rev to pinout</field><value name="~[`v+4%PU.dppv^^[WMn"><shadow type="argument_reporter_number" id="SwZ]hOwTayJYEwlu,QKh"><field name="VALUE">counter</field></shadow></value><statement name="STACK"><block type="controls_if" id="x${G/XC2^;/,!L^A$KDa"><mutation elseif="3" else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="@G5M-=qTl}+a_Bh.[k)g"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="nli|ywH9EoLrG_h@!VC3"><field name="VALUE">counter</field></block></value><value name="B"><shadow type="math_number" id="p,X%nag`c[WD,{)z1kK{"><field name="NUM">2</field></shadow></value></block></value><statement name="DO0"><block type="function_return" id="aGWtctXTGyQiV9L9cqF8"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id=",|l492;{CdhCpZ^doVR0"><field name="NUM">4</field></shadow></value></block></statement><value name="IF1"><block type="logic_compare" id="wr8ITQDsvmqB~@,SRI1-"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="0Bhe@7iGv6bB[:UU?6Z["><field name="VALUE">counter</field></block></value><value name="B"><shadow type="math_number" id="n(r;Qh%nt^,Q:5@ca}#/"><field name="NUM">4</field></shadow></value></block></value><statement name="DO1"><block type="function_return" id="%Lz7B(xN}*,k=jsD15kW"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="YqLFQzwbJg4bFH1kFg/a"><field name="NUM">3</field></shadow></value></block></statement><value name="IF2"><block type="logic_compare" id="mZ6R~}*;`gM-$K?P9T1]"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="lO6o#H9P+rh):{7S@j9k"><field name="VALUE">counter</field></block></value><value name="B"><shadow type="math_number" id="8gWqNPTwGLETX6n;RZN["><field name="NUM">7</field></shadow></value></block></value><statement name="DO2"><block type="function_return" id="e[6Tw9%?8Iu{Oh@W_QO1"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="Cx0Ckt)DD{Qxg;KL;y#a"><field name="NUM">2</field></shadow></value></block></statement><value name="IF3"><block type="logic_compare" id="yWQ=rC`VWEJHz,FpI4Zt"><field name="OP">LTE</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="fle7,@,fMpVtE3,lSTaR"><field name="VALUE">counter</field></block></value><value name="B"><shadow type="math_number" id="6T#pa.xKbE?/Lz6_{EH1"><field name="NUM">11</field></shadow></value></block></value><statement name="DO3"><block type="function_return" id="z:5hD4#8:h7vfNRgDmvy"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number" id="c%(i,x{zch,h,0BDY*E0"><field name="NUM">1</field></shadow></value></block></statement><statement name="ELSE"><block type="function_return" id="FTks11rR94ZV_EwVt~#@"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><block type="math_number" id="qZ9$ByHk|!s=([c*YT6N"><field name="NUM">0</field></block></value></block></statement></block></statement></block><block type="function_definition" id="2,B?8aJs)6^%*u3~LISu" x="1548" y="2337"><mutation name="Workoutlast10seconds" functionid=".9uoQ:?pOO/ElyUNO5_/"/><field name="function_name">Workoutlast10seconds</field><statement name="STACK"><block type="variables_set" id="D7iM{P@@cvwE+;-$eVGE"><field name="VAR" id="lI/2v#XN5v=@Hgf4|2fw">Temp</field><value name="VALUE"><shadow type="math_number" id=";}!O!9T5$64YC1zv/NMq"><field name="NUM">0</field></shadow></value><next><block type="pxt_controls_for" id="oz/tH?]$*14#K4mE=3*;"><value name="VAR"><shadow type="variables_get_reporter" id="1N6LRv6;%(YnYdjH@/fm"><field name="VAR" id="?ON-BqHQf/DhrD][@[te">index2</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="fp4uxwj9-h1Qk^nuoG-C"><field name="NUM">4</field></shadow></value><statement name="DO"><block type="variables_change" id="L0#]?Y{IUgyUf+Xrv[Fa"><field name="VAR" id="lI/2v#XN5v=@Hgf4|2fw">Temp</field><value name="VALUE"><shadow type="math_number"><field name="NUM">1</field></shadow><block type="lists_index_get" id="_KGeCDmqNt=N@vD0/NUr"><value name="LIST"><block type="variables_get" id="nTc$~)zrTp_^i_JW]f;F"><field name="VAR" id="-K0rE?J-23J.1McskJCf">list</field></block></value><value name="INDEX"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="mI9RU0[p3k)gI%%]Girc"><field name="VAR" id="?ON-BqHQf/DhrD][@[te">index2</field></block></value></block></value></block></statement><next><block type="function_return" id="YCN((Kr~Xryhr?dTypQ^"><mutation xmlns="http://www.w3.org/1999/xhtml" no_return_value="false"></mutation><value name="RETURN_VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="H$m~/LaShN*U2Z*Z~|*y"><field name="VAR" id="lI/2v#XN5v=@Hgf4|2fw">Temp</field></block></value></block></next></block></next></block></statement></block></xml>