-
Notifications
You must be signed in to change notification settings - Fork 1
/
6060push_m5stickc.m5f
1 lines (1 loc) · 27.9 KB
/
6060push_m5stickc.m5f
1
{"components":[{"id":"____screen","createTime":1567137198051,"name":"Screen","x":0,"y":0,"width":120,"height":240,"backgroundColor":"#111111","backgroundImage":"","type":"screen"},{"id":"1XXS@5!xAy%#iNl#","createTime":1567159168488,"name":"rectangle0","x":0,"y":0,"width":50,"height":10,"borderColor":"#FFFFFF","backgroundColor":"#FFFFFF","type":"rectangle","layer":26},{"id":"DtCTXYLm$Rb4BxBp","createTime":1569307323665,"name":"label0","x":33,"y":15,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_DejaVu24","rotation":90,"type":"label","layer":114},{"id":"mPpR#1ZQpuPS1H4q","createTime":1572850771926,"name":"label1","x":75,"y":114,"color":"#FFFFFF","text":"Text","font":"lcd.FONT_Default","rotation":90,"type":"label","layer":4}],"type":"stick-C","versions":"Beta","units":[],"hats":[],"blockly":"<variables><variable type=\"\" id=\"7}L@W8zNR5{CR{r60H+y\">name</variable><variable type=\"\" id=\"BlVWqew4=UHR!3u6js/b\">move</variable><variable type=\"\" id=\"BrmZAJ?*,S^@KmMd,We=\">uart_int</variable><variable type=\"\" id=\"7X/`7bo5J#},Aq%USlWm\">uart</variable><variable type=\"\" id=\"bAx,|CRZ,Un%pV?]72$]\">message</variable><variable type=\"\" id=\"lVD:hy_.Zw1Q)YX`)v?#\">uart_val</variable><variable type=\"\" id=\"Agr,pK|N7-xtz.xJ8gt#\">acc_dir</variable><variable type=\"\" id=\"?MXEH%3lnL@0HX06[{h@\">pos</variable><variable type=\"\" id=\"Yj+yGvU.8bY33U0rc{}P\">prev_acc_dir</variable><variable type=\"\" id=\"W5hwx*N[ag#2qzu.F%n;\">id_set</variable><variable type=\"\" id=\"eOa3`uu^bjCW=~#JosP_\">out</variable><variable type=\"\" id=\"fw_`@=*e=f}4y+ehL2Z`\">checked_pos</variable></variables><block type=\"procedures_defreturn\" id=\"RhiYpj$jH##A?k-fQ6,B\" x=\"-30\" y=\"-690\"><mutation><arg name=\"name\" varid=\"7}L@W8zNR5{CR{r60H+y\"></arg></mutation><field name=\"NAME\">get_serial_pos</field><statement name=\"STACK\"><block type=\"variables_set\" id=\"4zaZQaj3u[QMGG;@({EK\"><field name=\"VAR\" id=\"bAx,|CRZ,Un%pV?]72$]\" variabletype=\"\">message</field><value name=\"VALUE\"><block type=\"text_add\" id=\"Yr{nCGz,S-~%Z-z_{x.0\"><value name=\"arg0\"><shadow type=\"text\" id=\"1-G9OSi%tGg.TdN%ytbx\"><field name=\"TEXT\">ID</field></shadow></value><value name=\"arg1\"><block type=\"text_add\" id=\"jt~tY|b#t5qP#F]+:at}\"><value name=\"arg0\"><shadow type=\"text\" id=\"C?AL(U%Awml(=%9A~!3h\" disabled=\"true\"><field name=\"TEXT\">ID</field></shadow><block type=\"variables_get\" id=\"0Z9p]tr`8t[*C1M_5^$%\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"{W3p%8l])MVpwTDe#V;-\"><field name=\"TEXT\">P</field></block></value></block></value></block></value><next><block type=\"uart_write_line\" id=\"{~^4Ys29bp$oQ!yBX7c+\"><field name=\"VAR\" id=\"7X/`7bo5J#},Aq%USlWm\" variabletype=\"\">uart</field><value name=\"VALUE\"><shadow type=\"text\" id=\"EaI-I5!5Rc%MS-ns_JXm\"><field name=\"TEXT\">ID123P</field></shadow><block type=\"variables_get\" id=\"CuGCgZB9Iz~*oVoD]gy_\"><field name=\"VAR\" id=\"bAx,|CRZ,Un%pV?]72$]\" variabletype=\"\">message</field></block></value><next><block type=\"variables_set\" id=\"~~k85wwBY4^^_6xdcq2N\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field><value name=\"VALUE\"><block type=\"convent_str\" id=\"=$=Aeu6m7f^U%!ZOE~?l\"><value name=\"VALUE\"><block type=\"uart_readline\" id=\"=BRF6QKpP-=`_^a]H)I9\"><field name=\"VAR\" id=\"7X/`7bo5J#},Aq%USlWm\" variabletype=\"\">uart</field></block></value></block></value><next><block type=\"timer_delay_ms\" id=\"B~l0)U.m01G:cqy_?B,=\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"/o8#,W,bIHIn?4Z-R!1=\"><field name=\"NUM\">20</field></shadow></value><next><block type=\"variables_set\" id=\"bEZ0U2McsCV9a`KPxDu3\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field><value name=\"VALUE\"><block type=\"text_replace\" id=\"L0mw(aJjJUcvIl,%)D=l\"><value name=\"FROM\"><block type=\"text\" id=\"y}7`4)`],F`+aIu3Z4o3\"><field name=\"TEXT\">b'</field></block></value><value name=\"TO\"><block type=\"text\" id=\"j)V4on;umt|Vkj:j]],e\"><field name=\"TEXT\"></field></block></value><value name=\"TEXT\"><block type=\"variables_get\" id=\"#~B/9~M3w=@L8wY!$h1o\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field></block></value></block></value><next><block type=\"variables_set\" id=\"~N,]*W5x!z]ix=mhB~+2\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field><value name=\"VALUE\"><block type=\"text_replace\" id=\"7*_SKvuX$vllFhuQ=_NC\"><value name=\"FROM\"><block type=\"text\" id=\"8xm#e]-(JaIy#?cFoX]-\"><field name=\"TEXT\">\\r\\n'</field></block></value><value name=\"TO\"><block type=\"text\" id=\"@8w.mvtEga-@XsjGT{X$\"><field name=\"TEXT\"></field></block></value><value name=\"TEXT\"><block type=\"variables_get\" id=\"9u^ecF4yt}y{0|z^6Lyi\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field></block></value></block></value><next><block type=\"variables_set\" id=\"HcytQI5F7g?A{1cV45`7\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field><value name=\"VALUE\"><block type=\"text_replace\" id=\"vfILA7B3.]3`epT.UKV#\"><value name=\"FROM\"><block type=\"text\" id=\"4y3E]j5B|z#L?wE:;!k+\"><field name=\"TEXT\">ok</field></block></value><value name=\"TO\"><block type=\"text\" id=\"M/}V_jqRf*?R=/O`SDEK\"><field name=\"TEXT\"></field></block></value><value name=\"TEXT\"><block type=\"variables_get\" id=\"a!H/BHGe|mw`UpxwnJjV\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field></block></value></block></value><next><block type=\"variables_set\" id=\"p]msKBR#GWE7wDhb{FOk\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field><value name=\"VALUE\"><block type=\"text_trim\" id=\"iKLE}JV`3qKigT;lCK;_\"><field name=\"MODE\">BOTH</field><value name=\"TEXT\"><block type=\"variables_get\" id=\"I0w9)~5%/{-d|QQWk`v.\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field></block></value></block></value><next><block type=\"label_set_text\" id=\"q,+?Ms#{({1,GsSWHxWz\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"mVYh8PIwk5}CgMWtJU6L\"><field name=\"TEXT\">home</field></shadow><block type=\"variables_get\" id=\"aY5`bJ]jTRJJOeDZEcH}\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement><value name=\"RETURN\"><block type=\"variables_get\" id=\"~BDhrYhakzq$:agB_r]k\"><field name=\"VAR\" id=\"lVD:hy_.Zw1Q)YX`)v?#\" variabletype=\"\">uart_val</field></block></value></block><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-1050\" y=\"-630\"><next><block type=\"variables_set\" id=\",O,e(glr*@LZOvis{%Lf\"><field name=\"VAR\" id=\"BrmZAJ?*,S^@KmMd,We=\" variabletype=\"\">uart_int</field><value name=\"VALUE\"><block type=\"math_number\" id=\"H6P:w=Pns=gXwhjGv~Ww\"><field name=\"NUM\">0</field></block></value><next><block type=\"variables_set\" id=\"dKYLxJLx*KdCOM%Hx.Kx\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field><value name=\"VALUE\"><block type=\"math_number\" id=\"634$2YCAB++%L0n@z[Fz\"><field name=\"NUM\">0</field></block></value><next><block type=\"variables_set\" id=\"OYpx)tl[KC:`kJ6,w-i`\"><field name=\"VAR\" id=\"Yj+yGvU.8bY33U0rc{}P\" variabletype=\"\">prev_acc_dir</field><value name=\"VALUE\"><block type=\"math_number\" id=\"no6cIkj}GXW3j3hbCJ4s\"><field name=\"NUM\">0</field></block></value><next><block type=\"uart\" id=\"oZ^JK?U=/(JhY/9TJ870\"><field name=\"VAR\" id=\"7X/`7bo5J#},Aq%USlWm\" variabletype=\"\">uart</field><field name=\"BAUD\">9600</field><field name=\"USE_TIMER\">1</field><value name=\"TX\"><shadow type=\"math_number\" id=\"Fv1$v/qbAJ=,%fWErn_I\"><field name=\"NUM\">0</field></shadow></value><value name=\"RX\"><shadow type=\"math_number\" id=\"+Kc#:5GrPB6R*_D:ileq\"><field name=\"NUM\">26</field></shadow></value><next><block type=\"variables_set\" id=\"{c-)E7.OszaW;?q$Z)YV\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field><value name=\"VALUE\"><block type=\"text\" id=\"%U?0#T*%qn/EKJ/B|Y#R\"><field name=\"TEXT\">123</field></block></value><next><block type=\"procedures_callnoreturn\" id=\"jTvv:/3.^CQ.#niB0QQu\"><mutation name=\"draw_screen\"></mutation><next><block type=\"procedures_callnoreturn\" id=\"t9_;SM7n=BT$av..Q;7w\"><mutation name=\"check_id\"></mutation><next><block type=\"procedures_callnoreturn\" id=\",4S5@97_Hy0IYwJc4D/K\"><mutation name=\"set_id\"><arg name=\"name\"></arg></mutation><value name=\"ARG0\"><block type=\"variables_get\" id=\"vpOnT`uf+^dRSC}~}vXE\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value><next><block type=\"procedures_callnoreturn\" id=\"{cRQ5mJN2},)%bnT+Gi@\"><mutation name=\"move_home\"><arg name=\"name\"></arg></mutation><value name=\"ARG0\"><block type=\"variables_get\" id=\"v26vu`lEpq[,e#4E|j1B\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value><next><block type=\"variables_set\" id=\"qlY*/=ae.!yA67yC?!Nr\"><field name=\"VAR\" id=\"fw_`@=*e=f}4y+ehL2Z`\" variabletype=\"\">checked_pos</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"P`}%o=7Gm#zl+xme{dT(\"><mutation name=\"get_serial_pos\"><arg name=\"name\"></arg></mutation><value name=\"ARG0\"><block type=\"variables_get\" id=\"e1{oN.lbe3+BW*Eixq$.\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value></block></value><next><block type=\"basic_on_loop\" id=\"Jg_:-B|h}#u80s$Xo83}\"><statement name=\"LOOP\"><block type=\"variables_set\" id=\"*p^X*^]g+z)C)l_`?$L`\"><field name=\"VAR\" id=\"Agr,pK|N7-xtz.xJ8gt#\" variabletype=\"\">acc_dir</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"G*i9[FyTs,:S#!cKtrB6\"><mutation name=\"get_accel_dir\"></mutation></block></value><next><block type=\"variables_set\" id=\"Lkf=:bMUGXjo6af3`)tn\"><field name=\"VAR\" id=\"fw_`@=*e=f}4y+ehL2Z`\" variabletype=\"\">checked_pos</field><value name=\"VALUE\"><block type=\"procedures_callreturn\" id=\"w$o.CC-FCl?*G_;;r~H;\"><mutation name=\"get_serial_pos\"><arg name=\"name\"></arg></mutation><value name=\"ARG0\"><block type=\"text\" id=\"6+-Whdj)3M[s5q|27nF*\"><field name=\"TEXT\">123</field></block></value></block></value><next><block type=\"controls_if\" id=\"-!K{E!5q/pJ;UO?g0HfS\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"D-=wRKpBO:4E8OP4lUfU\"><field name=\"OP\">NEQ</field><value name=\"A\"><block type=\"variables_get\" id=\"u_6hPL~jFaVaYUaRh9v}\"><field name=\"VAR\" id=\"Agr,pK|N7-xtz.xJ8gt#\" variabletype=\"\">acc_dir</field></block></value><value name=\"B\"><block type=\"variables_get\" id=\"v!wDE$Gy=zoh;gbml2b3\"><field name=\"VAR\" id=\"Yj+yGvU.8bY33U0rc{}P\" variabletype=\"\">prev_acc_dir</field></block></value></block></value><statement name=\"DO0\"><block type=\"procedures_callnoreturn\" id=\"YAEQX)uR.p_^Cgp6Xrno\"><mutation name=\"move_stepper\"><arg name=\"name\"></arg><arg name=\"move\"></arg></mutation><value name=\"ARG0\"><block type=\"variables_get\" id=\")T%G2LP1~1xBO!!2r|~F\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value><value name=\"ARG1\"><block type=\"variables_get\" id=\"?3b??rL8nn)1id]BN.Jp\"><field name=\"VAR\" id=\"Agr,pK|N7-xtz.xJ8gt#\" variabletype=\"\">acc_dir</field></block></value></block></statement><next><block type=\"variables_set\" id=\"W?7TR}q./sq^T|MH1~uG\"><field name=\"VAR\" id=\"Yj+yGvU.8bY33U0rc{}P\" variabletype=\"\">prev_acc_dir</field><value name=\"VALUE\"><block type=\"variables_get\" id=\"Lds`a~y*,Uzo(_80Xi0b\"><field name=\"VAR\" id=\"Agr,pK|N7-xtz.xJ8gt#\" variabletype=\"\">acc_dir</field></block></value></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"procedures_defnoreturn\" id=\"*P`qp0G4Q}9esBgVu0.d\" x=\"-590\" y=\"-630\"><field name=\"NAME\">draw_screen</field><statement name=\"STACK\"><block type=\"label_set_mode\" id=\"/sbg2XK|OcryOltJ:6Gb\"><field name=\"COMPONENT\">label1</field><field name=\"MODE\">hide</field><next><block type=\"label_set_mode\" id=\"tZKR{!7t5kYxJ4A~pOvs\"><field name=\"COMPONENT\">label0</field><field name=\"MODE\">hide</field><next><block type=\"label_set_color\" id=\"Yg.VzKib~6THjqk7=[iO\"><field name=\"COMPONENT\">label0</field><field name=\"COLOR\">#339999</field><next><block type=\"label_set_rotate\" id=\"[y3:/gq]n%OOQy^;38-%\"><field name=\"COMPONENT\">label0</field><value name=\"Y\"><shadow type=\"math_number\" id=\"aw572d*$1x*Vv.cx6Jtx\"><field name=\"NUM\">90</field></shadow></value><next><block type=\"label_set_font\" id=\".h}g:WrgwF$]KW9$mIDv\"><field name=\"COMPONENT\">label0</field><field name=\"FONT_FAMILY\">FONT_DejaVu18</field><next><block type=\"label_set_rotate\" id=\"pXu*=5x$=C-5N6OOfywr\"><field name=\"COMPONENT\">label1</field><value name=\"Y\"><shadow type=\"math_number\" id=\"1a*?O)+W/H[twwF!]C47\"><field name=\"NUM\">90</field></shadow></value><next><block type=\"rect_set_bgcolor\" id=\")G=m9Bys@qE0bn,_ty9j\"><field name=\"COMPONENT\">rectangle0</field><field name=\"COLOR\">#339999</field><next><block type=\"rect_set_size\" id=\"6n~P.iL6KF[ail,~2R*b\"><field name=\"COMPONENT\">rectangle0</field><value name=\"WIDTH\"><shadow type=\"math_number\" id=\"HqoQq7?]LrIHwndJ;PY7\"><field name=\"NUM\">50</field></shadow></value><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"/8Y7tS5BqcO^-Kq|+@ow\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"rect_set_position\" id=\"m]u(#9eu.7;nPZq#h5g}\"><field name=\"COMPONENT\">rectangle0</field><value name=\"X\"><shadow type=\"math_number\" id=\"(SL=hq[e;0B8PGG1h}o@\"><field name=\"NUM\">0</field></shadow></value><value name=\"Y\"><shadow type=\"math_number\" id=\"MJ.R{HPEWj`y0z_D#ah[\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"Q+Lm8!sl9XI,+R86}OgZ\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"a#T-#|I=sG_|8tNsJmML\" x=\"-590\" y=\"-290\"><field name=\"NAME\">check_id</field><statement name=\"STACK\"><block type=\"uart_write_line\" id=\"ZbNpADag7pkb]sy@oXmb\"><field name=\"VAR\" id=\"7X/`7bo5J#},Aq%USlWm\" variabletype=\"\">uart</field><value name=\"VALUE\"><shadow type=\"text\" id=\"^^U[K!)[/8e3|6%cHIie\"><field name=\"TEXT\">ID</field></shadow></value><next><block type=\"timer_delay_ms\" id=\"wCEdslAvBA-~@7}0.Y0C\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"Qr@0K^T5hc%X_AuWBAvg\"><field name=\"NUM\">150</field></shadow></value></block></next></block></statement></block><block type=\"procedures_defreturn\" id=\"Ch{lC?Je/AHzYU#ZdaS!\" x=\"-30\" y=\"-308\"><field name=\"NAME\">get_accel_dir</field><statement name=\"STACK\"><block type=\"variables_set\" id=\"}B}GJ**=;7gh-E08-64W\"><field name=\"VAR\" id=\"Agr,pK|N7-xtz.xJ8gt#\" variabletype=\"\">acc_dir</field><value name=\"VALUE\"><block type=\"IMU_GET_ACC_Y\" id=\"@(CkCdT0E6lLrtP986@^\"></block></value><next><block type=\"controls_if\" id=\"ow4GzB=ym=H.QI=(E.,T\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"(xmf5y=$Ss#fCrzhZ^}f\"><field name=\"OP\">GT</field><value name=\"A\"><block type=\"variables_get\" id=\"yYuf?H.]pTBMKQM[)fLU\"><field name=\"VAR\" id=\"Agr,pK|N7-xtz.xJ8gt#\" variabletype=\"\">acc_dir</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"LUlYz2sG@c=!GT(TB*T;\"><field name=\"NUM\">0.32</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"Kq]IV8;zA-5z^48o0eQp\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"#,[-Yn6E@#[]K[v|#b_~\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"variables_get\" id=\"y8I4cY~n3hc/uL.a,/P5\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"kiP4Ey,3fabG%*h}qZXv\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"timer_delay_ms\" id=\"Nx,.7uWBAEO(K/+U_R3U\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"D!r5.87@p#,M0qUqp^Tg\"><field name=\"NUM\">120</field></shadow></value><next><block type=\"controls_if\" id=\"*aRe8Io4Z(CBYiXb-:J^\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"}Iy_]Lfqw3(:7:Q]w|l-\"><field name=\"OP\">GTE</field><value name=\"A\"><block type=\"variables_get\" id=\"lWZH@FE+Js8QSU^L]^b1\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"f3SaU2Nlje_KvW@;#CCP\"><field name=\"NUM\">50</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"L3(|jZ)W.6l!c^S1+tyX\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field><value name=\"VALUE\"><block type=\"math_number\" id=\"+_ou}dBjUV!R;Yv6(Kib\"><field name=\"NUM\">50</field></block></value></block></statement></block></next></block></next></block></statement><next><block type=\"controls_if\" id=\"w}xR]As?]x1s(@n`A-}9\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"ZWALMh4r9SgQdVO+H%/l\"><field name=\"OP\">LT</field><value name=\"A\"><block type=\"variables_get\" id=\"5Vc,zw)Lr/!n8OC_MY{Y\"><field name=\"VAR\" id=\"Agr,pK|N7-xtz.xJ8gt#\" variabletype=\"\">acc_dir</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"n_0+,}F5IK%^Hf+o;1te\"><field name=\"NUM\">0.12</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"Q];8oJtpkuoHk^8L@H|Z\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field><value name=\"VALUE\"><block type=\"math_arithmetic\" id=\"Nw0E$Nw%I%SWu`IhNTSP\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"variables_get\" id=\"dl%?Sxs5W$QBiW!,V$6E\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"6Wu}aW%`=U)wZs-[NE59\"><field name=\"NUM\">1</field></block></value></block></value><next><block type=\"timer_delay_ms\" id=\"k9hE0=5m`QD]_P~5q}2F\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"}!{kQ+Q-D50i%VR@rk[c\"><field name=\"NUM\">120</field></shadow></value><next><block type=\"controls_if\" id=\"r+}u`34=eijxbtgw*XVC\"><value name=\"IF0\"><block type=\"logic_compare\" id=\"qR+Ff~TbSEIP/0M0cn_u\"><field name=\"OP\">LTE</field><value name=\"A\"><block type=\"variables_get\" id=\"_o3UPrcKHkQc9xKTl1T?\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"4S7xJ!bT9C(pIRoq4J/i\"><field name=\"NUM\">0</field></block></value></block></value><statement name=\"DO0\"><block type=\"variables_set\" id=\"gx`E%jFUKcgA[Pw|%4.3\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field><value name=\"VALUE\"><block type=\"math_number\" id=\"Bi_)mT1Eg?r8aS=|0Bq*\"><field name=\"NUM\">0</field></block></value></block></statement></block></next></block></next></block></statement><next><block type=\"label_set_position_y\" id=\"LC)}HR]F+wzw/sn|5lAe\"><field name=\"COMPONENT\">label0</field><value name=\"Y\"><shadow type=\"math_number\" id=\"#Pvo+Hat,IQKn.8EZD/X\"><field name=\"NUM\">0</field></shadow><block type=\"math_arithmetic_arr\" id=\"B_2N,OkC![K5{TU}0A(l\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\" id=\"Q(@^F0m(gZ)w+u|kemp)\"><field name=\"NUM\">15</field></block></value><value name=\"B\"><block type=\"math_arithmetic_arr\" id=\"|bR,FWm1lY(DD?d?ecMd\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"variables_get\" id=\"foB0JV7x5+dI@^*`Mt*U\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"DDJh43=sKfYX9:*JlpLx\"><field name=\"NUM\">3</field></block></value></block></value></block></value><next><block type=\"label_set_text\" id=\"r6zs7){OJZs4uWKKtYmE\"><field name=\"COMPONENT\">label0</field><value name=\"TEXT\"><shadow type=\"text\" id=\"mVYh8PIwk5}CgMWtJU6L\"><field name=\"TEXT\">home</field></shadow><block type=\"variables_get\" id=\"^(kz,C+DoN9Ay[ZgC}mA\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value><next><block type=\"rect_set_size_height\" id=\"DyL3;vmbxQ}NuYa0$a)a\"><field name=\"COMPONENT\">rectangle0</field><value name=\"HEIGHT\"><shadow type=\"math_number\" id=\"r0U438*5-Sol;8BAQBS7\"><field name=\"NUM\">30</field></shadow><block type=\"math_arithmetic_arr\" id=\"`[3VS13|^BxtryeTxQ8w\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_number\" id=\"{7I`:DLN.,xdm-%b1/eL\"><field name=\"NUM\">10</field></block></value><value name=\"B\"><block type=\"math_arithmetic_arr\" id=\"Wv`O1TGZ(*6QORdNfaG*\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"variables_get\" id=\"_F{qBSZx1tG:f23hK]o%\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value><value name=\"B\"><block type=\"math_number\" id=\"]%XKzo]Hi3%{@za;c.bL\"><field name=\"NUM\">3</field></block></value></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></statement><value name=\"RETURN\"><block type=\"variables_get\" id=\"C=@+BbRCg)1KqR)CXb1X\"><field name=\"VAR\" id=\"?MXEH%3lnL@0HX06[{h@\" variabletype=\"\">pos</field></block></value></block><block type=\"procedures_defnoreturn\" id=\"u*r:?tT*]I|3,]=$sIk7\" x=\"410\" y=\"-230\"><mutation><arg name=\"name\" varid=\"7}L@W8zNR5{CR{r60H+y\"></arg><arg name=\"move\" varid=\"BlVWqew4=UHR!3u6js/b\"></arg></mutation><field name=\"NAME\">move_stepper</field><statement name=\"STACK\"><block type=\"variables_set\" id=\"$MR4F;[pQ?[TvI$+dE|D\"><field name=\"VAR\" id=\"BlVWqew4=UHR!3u6js/b\" variabletype=\"\">move</field><value name=\"VALUE\"><block type=\"convent_str\" id=\"kS++1?uNiCDdBJNn)FqU\"><value name=\"VALUE\"><block type=\"variables_get\" id=\"Izk3jaYABJNdepJmR{o]\"><field name=\"VAR\" id=\"BlVWqew4=UHR!3u6js/b\" variabletype=\"\">move</field></block></value></block></value><next><block type=\"variables_set\" id=\";W,BZN7NLJFo%tD*?hQi\"><field name=\"VAR\" id=\"bAx,|CRZ,Un%pV?]72$]\" variabletype=\"\">message</field><value name=\"VALUE\"><block type=\"text_add\" id=\"403LiwNYwnUFcMCqG?=.\"><value name=\"arg0\"><shadow type=\"text\" id=\"C,$uBcW-j%G0?9F`N~K!\"><field name=\"TEXT\">ID</field></shadow></value><value name=\"arg1\"><block type=\"text_add\" id=\":)fc%D}B@N2tAp$1B-]P\"><value name=\"arg0\"><shadow type=\"text\" id=\"C?AL(U%Awml(=%9A~!3h\" disabled=\"true\"><field name=\"TEXT\">ID</field></shadow><block type=\"variables_get\" id=\":L5kAs7~Pm8m|B;ntL!N\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"Y:-C];4Es%PD*{k3|JN%\"><field name=\"TEXT\">:X</field></block></value></block></value></block></value><next><block type=\"variables_set\" id=\"arxjbP/CblNI,9!]j^}2\"><field name=\"VAR\" id=\"eOa3`uu^bjCW=~#JosP_\" variabletype=\"\">out</field><value name=\"VALUE\"><block type=\"text_add\" id=\"+L~`xmA%VA#Pp+Vnc1FC\"><value name=\"arg0\"><shadow type=\"text\" id=\"4*xsF60oy,@5TTIgXT4N\"><field name=\"TEXT\">ID123:X</field></shadow><block type=\"variables_get\" id=\"6]73rtAbvJQv*O},w!`N\"><field name=\"VAR\" id=\"bAx,|CRZ,Un%pV?]72$]\" variabletype=\"\">message</field></block></value><value name=\"arg1\"><block type=\"variables_get\" id=\"8sxE(?6`.c3ZTp]+xHSj\"><field name=\"VAR\" id=\"BlVWqew4=UHR!3u6js/b\" variabletype=\"\">move</field></block></value></block></value><next><block type=\"uart_write_line\" id=\"4ov-!z*]=%-e5To`qgoc\"><field name=\"VAR\" id=\"7X/`7bo5J#},Aq%USlWm\" variabletype=\"\">uart</field><value name=\"VALUE\"><shadow type=\"text\" id=\"ysyyMU^U84=hHNO!4QZq\"><field name=\"TEXT\">ID123Z</field></shadow><block type=\"variables_get\" id=\"x,Zwu@LaNOJa*%vYsW1Y\"><field name=\"VAR\" id=\"eOa3`uu^bjCW=~#JosP_\" variabletype=\"\">out</field></block></value><next><block type=\"timer_delay_ms\" id=\"WSU|8L#@/k2b$?J/$R6`\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"Zfwr0l?C/!L`V*P;P`-w\"><field name=\"NUM\">20</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"-POgNz!ID=cHnRX4F}Tm\" x=\"-590\" y=\"-150\"><mutation><arg name=\"name\" varid=\"7}L@W8zNR5{CR{r60H+y\"></arg></mutation><field name=\"NAME\">set_id</field><statement name=\"STACK\"><block type=\"variables_set\" id=\"i2k9M}-WqxPxg(+HK]Ht\"><field name=\"VAR\" id=\"bAx,|CRZ,Un%pV?]72$]\" variabletype=\"\">message</field><value name=\"VALUE\"><block type=\"text_add\" id=\".aCO^%pnqjv1$Z:r`(xB\"><value name=\"arg0\"><shadow type=\"text\" id=\"u{fgHH9oGk.1K36TG%0)\"><field name=\"TEXT\">ID=</field></shadow></value><value name=\"arg1\"><block type=\"variables_get\" id=\"^AP|8ivSOEg]6]9,)L12\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value></block></value><next><block type=\"uart_write_line\" id=\"4;1ERS`rOA!{KAd5W-yD\"><field name=\"VAR\" id=\"7X/`7bo5J#},Aq%USlWm\" variabletype=\"\">uart</field><value name=\"VALUE\"><shadow type=\"text\" id=\"w9UHjoAAm1q+SyEwZYt4\"><field name=\"TEXT\">ID=123</field></shadow><block type=\"variables_get\" id=\"%s|;/5J51^LzX,XX-pEm\"><field name=\"VAR\" id=\"W5hwx*N[ag#2qzu.F%n;\" variabletype=\"\">id_set</field></block></value><next><block type=\"timer_delay_ms\" id=\"!5GeuS6Oo!pSf0-X+%bh\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"D!;+9p`h?$2K,}mR(#|V\"><field name=\"NUM\">150</field></shadow></value></block></next></block></next></block></statement></block><block type=\"procedures_defnoreturn\" id=\"]UkC7ja:oMJ36:,e3NQ^\" x=\"-590\" y=\"30\"><mutation><arg name=\"name\" varid=\"7}L@W8zNR5{CR{r60H+y\"></arg></mutation><field name=\"NAME\">move_home</field><statement name=\"STACK\"><block type=\"variables_set\" id=\"bpUZh^^7y0LT`B48bm(8\"><field name=\"VAR\" id=\"bAx,|CRZ,Un%pV?]72$]\" variabletype=\"\">message</field><value name=\"VALUE\"><block type=\"text_add\" id=\"~:D7N@b^hId!pk:n,gF`\"><value name=\"arg0\"><shadow type=\"text\" id=\"t0]rvH8#Ppa=T.[]Jf$x\"><field name=\"TEXT\">ID</field></shadow></value><value name=\"arg1\"><block type=\"text_add\" id=\"^yF|ryfP-ZxhH{ITEtyT\"><value name=\"arg0\"><shadow type=\"text\" id=\"C?AL(U%Awml(=%9A~!3h\" disabled=\"true\"><field name=\"TEXT\">ID</field></shadow><block type=\"variables_get\" id=\"?i2W~P/IT_cIt%;xAE*X\"><field name=\"VAR\" id=\"7}L@W8zNR5{CR{r60H+y\" variabletype=\"\">name</field></block></value><value name=\"arg1\"><block type=\"text\" id=\"H=ra0Mp;!9Xy][jT!M8|\"><field name=\"TEXT\">Z</field></block></value></block></value></block></value><next><block type=\"uart_write_line\" id=\"/c6CSc_|t]pu)EL%-^Br\"><field name=\"VAR\" id=\"7X/`7bo5J#},Aq%USlWm\" variabletype=\"\">uart</field><value name=\"VALUE\"><shadow type=\"text\" id=\"^fw+AqY5nhIL%K9bp~-|\"><field name=\"TEXT\">ID123Z</field></shadow><block type=\"convent_str\" id=\"*vC]bTu{j9*ujhNuq8h?\"><value name=\"VALUE\"><block type=\"variables_get\" id=\"BB1[B.aXTqvbZ6()zgXZ\"><field name=\"VAR\" id=\"bAx,|CRZ,Un%pV?]72$]\" variabletype=\"\">message</field></block></value></block></value><next><block type=\"label_set_text\" id=\"Qlm?r)Xbkks]u(8OQsr*\"><field name=\"COMPONENT\">label1</field><value name=\"TEXT\"><shadow type=\"text\" id=\"h[q!|f~=lM0q!{s7;fbI\"><field name=\"TEXT\">home</field></shadow></value><next><block type=\"timer_delay\" id=\"Lm=671IVZ5-Pj9`]A9+#\"><value name=\"DELAY\"><shadow type=\"math_number\" id=\"[g0*Q(fUqsFZ?pme~pA`\"><field name=\"NUM\">3</field></shadow></value></block></next></block></next></block></next></block></statement></block>","Blockly.Remotes":[],"modules":["machine","imu"]}