Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <xml xmlns="http://www.w3.org/1999/xhtml">
- <block type="inex_board" id="Hw+9+Rp3s:38-5-+|0O7" x="-372" y="-549">
- <field name="Board">ATX2</field>
- </block>
- <block type="procedures_defnoreturn" id="Y(.)4#5{1I@Y,qNbYr.=" x="-1" y="-558">
- <field name="NAME">FFF</field>
- <comment pinned="false" h="80" w="160">Describe this function...</comment>
- <statement name="STACK">
- <block type="controls_whileUntil" id=";lstUyR4UGAe*~w2/x!4">
- <field name="MODE">WHILE</field>
- <value name="BOOL">
- <block type="logic_boolean" id="WMs1Ja(wsN~.}B6bWH!u">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <statement name="DO">
- <block type="variables_set" id=")N!4k/Rj(X{Lug9f=H]H">
- <field name="VAR">L</field>
- <value name="VALUE">
- <block type="sensor_analog_read" id="xP)Wfgz4D4ZgrP0BG8_W">
- <field name="PIN">0</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="}!ASw-dM4A8+S8rG[6Uq">
- <field name="VAR">R</field>
- <value name="VALUE">
- <block type="sensor_analog_read" id="({AFNqD^RVsZ/znSCk%t">
- <field name="PIN">1</field>
- </block>
- </value>
- <next>
- <block type="controls_if" id="DB!e^H3Es3dekH)sOT|y">
- <mutation elseif="3"></mutation>
- <value name="IF0">
- <block type="logic_operation" id="z1R9MQjCQ}IN@MffEx-7">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="Y[gbw-FQ!7b{5v(#v}{5">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="Ifwy!jw09j,?(;oIE^(}">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="-oM,E/@bc0^X7Hs-SX5-">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="^I,,Mbb!SogN%]S_mZZN">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="Zny[4tRf~!ks-Kkb{i~P">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="3}}Kj^b^|8Wu]6kpYlDE">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="move" id="r5A-3JO93BTtQZG/rJP]">
- <field name="STAT">fd</field>
- <value name="speed">
- <block type="math_number" id="CHsgmbEoR`QCrPYi})4s">
- <field name="NUM">60</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF1">
- <block type="logic_operation" id="_fp7Cj@0|9;8o@WD*wr-">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="NTdWfeGg5?kbO/w:zUl9">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="!+Pu!QcWZe(R=ROO|2Zk">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="a#p/eM4vF[E}Q!{gtKe=">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="b~.vd5|K)8UL]w*U=dE}">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="ToU~pZ{Gy%d`Jg?(=W~z">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="XR4R|n3U@4(8@boL;~]6">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO1">
- <block type="spin" id="!gsc46e~:XP%:-JAS{c7">
- <field name="STAT">sl</field>
- <value name="speed">
- <block type="math_number" id="szkxP7lY#?h|myjzU8TX">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF2">
- <block type="logic_operation" id="C,EDO;Q9zP^(`hupu{kw">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="X-XT[cUKtZ1Ces6@@PII">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="TKdONP0gE2,!,Sq98o=M">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="#lrrnbivU{@7_kQ@|q_o">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="0tr-TMwXi.gj8TDV6f`u">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="EoAQBLxVDFyTZ1BK;U!;">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="NnP%~0.t^OF+?}4WPk=R">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO2">
- <block type="spin" id="@+k_7fzt{@Q~Y]efE-Iq">
- <field name="STAT">sr</field>
- <value name="speed">
- <block type="math_number" id="h%Nz}V1el+bn(X0%Gh]H">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF3">
- <block type="logic_operation" id=";H_;SP;tLxNM9)r1R08R">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="9}Unf([8hT^e_09MnBbw">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="d?G6++AL~(-zBV7wIm2+">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="gc/ZEbsMUuHFIo@kc@w!">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="h!A)z*t#u*:_XiUo{!S_">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="NH@r9ZS`yCDO`Cj?S:~+">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id=":yn9C[L97A,iN`5k`B,U">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO3">
- <block type="move" id="eV/]l.xk0lS]7{2j,YXt">
- <field name="STAT">fd</field>
- <value name="speed">
- <block type="math_number" id="/qT8McRmGA}._z5Qp;@T">
- <field name="NUM">60</field>
- </block>
- </value>
- <next>
- <block type="time_delay" id="wU}4]aNyZeK9XMaPaaQv">
- <value name="DELAY_TIME_MILI">
- <block type="math_number" id="aT.f~UzvzcC/Xr)R2wmM">
- <field name="NUM">200</field>
- </block>
- </value>
- <next>
- <block type="controls_flow_statements" id="XyH|KC93NK1JRfD{P=BR">
- <field name="FLOW">BREAK</field>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- <block type="switch_ok" id="MoLR`anbUwv@#Erb+sd)" x="-368" y="-501"></block>
- <block type="procedures_defnoreturn" id="f8!.skaO;-{PE]rXPT^-" x="666" y="-526">
- <field name="NAME">LLL</field>
- <comment pinned="false" h="80" w="160">Describe this function...</comment>
- <statement name="STACK">
- <block type="controls_whileUntil" id="-W{HlGK,.Az7k1Tao]2m">
- <field name="MODE">WHILE</field>
- <value name="BOOL">
- <block type="logic_boolean" id="{(|#H4xQQ`)02zx@4W-6">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <statement name="DO">
- <block type="variables_set" id="3|o.eNzaEG}NzU,a`%_C">
- <field name="VAR">L</field>
- <value name="VALUE">
- <block type="sensor_analog_read" id="Qp.DtYU{Z},h)mewE`Ni">
- <field name="PIN">0</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="YTEk#[k?~2jW2/P0#Xq5">
- <field name="VAR">R</field>
- <value name="VALUE">
- <block type="sensor_analog_read" id=").g.FtQtXVG;e5OE2kqi">
- <field name="PIN">1</field>
- </block>
- </value>
- <next>
- <block type="controls_if" id="Yn^k?OrK?#yWveJ]vPqo">
- <mutation elseif="3"></mutation>
- <value name="IF0">
- <block type="logic_operation" id="+0saS}Dj=ygL9rDyOKj@">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="g1/Q{aKQ@,pGKJ@m.DSY">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="hCsrvAH5V9-Hg4Cl|RK6">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="*_1#IW^yyz|If_Qu*s0!">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="{=Y_fR3_mLg1;Lv,L.:%">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="KlE|EK%/|[nS]ELyV38q">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="u;s(yE))jJqvOATyCusb">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="move" id="1Eu.SS}]t=NLIkb1F}YO">
- <field name="STAT">fd</field>
- <value name="speed">
- <block type="math_number" id="YcvnwbjR/[Evl7RE#-S*">
- <field name="NUM">60</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF1">
- <block type="logic_operation" id="}v.}[%5:mQh.(Q*Y8`g-">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="cHkTh|w68Sf238!pp)=l">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="a^wdP/v0U]]LCC^sLRze">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="%[,0_1J]3ybScE(efUO(">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="g^^Dnl)11zq?q2oi%2/~">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="]t@4fX=0K-CQ:U[oM2kI">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="k#]lA2Q}1z!(%*!s.r=I">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO1">
- <block type="spin" id=":3y.7MkPuSL8mLyIXmWZ">
- <field name="STAT">sl</field>
- <value name="speed">
- <block type="math_number" id="uctdb9Mp%^.NPpl1,vTQ">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF2">
- <block type="logic_operation" id="Dc8dKcBdr_]o(@|op+va">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id=")*%,CjkSk,~(VDzyKpU?">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="tnB4/huiKy~+=eVqxm{d">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="/rILXp8vV6+BN`#T+`Ew">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="E8CTAT3IGdeu3E#KqQw`">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="=TZ@D/2Dw^imT!]tN}ia">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="F:_{6hISOwh{gK`o0y^Q">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO2">
- <block type="spin" id="@;n0fXhV~::9hXHv4Owz">
- <field name="STAT">sr</field>
- <value name="speed">
- <block type="math_number" id="~Z9F.i92:A/ENr3:`6+P">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF3">
- <block type="logic_operation" id="pR|HzkPvn]E}NG(a-W}h">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="JP|C%Tq`1ciO}cEW/8,}">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="A(7a9M6y~f{{|Y{5yxMK">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="t8KLyQ4Za)DAy78aM)3U">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="(m-Hbkh).9_^[)yYL%JI">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="E7[bq,)6{WA+vK!RqAL[">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="7fYJqk!He/2~@.?U1O~#">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO3">
- <block type="move" id="|DV.6w,4JC8Z:Yvq@/S4">
- <field name="STAT">fd</field>
- <value name="speed">
- <block type="math_number" id="Yt0a}W|[%gWs-Kk*!Pib">
- <field name="NUM">60</field>
- </block>
- </value>
- <next>
- <block type="time_delay" id="(nD9U0Cl~ah.w6l~;hsi">
- <value name="DELAY_TIME_MILI">
- <block type="math_number" id="FcED)G~r+.|8+bSDm2iM">
- <field name="NUM">200</field>
- </block>
- </value>
- <next>
- <block type="controls_whileUntil" id="LwBTtH81m3Q2bjPrpkjP">
- <field name="MODE">WHILE</field>
- <value name="BOOL">
- <block type="logic_compare" id="wKY/R-LWwJf1AN*/%0TF">
- <field name="OP">GT</field>
- <value name="A">
- <block type="sensor_analog_read" id="CfCLE73LVO{6xZ)N/xJ_">
- <field name="PIN">0</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="~2).7]cp1.s3ugyUW-dY">
- <field name="NUM">500</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO">
- <block type="spin" id="49;PR+;:nu@^bFU~3+H?">
- <field name="STAT">sl</field>
- <value name="speed">
- <block type="math_number" id="{G}+hgQUz,_Y0z.nssHX">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <next>
- <block type="controls_whileUntil" id="@b7^}fiyBNLm2c1Zyi~*">
- <field name="MODE">WHILE</field>
- <value name="BOOL">
- <block type="logic_compare" id="fb]]5o@EL+Rr_gvhqqp%">
- <field name="OP">LT</field>
- <value name="A">
- <block type="sensor_analog_read" id="nM77NX9MA!K4/0k7;P)E">
- <field name="PIN">0</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="8CtR*C/D|XEK!s^v]Fn%">
- <field name="NUM">500</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO">
- <block type="spin" id="sC5GUW]w9*|{}5A-La%4">
- <field name="STAT">sl</field>
- <value name="speed">
- <block type="math_number" id="`UCage6iY]cKB%NwWiwD">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <next>
- <block type="controls_flow_statements" id="}T@+l6D(no1i,/tJ:#KO">
- <field name="FLOW">BREAK</field>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- <block type="arduino_functions" id="vRC^bTf:yaCMQ9K8+HJb" x="-371" y="-447">
- <statement name="SETUP_FUNC">
- <block type="variables_set" id="zKo`S#]jj|r,l5uJ_xP7">
- <field name="VAR">RefL</field>
- <value name="VALUE">
- <block type="math_number" id="phFWxm:EC_?e{x@R6(c=">
- <field name="NUM">400</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="#NNNC4wbJ[N?VDtA|6~e">
- <field name="VAR">RefR</field>
- <value name="VALUE">
- <block type="math_number" id="(0gzH0wlhkkx/638khX;">
- <field name="NUM">450</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="d:KZ68-mDzy3Vqc?5s}m">
- <field name="VAR">L</field>
- <value name="VALUE">
- <block type="math_number" id="!y}lUI;O0Jdx9D49]zb5">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="odz5Ok7td.=:;`@GC4UM">
- <field name="VAR">R</field>
- <value name="VALUE">
- <block type="math_number" id="qIr8nv;lj_HGLeHN?D@?">
- <field name="NUM">0</field>
- </block>
- </value>
- <next>
- <block type="glcd_set_text_size" id="/V.xAT;*9r*Eh)`e5HdE">
- <field name="SIZE">2</field>
- <next>
- <block type="glcd_text" id="qh,%_r@/,8etR;QBF2Pg">
- <field name="ROW">1</field>
- <field name="COLUM">1</field>
- <field name="TXT">Moving...</field>
- <next>
- <block type="procedures_callnoreturn" id="jf^{yoO8#5_gzLj%1a_N">
- <mutation name="FFF"></mutation>
- <next>
- <block type="procedures_callnoreturn" id="~pwYF0gT*tV7I_q|qBB:">
- <mutation name="LLL"></mutation>
- <next>
- <block type="procedures_callnoreturn" id="RVio[SdAe.?lJBUj3lO3">
- <mutation name="RRR"></mutation>
- <next>
- <block type="procedures_callnoreturn" id="SDQ|mufYY:;Zhy^cYk8O">
- <mutation name="FFF"></mutation>
- <next>
- <block type="procedures_callnoreturn" id="fpqxDxaiD5Ke+7IV]#x-">
- <mutation name="RRR"></mutation>
- <next>
- <block type="motor_stop" id="w+QzmDC%ucuv3SgN+=3v"></block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- <block type="procedures_defnoreturn" id="^C,3Cv@eSn=*XRo}EIcj" x="-26" y="23">
- <field name="NAME">RRR</field>
- <comment pinned="false" h="80" w="160">Describe this function...</comment>
- <statement name="STACK">
- <block type="controls_whileUntil" id="G:4X#@8p{HPG@jzCoxZE">
- <field name="MODE">WHILE</field>
- <value name="BOOL">
- <block type="logic_boolean" id="bvRtx@M~s;u5A`m2,g!`">
- <field name="BOOL">TRUE</field>
- </block>
- </value>
- <statement name="DO">
- <block type="variables_set" id="4}l|)R/Px5bm^WZklR-{">
- <field name="VAR">L</field>
- <value name="VALUE">
- <block type="sensor_analog_read" id="5^g!z{aO__eD)e@~J7|}">
- <field name="PIN">0</field>
- </block>
- </value>
- <next>
- <block type="variables_set" id="o`Lm!RtNLV}P-Au%8H%+">
- <field name="VAR">R</field>
- <value name="VALUE">
- <block type="sensor_analog_read" id="T!!HAC%Qw9pIXKQiCkvW">
- <field name="PIN">1</field>
- </block>
- </value>
- <next>
- <block type="controls_if" id="OcUI-[8yuICQp0SuohOx">
- <mutation elseif="3"></mutation>
- <value name="IF0">
- <block type="logic_operation" id="Nek!}^kxk2*_OG-X-7(l">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="zlgiY]Px3=9V[BHM}c[}">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="!ugnQG5igPH9Q?^Lt+8k">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="V_1o-,cKa9L/10nb42wb">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="^Iwjh03T~}!+R%o?ULEv">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="],oW3@=0c:Qi-j7i/JPV">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="%W^Ckqq:gc{?@aS6ff91">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO0">
- <block type="move" id="]/BJo3(RBxT2k},/4i+u">
- <field name="STAT">fd</field>
- <value name="speed">
- <block type="math_number" id="IWo#B;z.R;Hk[k(hL;,@">
- <field name="NUM">60</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF1">
- <block type="logic_operation" id="f9(c9diU4hRokc~NCL;d">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="vHu]Xh^I=P?c(METH46r">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="9aE}.WJlSlQl,{?-5*As">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="icU@fV=Z|v/%P1EmmzcZ">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="gxz%ptl_J.sh!I}U(Wei">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="Az-oXZFBjQlIJ8jxf9NU">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="oN4JK#0Uy.+ITB(r/DQH">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO1">
- <block type="spin" id="]qP^^0MY=D:b*qIqbW~~">
- <field name="STAT">sl</field>
- <value name="speed">
- <block type="math_number" id="YBMNY/3Oy@A1QONC+qZm">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF2">
- <block type="logic_operation" id="V%]^j)d]X(TkGT-rS8A5">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="`H8U_*|;(@lA9;-O?w;)">
- <field name="OP">GT</field>
- <value name="A">
- <block type="variables_get" id="I]fnR}B-SgD#!:t1Jz(1">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="L%rrSU-f9k~o@5V-k~`~">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="CFDRy+6w5:MuYzVyr43W">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="cSm8dsy,_9KF6gof`dz)">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="=XkrKzQla)=RUTL5ykzM">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO2">
- <block type="spin" id="doPM1uAeIF}EXR*!XYbo">
- <field name="STAT">sr</field>
- <value name="speed">
- <block type="math_number" id="f#1LZah(|lvPhEl+W_v^">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <value name="IF3">
- <block type="logic_operation" id="D|u5?u;Ysl7,BY|3)a]+">
- <field name="OP">AND</field>
- <value name="A">
- <block type="logic_compare" id="*!TUi~%yZ,)!^h8]3Iqu">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="VhKEW(HSx:o~mzwL+/,a">
- <field name="VAR">L</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="PI%8/V,@-K#k]GSW_y8X">
- <field name="VAR">RefL</field>
- </block>
- </value>
- </block>
- </value>
- <value name="B">
- <block type="logic_compare" id="K?h@v;:WoV:x?m]c5xPS">
- <field name="OP">LT</field>
- <value name="A">
- <block type="variables_get" id="ES/`E5|M?((Dhfk*Jbaw">
- <field name="VAR">R</field>
- </block>
- </value>
- <value name="B">
- <block type="variables_get" id="`kP{JA4@i)5Dy]4MBq5z">
- <field name="VAR">RefR</field>
- </block>
- </value>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO3">
- <block type="move" id="]NB(BOG1MoI9=[xCeShm">
- <field name="STAT">fd</field>
- <value name="speed">
- <block type="math_number" id="beo.;n*]/~SjT~Di#0H?">
- <field name="NUM">60</field>
- </block>
- </value>
- <next>
- <block type="time_delay" id="#lq#pF?t(t@1|lN)S~Re">
- <value name="DELAY_TIME_MILI">
- <block type="math_number" id="4r+6da/_6rwqeT`7vKlX">
- <field name="NUM">200</field>
- </block>
- </value>
- <next>
- <block type="controls_whileUntil" id="?(|!JMYzD.Yz5nXB~AFi">
- <field name="MODE">WHILE</field>
- <value name="BOOL">
- <block type="logic_compare" id="f2n:EXF7z*RtszK(0%#5">
- <field name="OP">GT</field>
- <value name="A">
- <block type="sensor_analog_read" id="dxl6EZEt|`+y{8c+xp4f">
- <field name="PIN">1</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="5~[qt8Hn)e[IGvVet`]B">
- <field name="NUM">500</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO">
- <block type="spin" id="1Y(o6waKG(@MA%B#MlI3">
- <field name="STAT">sr</field>
- <value name="speed">
- <block type="math_number" id="S!-4TPb}E=6o+@Povrnu">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <next>
- <block type="controls_whileUntil" id="rjm/,DB66[V{U!IZ6t86">
- <field name="MODE">WHILE</field>
- <value name="BOOL">
- <block type="logic_compare" id="9WSb#v}82m}HCU9WJ(iZ">
- <field name="OP">LT</field>
- <value name="A">
- <block type="sensor_analog_read" id="4xhy-9%-Z}hW@pdL_L(F">
- <field name="PIN">1</field>
- </block>
- </value>
- <value name="B">
- <block type="math_number" id="mz?j:@;3#+@vUzF!O1d!">
- <field name="NUM">500</field>
- </block>
- </value>
- </block>
- </value>
- <statement name="DO">
- <block type="spin" id="eX.7{pX)ck*lNPXbv:1s">
- <field name="STAT">sr</field>
- <value name="speed">
- <block type="math_number" id="8v(#Ddj,)+_:C^t09)*M">
- <field name="NUM">50</field>
- </block>
- </value>
- </block>
- </statement>
- <next>
- <block type="controls_flow_statements" id="ak_yk)ih7rjHtmS2%cuj">
- <field name="FLOW">BREAK</field>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </next>
- </block>
- </next>
- </block>
- </statement>
- </block>
- </statement>
- </block>
- </xml>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement