Update: 更新板卡examples

This commit is contained in:
王立帮
2024-07-23 21:49:42 +08:00
parent 43caecbae6
commit a499290f0f
1225 changed files with 2013 additions and 1963 deletions

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="ir_recv" id="6bbMjUOryE8IInlp1!Yy" x="69" y="85"><field name="VAR">ir_item</field><value name="PIN"><shadow type="pins_digital" id="H2OX/[-tWpuo-7;bp8o="><field name="PIN">2</field></shadow></value><statement name="DO"><block type="serial_print_num" id="{$+DV{ZShLUngWXDxU#s"><field name="serial_select">Serial</field><field name="new_line">println</field><field name="STAT">HEX</field><value name="CONTENT"><block type="variables_get" id="PJ94%RkQsJkj#{+GG#P,"><field name="VAR">ir_item</field></block></value><next><block type="controls_switch_case" id="ZVy!rc:]UFqwheDhU4Ff"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="3" else="1"></mutation><value name="IF0"><block type="variables_get" id="$.T0_(o|kxYVk1)K+cZ)"><field name="VAR">ir_item</field></block></value><value name="IF1"><block type="math_number" id="bd9i;jB{$:NC^Rzc=!{s"><field name="NUM">0xFFA25D</field></block></value><statement name="DO1"><block type="inout_digital_write2" id="*=qwI_Mv0#t[jo2gNy^3"><value name="PIN"><shadow type="pins_digital" id="l8_Q/N2}u]RhYMrOmyAu"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="_mV%yEq@}$xFD5O?0~mO"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF2"><block type="math_number" id="!N$RdTgrM[mS,T}R[JoL"><field name="NUM">0xFF629D</field></block></value><statement name="DO2"><block type="inout_digital_write2" id="arM77HhM9tY%ueTy-TgF"><value name="PIN"><shadow type="pins_digital" id="Be@e|6`/-Fax$HcVTE]e"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="dBKgG648A.Dl1)cVLHxa"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF3"><block type="math_number" id="q8g/Uq_OVK.-F]$nW{pb"><field name="NUM">0xFFE21D</field></block></value><statement name="DO3"><block type="inout_digital_write2" id="H2[HccKu+5VBZ5Rn%_h}"><value name="PIN"><shadow type="pins_digital" id="`yL%ITbDa9ELyitrOm/."><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="+?Kj+JAl+h:M*oF?@ope"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="3OW|KxQPLW@.Dp.10ugR"><value name="PIN"><shadow type="pins_digital" id="c7^R=]e$nmu_-Xy)k-5J"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="$O(:|YP,YbRpL58PAT):"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="hU@I%GQOpQ}c.q+a-11G"><value name="PIN"><shadow type="pins_digital" id="bv^6oYl%MtKE9L!*YH7Y"><field name="PIN">10</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Hv02,*qmSYsx68v$#;w{"><field name="BOOL">LOW</field></shadow></value><next><block type="inout_digital_write2" id="9h^IIwO_w5m4to}95/Lg"><value name="PIN"><shadow type="pins_digital" id=":-{^vB31M#|$LVpfv~]]"><field name="PIN">11</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="b/dn(=,[Jj~bjr8l,8rg"><field name="BOOL">LOW</field></shadow></value></block></next></block></next></block></statement></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="3W)Qcgc!z4s5Ho)WFl]," x="0" y="53"><field name="VALUE">IIC通信主机发送字符a、b、c</field></block><block type="base_setup" id="O2|Y?g/J;3MNA}[kZ8%#" x="0" y="118"><statement name="DO"><block type="i2c_master_Init" id="T}wjVmh.vk0DgS*f9h$G"></block></statement></block><block type="controls_for" id="(H+_O$cAY*c]lxl~d@3{" x="0" y="209"><field name="VAR">i</field><value name="FROM"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="-~6w|@jGn6{qICVDDGRg"><field name="NUM">1</field></shadow><block type="char_to_ascii" id="H~aLHLTI;U[?RvWtab%u"><field name="TEXT">a</field></block></value><value name="TO"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="jbCprakNGSZQ#!$BOX~="><field name="NUM">10</field></shadow><block type="char_to_ascii" id="NZqUJz/_OC6:kng[QT?r"><field name="TEXT">c</field></block></value><value name="STEP"><shadow type="math_number" id="2mP6g@BKI50ZhoeUnL1~"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="i2c_begin_end_transmission" id="THUq!6c{FyTMCL8-Cauj"><value name="i2c_address"><shadow type="math_number" id="rnI2*$C:?HtrI#L=1T?+"><field name="NUM">4</field></shadow></value><statement name="transmission_data"><block type="i2c_write" id="kDKfvP)jt{qm#mO{!~}I"><value name="i2c_write_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4xmSo9lt-xl/+s0MF[yj"><field name="TEXT"></field></shadow><block type="ascii_to_char" id="%j(]T;IWSch[M8AoM4-b"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="z2^#[j6Z4|k6+UWtsYxq"><field name="NUM">223</field></shadow><block type="variables_get" id="v}o$;w-rk/TPe[M0_nHY"><field name="VAR">i</field></block></value></block></value><next><block type="controls_delay" id="XA;:XbLz{*h=whn*7])h"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="4.t7TQXe8?Wri@M4}|vV"><field name="NUM">1000</field></shadow></value></block></next></block></statement></block></statement></block></xml>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="spi_transfer" id="%vrA5Tgx+0o-cF92{.$R" x="-1068" y="116"><value name="pin"><shadow type="pins_digital" id="4lf|67eoSUp#KU(P%{XY"><field name="PIN">10</field></shadow></value><value name="value"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="M,*yHaT6HXItfQo`=h{H"><field name="NUM">0</field></shadow><block type="text_char" id="xnEg~?tq%3wS=nF+$0xz"><field name="TEXT">A</field></block></value><next><block type="controls_delay" id="eG4(SKS46=UDlyfJ,Gz@"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="|h.V^cHGa5yhqFOiiCrf"><field name="NUM">1000</field></shadow></value><next><block type="spi_transfer" id="Txf%n00{K~S4i3]/XKT5"><value name="pin"><shadow type="pins_digital" id="BQ?Y4CTQ3.,%rp0zpg+C"><field name="PIN">10</field></shadow></value><value name="value"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="M,*yHaT6HXItfQo`=h{H"><field name="NUM">0</field></shadow><block type="text_char" id="h8@#=lMHm#x_T{%xH3KD"><field name="TEXT">B</field></block></value><next><block type="controls_delay" id="v8#ZW}*U7C~0]xj`bKPg"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=".p1@^=GW~p]V1T~LI*$5"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="spi_begin_master" id=",.:/;:X9*B}pes:S8sQ;" x="36" y="92"><value name="spi_slave_pin"><shadow type="pins_digital" id="Dg~-ew/$Tze+FTiAUZ@."><field name="PIN">10</field></shadow></value><next><block type="spi_transfer_Init" id="eC}ks2rTIMv?T27+cc#J"><value name="slave_pin"><shadow type="pins_digital" id="O_`/CpK^/8gi-wIuwVSc"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="spi_transfer_1" id="EY:rnhaLp3RMN](r^dL7"><value name="transfer_data"><shadow type="text_char" id="WG#/~WAsXLKHF@aS]4#q"><field name="TEXT">C</field></shadow></value><next><block type="controls_delay" id="Zm+l1Yc.S/x^TI]i!P@N"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Q6L2)T^+,)_QnL.;8^/B"><field name="NUM">1000</field></shadow></value><next><block type="spi_transfer_1" id="12oLaDu%_GA[b-:+[S@v"><value name="transfer_data"><shadow type="text_char" id="1?8KRQMt_Zy1J4[iZU%2"><field name="TEXT">D</field></shadow></value><next><block type="controls_delay" id="/p`}0SnV-e44|smcj64{"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id=":p4EC+)jHlkQzfS%MRf$"><field name="NUM">1000</field></shadow></value><next><block type="spi_transfer_1" id="^k/Wi-tR}/TeZS+~X%r["><value name="transfer_data"><shadow type="text_char" id="-2hc2dzH@lPCef~.As}i"><field name="TEXT">E</field></shadow></value><next><block type="controls_delay" id="{D]~^y/Ha;q[i/`.JO.1"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="*xQ~/hn#4;$DGOc5ujZ3"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="+C=C_f=:;}dzKsuU;5r^" x="-1881" y="-42"><statement name="DO"><block type="variables_declare" id="S`/m{mCTCb?YRVPBwc{G"><field name="variables_type">global_variate</field><field name="VAR">MasterSend</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="w7q[7Tlt]kJJw~x_wVr4"><field name="NUM">0</field></block></value><next><block type="variables_declare" id="bCH%S9buPU_c[`%7Iphc"><field name="variables_type">global_variate</field><field name="VAR">MasteReceive</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="caRH.?mG#@W..0g557+l"><field name="NUM">0</field></block></value><next><block type="spi_begin_master" id="RusTRkC-k9IkLP?fM;9W"><value name="spi_slave_pin"><shadow type="pins_digital" id="8.:Cr-[#mP-QsegSk/[c"><field name="PIN">10</field></shadow></value><next><block type="serial_begin" id="`{b-UI{oklK*x?1~ajHi"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="!uz+[L^=(|PN;rY3F%)9"><field name="NUM">115200</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="controls_if" id="BLDH5DN;T7NzT7PL(Dm5" x="-1888" y="151"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id="Dh%[E1lLC/TbQw#3|:92"><value name="PIN"><shadow type="pins_digital" id="af%kvJh1K8zhr9)LLu6]"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="XPD@hza*z/xSDTYW8Md?"><field name="VAR">MasterSend</field><value name="VALUE"><block type="math_number" id="iyP1pJxQ~L2yLp47t2C#"><field name="NUM">1</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="mvV/Tri+-^T*B-@5{BA,"><field name="VAR">MasterSend</field><value name="VALUE"><block type="math_number" id="C(01`0g{DL;QRHpp6*%d"><field name="NUM">0</field></block></value></block></statement><next><block type="spi_transfer_Init" id="Uq_giHZB62C6UY`GJNA."><value name="slave_pin"><shadow type="pins_digital" id=")t5$Dip8B$u;hOx=+t[0"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="variables_set" id="bM#,0=C9hw+#sdn{4ln%"><field name="VAR">MasteReceive</field><value name="VALUE"><block type="spi_transfer_2" id="#3d=gf?(#RncG:IV3ODJ"><value name="transfer_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text_char" id="9P203:As}j;)+ETwD3d2"><field name="TEXT">A</field></shadow><block type="variables_get" id="{}Y66[kR[B{@^A?3:O^y"><field name="VAR">MasterSend</field></block></value></block></value></block></statement><next><block type="controls_if" id="|A)K/C0=LEmMm^Xb%C_f"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="?W)(c6AH{?r3k]6Xw3Tp"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="b?b[~UI;qUw--|Yyp-li"><field name="VAR">MasteReceive</field></block></value><value name="B"><block type="math_number" id="?MVmy0Pz[W[jV/(+M}y9"><field name="NUM">1</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="mr9=5:q#w@$$=5R-r)hi"><value name="PIN"><shadow type="pins_digital" id="z;$aHL`b_0YKTAl(9J5I"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Q|r{Gm^:YIhwjYjD?]$Z"><field name="BOOL">HIGH</field></shadow></value></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="2f]X2ju--6TLbmxF#`A@"><value name="PIN"><shadow type="pins_digital" id=");WtjlI#Ys@%8`LACCtk"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="DVR$B?che.gg+?e,uNXH"><field name="BOOL">LOW</field></shadow></value></block></statement><next><block type="controls_delay" id=".U,gfmq$bpFkn8UTf1fh"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="hG0c%sBpz@OT9/(jjE@C"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="X?.R9Le#6jE0Et7kwFrR" x="-1090" y="-43"><statement name="DO"><block type="spi_begin_master" id="a$@xN|94vZPRh,_cJqz|"><value name="spi_slave_pin"><shadow type="pins_digital" id="MD.by6kf(jw(-(Xaz8z8"><field name="PIN">10</field></shadow></value></block></statement></block><block type="spi_transfer_Init" id="@8_f}Q_j9Ft)iXR[_yN!" x="-1083" y="55"><value name="slave_pin"><shadow type="pins_digital" id="0ND4r;]]PY$^raC,HXgb"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="spi_transfer_1" id="tSdJ+l[X/B/8WOG)Lu-)"><value name="transfer_data"><shadow type="text_char" id=")z|HmMljZ%v{gF.J9s5s"><field name="TEXT"> </field></shadow></value></block></statement><next><block type="spi_transfer_Init" id="*Py~kL42yIITbS~VY4B."><value name="slave_pin"><shadow type="pins_digital" id="b!tKmj+H^f9YJq;Cllv`"><field name="PIN">10</field></shadow></value><statement name="transfer_data"><block type="controls_for" id="f7L!sM#NOF;r9R:G?c!N"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="R[lgDDH7H?w:8-sU|/7S"><field name="NUM">0</field></shadow></value><value name="TO"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="$hcATt=5T)gp8jJ3Hf~e"><field name="NUM">10</field></shadow><block type="math_arithmetic" id="BJfv/+C8[SS?-ZKvezHh"><field name="OP">MINUS</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="jObVO~0dTt_c{3?y0PJM"><field name="NUM">1</field></shadow><block type="text_length" id="DT*y6q1U3Jb6T1J0Dw,J"><value name="VAR"><shadow type="text" id="784^O_-nj*)tg_[8Z*Ag"><field name="TEXT">hello!</field></shadow></value></block></value><value name="B"><shadow type="math_number" id="JLW%2Q2bUn+VfOyyv+hg"><field name="NUM">1</field></shadow></value></block></value><value name="STEP"><shadow type="math_number" id="_AG?HFM0@iFs_VT;8xSZ"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_write" id="^TyseYp}G;AV!f57m[Z1"><field name="serial_select">Serial</field><value name="CONTENT"><block type="spi_transfer_2" id="~u(4e+Zc1]R@WCy!mme,"><value name="transfer_data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text_char" id=".wI^{L-M~9KV7x1,_*(0"><field name="TEXT">A</field></shadow><block type="text_char_at" id="_7a0[wk3FM%)4rLi$C*="><value name="VAR"><shadow type="text" id="@pqybzUk}HG0k!(q5R:6"><field name="TEXT">hello!</field></shadow></value><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="Bi1lx(kh:zyF;$,bl!xT"><field name="NUM">0</field></shadow><block type="variables_get" id="D6!7~ioZ3SHjfsSIa*;s"><field name="VAR">i</field></block></value></block></value></block></value></block></statement><next><block type="serial_println" id="m)NjLnJ{Er6Z{l-ra*o3"><field name="serial_select">Serial</field><field name="new_line">println</field></block></next></block></statement><next><block type="controls_delay" id="QWx3q]5YMwqF~Py!T@PB"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="o6Di;g0K]})L5TkoI{z|"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="Al,`7VY~Oc1zxa?hAlOc" x="0" y="0"><statement name="DO"><block type="spi_begin_slave" id="K6CnCk!gT])D,9kOyY9@"><next><block type="variables_declare" id=":(}t$UO(C9=ktL72bUqC"><field name="variables_type">global_variate</field><field name="VAR">SlaveSend</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="4UTtCERhWQSg_^a14ka)"><field name="NUM">0</field></block></value><next><block type="serial_begin" id="RmDrc7X#;j|anN=XsYok"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="z7=9e?_Wv*6FFnA?(5)w"><field name="NUM">115200</field></shadow></value></block></next></block></next></block></statement></block><block type="spi_slave_interrupt" id="P(3%kz.W;{RC(5RqxCH6" x="0" y="155"><value name="slave_interrupt_input"><block type="variables_get" id="Q%a??TvE,1k~dg/*A.oq"><field name="VAR">SPDR</field></block></value><statement name="slave_interrupt_data"><block type="controls_if" id="(BH4SHVUv{d!nzgbRRM/"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="Q+xoLM4^hSLq-+H_;-fN"><field name="OP">EQ</field><value name="A"><block type="spi_slave_receive" id="_hojz$G=Wi7me3Zwwrdp"><value name="slave_receive_data"><block type="variables_get" id="Fqx,?paYj!AsITcp(([F"><field name="VAR">SPDR</field></block></value></block></value><value name="B"><block type="math_number" id="}_cz~HsfP4E8*C$CAm*V"><field name="NUM">1</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="#bVg7.o(!T8nVNL{)~6$"><value name="PIN"><shadow type="pins_digital" id="hFJGYJa1hKe#VT^D#Gii"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="g,34d1aR~`j|i3ir|0@v"><field name="BOOL">HIGH</field></shadow></value><next><block type="serial_println" id="#b@?ZX@0Snr7N2AVO8Ko"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="gB}tpSm!A9KiC7XcDzBE"><field name="TEXT">Slave LED ON</field></block></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="p5PfJOd+ER~O2Y4#wB$q"><value name="PIN"><shadow type="pins_digital" id="1wbLHD~LL{_JYfWIlr{s"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="HxtLM?$W.f.#%qGd,wR,"><field name="BOOL">LOW</field></shadow></value><next><block type="serial_println" id="H)Kz9w8X?%5_9=5U9_B6"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="Tz/^wlY]^`4j/hHT6),A"><field name="TEXT">Slave LED OFF</field></block></value></block></next></block></statement></block></statement><next><block type="controls_if" id="DhTGf9=z;;p.{81RFMCo"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id="N.N)iK)3#/{-vO4~ILsL"><value name="PIN"><shadow type="pins_digital" id="c`nJxT*D[NIq`x9FDsn~"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="]oA((s_H[HnTIcz^I0S{"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="2PaQvs|CB@uNC!@3$w(l"><field name="NUM">1</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="{4Rt#b8BNSUo5w8F)j-4"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="}Wo-$XN9RwkCxm|Mb](%"><field name="NUM">0</field></block></value></block></statement><next><block type="variables_set" id="re*-JqU]o-y`j?%N#h$N"><field name="VAR">SPDR</field><value name="VALUE"><block type="variables_get" id="Kka5c.%QpB#H?X)Ef{ah"><field name="VAR">SlaveSend</field></block></value><next><block type="controls_delay" id="DXm%_j,L*9o3g}(Q~EUM"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Bn5X;2N+(GDY^|1B=rzH"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="Al,`7VY~Oc1zxa?hAlOc" x="-91" y="12"><statement name="DO"><block type="spi_begin_slave" id="K6CnCk!gT])D,9kOyY9@"><next><block type="variables_declare" id=":(}t$UO(C9=ktL72bUqC"><field name="variables_type">global_variate</field><field name="VAR">SlaveSend</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="4UTtCERhWQSg_^a14ka)"><field name="NUM">0</field></block></value><next><block type="serial_begin" id="RmDrc7X#;j|anN=XsYok"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="z7=9e?_Wv*6FFnA?(5)w"><field name="NUM">115200</field></shadow></value></block></next></block></next></block></statement></block><block type="spi_slave_interrupt" id="P(3%kz.W;{RC(5RqxCH6" x="-86" y="175"><value name="slave_interrupt_input"><block type="variables_get" id="Q%a??TvE,1k~dg/*A.oq"><field name="VAR">SPDR</field></block></value><statement name="slave_interrupt_data"><block type="controls_if" id="(BH4SHVUv{d!nzgbRRM/"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="logic_compare" id="Q+xoLM4^hSLq-+H_;-fN"><field name="OP">EQ</field><value name="A"><block type="spi_slave_receive" id="_hojz$G=Wi7me3Zwwrdp"><value name="slave_receive_data"><block type="variables_get" id="Fqx,?paYj!AsITcp(([F"><field name="VAR">SPDR</field></block></value></block></value><value name="B"><block type="math_number" id="}_cz~HsfP4E8*C$CAm*V"><field name="NUM">1</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="#bVg7.o(!T8nVNL{)~6$"><value name="PIN"><shadow type="pins_digital" id="hFJGYJa1hKe#VT^D#Gii"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="g,34d1aR~`j|i3ir|0@v"><field name="BOOL">HIGH</field></shadow></value><next><block type="serial_println" id="#b@?ZX@0Snr7N2AVO8Ko"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="gB}tpSm!A9KiC7XcDzBE"><field name="TEXT">Slave LED ON</field></block></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="p5PfJOd+ER~O2Y4#wB$q"><value name="PIN"><shadow type="pins_digital" id="1wbLHD~LL{_JYfWIlr{s"><field name="PIN">3</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="HxtLM?$W.f.#%qGd,wR,"><field name="BOOL">LOW</field></shadow></value><next><block type="serial_println" id="H)Kz9w8X?%5_9=5U9_B6"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="Tz/^wlY]^`4j/hHT6),A"><field name="TEXT">Slave LED OFF</field></block></value></block></next></block></statement></block></statement><next><block type="controls_if" id="DhTGf9=z;;p.{81RFMCo"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id="N.N)iK)3#/{-vO4~ILsL"><value name="PIN"><shadow type="pins_digital" id="c`nJxT*D[NIq`x9FDsn~"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="]oA((s_H[HnTIcz^I0S{"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="2PaQvs|CB@uNC!@3$w(l"><field name="NUM">1</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="{4Rt#b8BNSUo5w8F)j-4"><field name="VAR">SlaveSend</field><value name="VALUE"><block type="math_number" id="}Wo-$XN9RwkCxm|Mb](%"><field name="NUM">0</field></block></value></block></statement><next><block type="variables_set" id="re*-JqU]o-y`j?%N#h$N"><field name="VAR">SPDR</field><value name="VALUE"><block type="variables_get" id="Kka5c.%QpB#H?X)Ef{ah"><field name="VAR">SlaveSend</field></block></value><next><block type="controls_delay" id="DXm%_j,L*9o3g}(Q~EUM"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="Bn5X;2N+(GDY^|1B=rzH"><field name="NUM">1000</field></shadow></value></block></next></block></next></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="#y4@NI?Dz$bOdas(dGNr" x="-28" y="23"><statement name="DO"><block type="variables_declare" id="5t9g^9OqVx|MMEcf8DFM"><field name="variables_type">global_variate</field><field name="VAR">data</field><field name="TYPE">String</field><value name="VALUE"><block type="text" id="`eEL~(0|]*TA`GVKgBuw"><field name="TEXT"> </field></block></value><next><block type="variables_declare" id="CR~@7:#e_zJfgC{]%AJs"><field name="variables_type">global_variate</field><field name="VAR">i</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="KNCIEBkSMV8rcj#GEc._"><field name="NUM">0</field></block></value><next><block type="variables_declare" id="IiNYKT0VS1:`dT]L=mL0"><field name="variables_type">global_variate</field><field name="VAR">data1</field><field name="TYPE">byte</field><value name="VALUE"><block type="variables_get" id="|`Pz)Om!|Lxop#w;;=FN"><field name="VAR">SPDR</field></block></value><next><block type="spi_begin_slave" id="-YLo65T6RzzPYipnT){H"></block></next></block></next></block></next></block></statement></block><block type="spi_slave_interrupt" id="mNc34mjakX}aXdaFwYOs" x="-26" y="189"><value name="slave_interrupt_input"><block type="variables_get" id="faHP*gx/u=@,Nq%-7S]s"><field name="VAR">SPDR</field></block></value><statement name="slave_interrupt_data"><block type="variables_set" id="OO{=kNv+Isp^Wq)hw4u`"><field name="VAR">SPDR</field><value name="VALUE"><block type="text_char_at" id="Oz3eJI-^P-0,k6/%]B5y"><value name="VAR"><shadow type="text" id="oRJ%?oEr4`+K:`qN5NnM"><field name="TEXT">hello</field></shadow></value><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="WAZJkou0n$;=Nhr{Q4,:"><field name="NUM">0</field></shadow><block type="variables_get" id="C!V}-J[hhm%D|?e$V8:K"><field name="VAR">i</field></block></value></block></value><next><block type="variables_operation" id="c}qG5Zp*k*kQ+H|wV1Od"><field name="type">+</field><value name="variables"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="{skzLW+$:{jOm=:f[aCm"><field name="NUM">item</field></shadow><block type="variables_get" id="aEpmIW;gZD;_*23}8mG8"><field name="VAR">i</field></block></value><value name="data"><shadow type="math_number" id="B,GDn?+jb=Eag?2t_E)x"><field name="NUM">1</field></shadow></value><next><block type="variables_operation" id="6G/g(V,F+!zXp39E*3cD"><field name="type">+</field><value name="variables"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="5BK.o#%TQxI8j5j)jjOx"><field name="NUM">item</field></shadow><block type="variables_get" id="=tr$?Ue##[1Hu9vpa7jm"><field name="VAR">data</field></block></value><value name="data"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="0k3m{#,00Tx/g.aME9V."><field name="NUM">1</field></shadow><block type="ascii_to_char" id="}0U@.CCKy?J]nGjfu~8K"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="N_m|#xqiVFr.CxJH=TM_"><field name="NUM">223</field></shadow><block type="variables_get" id="}R#xHd^8ZDQhkor(}L%9"><field name="VAR">SPDR</field></block></value></block></value><next><block type="controls_if" id="DHN*y,[iYTLS@v3#auk0"><value name="IF0"><block type="logic_compare" id="1/XHY:AKtT1;UyGdseXw"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="7*}|F3I+%d^N^_F03v5p"><field name="VAR">data1</field></block></value><value name="B"><block type="text_char" id="NUK4[n%(=9u_;6j]a,SS"><field name="TEXT">!</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="#x|l^(Z)=/Ha2)#sn4u$"><field name="VAR">i</field><value name="VALUE"><block type="math_number" id="r5PD!k`Nshz~_/9#dp`i"><field name="NUM">0</field></block></value><next><block type="serial_println" id="YQv?91d?!%0iU*(m3E+P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="variables_get" id="fL;1qQCITBc{]fo6iszg"><field name="VAR">data</field></block></value><next><block type="variables_set" id="JX6Y[Ii7LrJPA8/P`D9u"><field name="VAR">data</field><value name="VALUE"><block type="text" id="Ni4Qp_[r*$meqG5,Iiuy"><field name="TEXT"> </field></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></statement></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="0" y="0"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="/v8H1W/(@I)r8KX$pdB|"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="te`!grv78C6#f?k}RKT]"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id="CN]*1YJv39}@cEZ#3;.c"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="rXwc{8-8BF=oR{d^zo~$"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="z@Xj12[!C/-]spXPNti!"><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="IKuP%,K%?v`=0Ro/4SSp"><field name="PIN">9</field></shadow></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">RFID写卡&amp;读卡测试</field></block></value><next><block type="lists_create_with_text2" id="%LFO5G!tQ`y.tW`@y[N)"><field name="TYPE">byte</field><field name="VAR">mylist</field><field name="SIZE">16</field><field name="TEXT">2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32</field><next><block type="lists_create_with_text2" id="4[0}OV*9lb,$jjwI9Czq"><field name="TYPE">byte</field><field name="VAR">mylist2</field><field name="SIZE">10</field><field name="TEXT">0</field></block></next></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="0" y="218"><field name="rfid_name">rfid</field><statement name="DO"><block type="MFRC522_WriteCard" id=")BY%hAt$lahJ=LDL6SyJ"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="(wh)%sB[c_wm0C$rvW-g"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="3LA(Gf8wr.]xs)BS#,8j"><field name="NUM">mylist</field></shadow></value><value name="length"><shadow type="math_number" id="B:Rj*aP`phn:3Ti$yW%N"><field name="NUM">16</field></shadow></value><next><block type="MFRC522_ReadCard" id="S#pnfOov2.z3X;9MMVFt"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="rN4zWK02q,y[yZ|K]IIW"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="D+D4r]}X9I6@m2xlbYRA"><field name="NUM">mylist2</field></shadow></value><value name="length"><shadow type="math_number" id="Y!UHyEHuHl]8;#of^3Xf"><field name="NUM">10</field></shadow></value><next><block type="controls_for" id="h{T(CIV^OmSugdb)e7lN"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="K2d]qOe,+`~:Bte@oLZ)"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="t]-bMLWHUVI)20/uxy{="><field name="NUM">10</field></shadow></value><value name="STEP"><shadow type="math_number" id="EbGLG`X1P,4sFeNM,$As"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="Q#`hc`@,)a|I]]f-u|R)"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="lists_getIndex" id="::T?]WwDXxB,Tgew#j8J"><field name="VAR">mylist2</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="j{p3yfnbXnIK.Bkx8E(]"><field name="NUM">1</field></shadow><block type="variables_get" id="FF;-7)4vR{HxWF[%7T1y"><field name="VAR">i</field></block></value></block></value></block></statement></block></next></block></next></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="0" y="0"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="AU^oHFq7_A*=#~NW6a#W"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="D@aL#Gz`4#~{qE{Fp@-8"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id=":A6GC@@UM?#*iEFkM;i@"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="Ed2tSPSj#ANz$!QrCTBP"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="7XiGLl]*aoaDyw#0rx%/"><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="Vq@o$oP$7Mzm0s//3!L4"><field name="PIN">9</field></shadow></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">RFID写卡测试</field></block></value><next><block type="lists_create_with_text2" id="4[0}OV*9lb,$jjwI9Czq"><field name="TYPE">byte</field><field name="VAR">mylist</field><field name="SIZE">16</field><field name="TEXT">1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16</field></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="0" y="192"><field name="rfid_name">rfid</field><statement name="DO"><block type="MFRC522_WriteCard" id="5vSLiIHeclh5a7o[*Y"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="rX.L_51A*fr8cB;n=2?E"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="jRY62X+ZRPRxyv-e7z*!"><field name="NUM">mylist</field></shadow></value><value name="length"><shadow type="math_number" id="?DM[{.1bYz]Y(^7C+=bD"><field name="NUM">16</field></shadow></value></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="114" y="72"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="s`@.]p*#MTs([/RiGNf4"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="sr6[+uT!N2a{mjMEtrTE"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id="nVlTB*~?:gNj‚etKf+"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="ps.]c6y#Fyw301nIB2ep"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="l$GJT;r$J0aV|z%1jySK"><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="@(1$CVThkqQgR`LjjN7)"><field name="PIN">9</field></shadow></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">RFID读卡测试</field></block></value><next><block type="lists_create_with_text2" id="4[0}OV*9lb,$jjwI9Czq"><field name="TYPE">byte</field><field name="VAR">mylist</field><field name="SIZE">16</field><field name="TEXT">0</field></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="126" y="309"><field name="rfid_name">rfid</field><statement name="DO"><block type="MFRC522_ReadCard" id="S#pnfOov2.z3X;9MMVFt"><field name="rfid_name">rfid</field><value name="block"><shadow type="math_number" id="rN4zWK02q,y[yZ|K]IIW"><field name="NUM">1</field></shadow></value><value name="buffer"><shadow type="math_number" id="D+D4r]}X9I6@m2xlbYRA"><field name="NUM">mylist</field></shadow></value><value name="length"><shadow type="math_number" id="Y!UHyEHuHl]8;#of^3Xf"><field name="NUM">16</field></shadow></value><next><block type="controls_for" id="h{T(CIV^OmSugdb)e7lN"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="K2d]qOe,+`~:Bte@oLZ)"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="t]-bMLWHUVI)20/uxy{="><field name="NUM">16</field></shadow></value><value name="STEP"><shadow type="math_number" id="EbGLG`X1P,4sFeNM,$As"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_print" id="Q#`hc`@,)a|I]]f-u|R)"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="lists_getIndex" id="::T?]WwDXxB,Tgew#j8J"><field name="VAR">mylist</field><value name="AT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="j{p3yfnbXnIK.Bkx8E(]"><field name="NUM">1</field></shadow><block type="variables_get" id="FF;-7)4vR{HxWF[%7T1y"><field name="VAR">i</field></block></value></block></value></block></statement></block></next></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>

View File

@@ -0,0 +1 @@
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="base_setup" id="CVN^[pMzBCs}ein_cDxG" x="0" y="0"><statement name="DO"><block type="serial_begin" id="C3H6Sub2sa-Dm~mPn(J`"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="GanxgU}943VO:2O%,Qk8"><field name="NUM">9600</field></shadow></value><next><block type="MFRC522_init" id="#U}X($S;~98i$N$4G3/-"><field name="rfid_name">rfid</field><value name="PIN_SDA"><shadow type="pins_digital" id="-Xzvsx*kQ.*U,sNC(mNb"><field name="PIN">10</field></shadow></value><value name="PIN_SCK"><shadow type="pins_SCK" id="32i6iB/-|d@x^9*ryYte"><field name="PIN">13</field></shadow></value><value name="PIN_MOSI"><shadow type="pins_MOSI" id="?}4(9TSfCgdU@:!I54#z"><field name="PIN">11</field></shadow></value><value name="PIN_MISO"><shadow type="pins_MISO" id="gxEVoZZsJ0T|vXhZP:B="><field name="PIN">12</field></shadow></value><value name="PIN_RST"><shadow type="pins_digital" id="6vT9rT=L%coXwXL3P,gZ"><field name="PIN">9</field></shadow></value><next><block type="variables_declare" id="y4Qtm1$-i_Af[K7}aPHY"><field name="variables_type">global_variate</field><field name="VAR">RFID_CardUID</field><field name="TYPE">String</field><value name="VALUE"><block type="text" id="|7ZNHG49G]#TNIA]Kl6~"><field name="TEXT"></field></block></value><next><block type="serial_print" id="nwdeGb`~?mL1W@zXSE:P"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text" id="SoMn87qy9YIRgISXax[Y"><field name="TEXT">读取RFID卡号测试</field></block></value></block></next></block></next></block></next></block></statement></block><block type="MFRC522_IsNewCard" id="94=iK6j#B/$pkpVAz3k," x="0" y="192"><field name="rfid_name">rfid</field><statement name="DO"><block type="variables_set" id="o?5sZ?Kv^8EX5CN)`l,0"><field name="VAR">RFID_CardUID</field><value name="VALUE"><block type="MFRC522_ReadCardUID" id="c2yxpdGX}(dW_?G1s_3z"><field name="rfid_name">rfid</field></block></value><next><block type="serial_print" id="fL@*)16@oWQ|YdU/pI!V"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="text_join" id="u3)4;f8VhiGun%$/}NuK"><value name="A"><shadow type="text" id="XZb]N2xAijpLL!gflm[."><field name="TEXT">Card UID</field></shadow></value><value name="B"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="uF5}}o`vX5LXm^G:U/a#"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="P0.D$O=l!`Y0Lfd,rI#m"><field name="VAR">RFID_CardUID</field></block></value></block></value></block></next></block></statement><next><block type="controls_delay" id="iZ-Vq,3uon:{h:X09;D+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="qq~73=bP9^%h)%V[{/[S"><field name="NUM">200</field></shadow></value></block></next></block></xml>