-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 17.1 KB
/
Copy pathmain.blocks
File metadata and controls
1 lines (1 loc) · 17.1 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="G[|Tf6~;uzrF%ku22ce[">abcd</variable><variable id="7sLa##1X@}u7CFgX)NDA">despla</variable><variable id="P;cE=r5oEludnV_lT(EW">prueba</variable><variable id="!6VKGBnqG94r-zhQ]w-o">index</variable><variable id="E-btMdZQa2dnj~ApkK#0">letra</variable><variable id="Z@+S6[M}nkrhz-eAUzp[">letra_posi</variable><variable id="~PKkKFEcP~uW=iep6^be">letra_new</variable><variable id="tl-w354`-p5,vU|fk-r+">resultado</variable><variable id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</variable><variable id="9][cZwAg4mr-4ZLx/0wt">despla_ini</variable><variable id="5GoAW~OxBhqRoX{:m89a">mensaje_env</variable></variables><block type="serial_on_data_received" id="19+R_2D#oJr/yA[Y^O#J" x="799" y="-87"><value name="delimiters"><shadow type="serial_delimiter_conv" id="Gig_H#j:m:wT:*cjR;Ey"><field name="del">Delimiters.NewLine</field></shadow></value><statement name="HANDLER"><block type="variables_set" id="VCy?S~|CU4u8Y8^y4276"><field name="VAR" id="5GoAW~OxBhqRoX{:m89a">mensaje_env</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="serial_read_line" id="I^Uhv)i7DW*fu}};8_I-"></block></value><next><block type="pxt_controls_for" id="4_:1_2GO]k2VXGImmz*a"><value name="VAR"><shadow type="variables_get_reporter" id="0}yP?%x?q;Q_N0epi^=,"><field name="VAR" id="!6VKGBnqG94r-zhQ]w-o">index</field></shadow></value><value name="TO"><shadow type="math_whole_number" id="E])VMTaZSz9?Z!rqbgRo"><field name="NUM">4</field></shadow><block type="math_js_round" id="i=jOT9]GX?k*EB+vze{o"><field name="OP">ceil</field><value name="ARG0"><shadow type="math_number" id="o.kn_|gYOdf`VXHx-{X4" disabled="true"><field name="NUM">0</field></shadow><block type="math_arithmetic" id=",W%f~)]HAY{lu;Q]!D*4"><field name="OP">DIVIDE</field><value name="A"><shadow type="math_number" id="1`Ncrg4A=~.%`}2,1D#5" disabled="true"><field name="NUM">0</field></shadow><block type="text_length" id="aiAB@pi5,xjnr*5#yP3/"><value name="VALUE"><shadow type="text" id="v/J?M1DPGq~nW!gkF`{h" disabled="true"><field name="TEXT">Hola</field></shadow><block type="variables_get" id="wL9F|SEvv%Z[FL/BwA)L"><field name="VAR" id="5GoAW~OxBhqRoX{:m89a">mensaje_env</field></block></value></block></value><value name="B"><shadow type="math_number" id="~T@%GO+1ZhD[4y{tJa*`"><field name="NUM">18</field></shadow></value></block></value></block></value><statement name="DO"><block type="radio_datagram_send_string" id="B_)YXclF!L]?uj93sGI:"><value name="msg"><shadow type="text"><field name="TEXT"></field></shadow><block type="function_call_output" id="aRXtwzz8@opIE[A5jCyx"><mutation name="co_deco" functionid="K/mrgJ[7~ydHVWaY+Htt"><arg name="text" id="G~daFFy]f_9om?x([s=Y" type="string"></arg><arg name="deco" id="[e!V3r^PNhsXEYE-+zG?" type="boolean"></arg></mutation><value name="G~daFFy]f_9om?x([s=Y"><shadow type="text" id="2VvU4_X_;i[.oh:H)LhN"><field name="TEXT">abc</field></shadow><block type="string_substr" id="zQ6@e0ZLi#jo`VVXa_W_"><value name="this"><shadow type="text" id="Zx:Kpl@S^El:e*wbd]*O" disabled="true"><field name="TEXT">this</field></shadow><block type="variables_get" id="-:yi,Wc`r0!G:0]^.tF5"><field name="VAR" id="5GoAW~OxBhqRoX{:m89a">mensaje_env</field></block></value><value name="start"><shadow type="math_number" id="4bp{+]TDJ#T|+C#`H@-=" disabled="true"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="g!Q=BSw5pt_~W6+gKw`?"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number" id="#M+,408VJrz+6glh((G."><field name="NUM">0</field></shadow><block type="variables_get" id="|Vy56vT/K):r.o%2k|?u"><field name="VAR" id="!6VKGBnqG94r-zhQ]w-o">index</field></block></value><value name="B"><shadow type="math_number" id="{PnSj~FtU@:m9OdayTFM"><field name="NUM">18</field></shadow></value></block></value><value name="length"><shadow type="math_number" id="i.AQHIu/(NT=]Am*lMcg"><field name="NUM">10</field></shadow></value></block></value><value name="[e!V3r^PNhsXEYE-+zG?"><shadow type="logic_boolean" id="ty-[:B5Kr{dA?S7QD3Ae"><field name="BOOL">TRUE</field></shadow></value></block></value></block></statement></block></next></block></statement></block><block type="pxt-on-start" id="R80tQ$D7V2:_MR@x)HE_" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="kvaw:~y!_N:7upAGQ(T,"><field name="VAR" id="G[|Tf6~;uzrF%ku22ce[">abcd</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="text" id="y/V?Ok:Q`Hyjsl6X4-s{"><field name="TEXT">abcdefghijklmnopqrstuvwxyz1234567890 /</field></block></value><next><block type="variables_change" id="ga=b`Ib{tzPL!U=`e$ET"><field name="VAR" id="9][cZwAg4mr-4ZLx/0wt">despla_ini</field><value name="VALUE"><shadow type="math_number" id="595{^NUHHSGY6:5+l1!K"><field name="NUM">11</field></shadow></value><next><block type="variables_set" id="q3l0SUf+7Fr@-AwF*cX`"><field name="VAR" id="P;cE=r5oEludnV_lT(EW">prueba</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="text" id="H0S^QVxFLR8|aIi(Pwpt"><field name="TEXT">4 8wuywbwy 8w</field></block></value><next><block type="radio_set_group" id="MK{92Q!+Rk~:uW(z4bu4"><value name="ID"><shadow type="math_number_minmax" id="O;^y+Fk2E)a}m_SDe#s3"><mutation min="0" max="255" label="Id" precision="0"></mutation><field name="SLIDER">5</field></shadow></value><next><block type="serial_redirect_to_usb" id="E0i-fw;{:N{/]sF,0#dW"><next><block type="serialSetRxBufferSize" id="eV+H9Zb/u0@Fr*n+C9)k"><value name="size"><shadow type="math_number" id="Vs_%9U;,IC1lw(#Dr3++"><field name="NUM">125</field></shadow></value><next><block type="serialSetTxBufferSize" id="n{DI1`abv.FCfg[YlWE,"><value name="size"><shadow type="math_number" id="[lLZ,ew$,:yG%)THuM=L"><field name="NUM">125</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="8A/YCVrGPOFoJv2:!Uy`" x="-73" y="475"></block><block type="function_definition" id="@`Pw(Pr1={OO_MloAo17" x="901" y="447"><mutation name="co_deco" functionid="K/mrgJ[7~ydHVWaY+Htt"><arg name="text" id="G~daFFy]f_9om?x([s=Y" type="string"></arg><arg name="deco" id="[e!V3r^PNhsXEYE-+zG?" type="boolean"></arg></mutation><field name="function_name">co_deco</field><value name="G~daFFy]f_9om?x([s=Y"><shadow type="argument_reporter_string" id="{^t0doaQ4]E0!C(f|CkZ"><field name="VALUE">text</field></shadow></value><value name="[e!V3r^PNhsXEYE-+zG?"><shadow type="argument_reporter_boolean" id="qqZn],8b|7xJPTWsl.m{"><field name="VALUE">deco</field></shadow></value><statement name="STACK"><block type="controls_if" id="=;(k@3#1+`[]nXFYwS(P"><mutation else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="argument_reporter_boolean" id="FzB(0V$$DbTFI}}bb8qt"><field name="VALUE">deco</field></block></value><statement name="DO0"><block type="variables_set" id="Of%IZ:(tXQ@yGmw=g/w2"><field name="VAR" id="7sLa##1X@}u7CFgX)NDA">despla</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="l:^QYMh:Fgxa4dfT#A?J"><field name="VAR" id="9][cZwAg4mr-4ZLx/0wt">despla_ini</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="3S|sfwS75|dOm{/AuyCs"><field name="VAR" id="7sLa##1X@}u7CFgX)NDA">despla</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="N5ri;FfToBD+S=jwi]uH"><field name="OP">MULTIPLY</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="UFa+@chO2q%SSX^f=}VB"><field name="VAR" id="9][cZwAg4mr-4ZLx/0wt">despla_ini</field></block></value><value name="B"><shadow type="math_number" id="_3A5q$Wzd-99pK^eiozF"><field name="NUM">-1</field></shadow></value></block></value></block></statement><next><block type="variables_set" id="}X4xZi(V9hkJ/[@sD,^E"><field name="VAR" id="tl-w354`-p5,vU|fk-r+">resultado</field><breakpoint></breakpoint><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="text" id="-R`(hQ#zrT(ri{3hkBY["><field name="TEXT"></field></block></value><next><block type="pxt_controls_for" id="U9rx-}q42*?~s1DccVIy"><value name="VAR"><shadow type="variables_get_reporter" id="sUBiw@AtVwS(?gie$u|5"><field name="VAR" id="!6VKGBnqG94r-zhQ]w-o">index</field></shadow></value><value name="TO"><shadow type="math_whole_number"><field name="NUM">4</field></shadow><block type="math_arithmetic" id="~$fHj2!*HMl|Dl(N!*{P"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="text_length" id="l1eK9e51=W`)[(f7DADS"><value name="VALUE"><shadow type="text" disabled="true"><field name="TEXT">Hello</field></shadow><block type="argument_reporter_string" id=":Y$Q6H/:R!B24!ZYR-y%"><field name="VALUE">text</field></block></value></block></value><value name="B"><shadow type="math_number" id="Wl{jE;6uL}#oigdeLTUA"><field name="NUM">1</field></shadow></value></block></value><statement name="DO"><block type="variables_set" id="*8cjNhkcbIt!|l-%}Rr]"><field name="VAR" id="E-btMdZQa2dnj~ApkK#0">letra</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="string_get" id="J9e;/^U.lYO-IY,}Dum."><value name="this"><shadow type="text" disabled="true"><field name="TEXT">this</field></shadow><block type="argument_reporter_string" id="AGS+Pn4`u{-@%bjvzdV:"><field name="VALUE">text</field></block></value><value name="pos"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="@,)X|z4V?26P5IRTOb+i"><field name="VAR" id="!6VKGBnqG94r-zhQ]w-o">index</field></block></value></block></value><next><block type="variables_set" id=",45}riB|H?#NAc{5qHnF"><field name="VAR" id="Z@+S6[M}nkrhz-eAUzp[">letra_posi</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="string_indexof" id="c#kb?(-FZ,(Z*A3w+=Ja"><value name="this"><shadow type="text" disabled="true"><field name="TEXT">this</field></shadow><block type="variables_get" id="3ffko`#Rl=hur5doZqJ?"><field name="VAR" id="G[|Tf6~;uzrF%ku22ce[">abcd</field></block></value><value name="searchValue"><shadow type="text"><field name="TEXT"></field></shadow><block type="variables_get" id="OrR:8Dit-CZ|_sK0:iqB"><field name="VAR" id="E-btMdZQa2dnj~ApkK#0">letra</field></block></value></block></value><next><block type="variables_set" id="w=eyXlF3w7GG1838k?|H"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="[}m|C^i(0RNl6_6+7)E~"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="TEgyA,fq[7mwnnh{Uuu:"><field name="VAR" id="Z@+S6[M}nkrhz-eAUzp[">letra_posi</field></block></value><value name="B"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="variables_get" id="[b}K;xR3EnFp?[eA]9{m"><field name="VAR" id="7sLa##1X@}u7CFgX)NDA">despla</field></block></value></block></value><next><block type="controls_if" id="3)iH5cJ^~8-MhzYV/+Qv"><mutation elseif="1" else="1"></mutation><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=")cNe3jEKK9yPVa6@j[D;"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="8fN[jVod059qj0C~(vVs"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="text_length" id="?xB9rYW1+h#O+Gl8H*Ul"><value name="VALUE"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id=",GH$GYrai{a~%B,_)RtN"><field name="VAR" id="G[|Tf6~;uzrF%ku22ce[">abcd</field></block></value></block></value></block></value><statement name="DO0"><block type="variables_set" id="r1~r=q[59UPTygD:FA2@"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="aWF|90~i*MOH|3-9f8|d"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="Ls.|YSJ$wPyrZDZ{_t0m"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field></block></value><value name="B"><shadow type="math_number" disabled="true"><field name="NUM">0</field></shadow><block type="text_length" id="P?{={NOzpJR+EnTmokwl"><value name="VALUE"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="F0PP]L!t*(eZu[e{r;b{"><field name="VAR" id="G[|Tf6~;uzrF%ku22ce[">abcd</field></block></value></block></value></block></value></block></statement><value name="IF1"><block type="logic_compare" id="m.feVm2%MU5$sFy4j~uy"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="B`)PWJ+TcmJz/;/rz4zf"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field></block></value><value name="B"><shadow type="math_number" id=";X[a~y#|SjM{hMfpF6s}"><field name="NUM">0</field></shadow></value></block></value><statement name="DO1"><block type="variables_set" id="#+3gty-prK4YOZ#TMK^H"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="o2~U:*r+hps3T,!|Ac%Z"><field name="OP">ADD</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="text_length" id="/hZpG?QD;:GEhoUMWb6D"><value name="VALUE"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="mbp~gGx9gqR*|Z-y/|A3"><field name="VAR" id="G[|Tf6~;uzrF%ku22ce[">abcd</field></block></value></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="OCvNe0C..c7r!bq)BmrE"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field></block></value></block></value></block></statement><next><block type="variables_set" id="ot$jEjA5OyVsu6w=NfS-"><field name="VAR" id="~PKkKFEcP~uW=iep6^be">letra_new</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="string_get" id="e+pkS@].9UJ3_fq|2Enh"><value name="this"><shadow type="text" disabled="true"><field name="TEXT">this</field></shadow><block type="variables_get" id="*@K5z[|(l@n@50PW`%BX"><field name="VAR" id="G[|Tf6~;uzrF%ku22ce[">abcd</field></block></value><value name="pos"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="o7Mi_J|vcXDhmEOFe@!Q"><field name="VAR" id="9_ciCZ6c6,cJ!KPX6J}/">new_posi</field></block></value></block></value><next><block type="variables_set" id="KIca8hi(YIxs]*4z(9ry"><field name="VAR" id="tl-w354`-p5,vU|fk-r+">resultado</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="text_join" id="I^?/=N9pJ=^7]f8e,t;G"><mutation items="2"></mutation><value name="ADD0"><shadow type="text"><field name="TEXT">Hello</field></shadow><block type="variables_get" id="ft[[QPBtZ-;?}y@hACX,"><field name="VAR" id="tl-w354`-p5,vU|fk-r+">resultado</field></block></value><value name="ADD1"><shadow type="text"><field name="TEXT">World</field></shadow><block type="variables_get" id="2IYXT2:tD0p;}3#*Km`Z"><field name="VAR" id="~PKkKFEcP~uW=iep6^be">letra_new</field></block></value></block></value></block></next></block></next></block></next></block></next></block></next></block></statement><next><block type="function_return" id="E6Y1{yeDG?gg:mpdaJIe"><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="-zB-Q[MXl_Y)|GOSws~0"><field name="VAR" id="tl-w354`-p5,vU|fk-r+">resultado</field></block></value></block></next></block></next></block></next></block></statement></block><block type="radio_on_string_drag" id="6^,~A%=]xkWQ_t?=B=SX" x="75" y="638"><value name="HANDLER_DRAG_PARAM_receivedString"><shadow type="argument_reporter_string" id="0iSym|.felOdQ8@aMF[A"><field name="VALUE">receivedString</field></shadow></value><statement name="HANDLER"><block type="serial_writeline" id=")-DDCgL)bHER3-y$W:gT"><value name="text"><shadow type="text"><field name="TEXT"></field></shadow><block type="function_call_output" id="ARa{t6m#Dt-N|ob}?P9;"><mutation name="co_deco" functionid="K/mrgJ[7~ydHVWaY+Htt"><arg name="text" id="G~daFFy]f_9om?x([s=Y" type="string"></arg><arg name="deco" id="[e!V3r^PNhsXEYE-+zG?" type="boolean"></arg></mutation><value name="G~daFFy]f_9om?x([s=Y"><shadow type="text"><field name="TEXT">abc</field></shadow><block type="argument_reporter_string" id="d^d^,F+j6L3te}g(:B?J"><field name="VALUE">receivedString</field></block></value><value name="[e!V3r^PNhsXEYE-+zG?"><shadow type="logic_boolean" id="R5URr24O!S.j7=EjI#?v"><field name="BOOL">FALSE</field></shadow></value></block></value></block></statement></block></xml>