Files
mixly3/boards/default/micropython_k210_mixgoai/examples/OemZNycP3Z1M.mix
2024-07-23 20:47:22 +08:00

1 line
5.6 KiB
XML

<xml version="Mixly 2.0 Beta11" board="MixGo AI" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_block_notes" id="TPM2DJ?F{zr)1S5ze]Sk" x="-309" y="-111"><field name="VALUE">Imge 二维码识别_识别采集图片的二维码并解析信息</field><next><block type="lcd_init" id="cm}6:2z,NzQG+l3y=*o}" inline="true"><value name="freq"><shadow type="math_number" id="n^5LG`c[akDZpOi~C7N*"><field name="NUM">15000000</field></shadow></value><value name="color"><shadow type="math_number" id="Jn~I{^ifG.pJ]{5(:R?U"><field name="NUM">0x0000</field></shadow></value><next><block type="camera_init" id="wwLU+Y|hpb:WEd$YMoXD" inline="true"><value name="key1"><shadow type="mode" id="[Lxo0T*!MV#ihP`T3:GX"><field name="flag">sensor.YUV422</field></shadow></value><value name="key2"><shadow type="size" id="xuYYq]8gQN@F%%.3m2x)"><field name="flag">sensor.B240X240</field></shadow></value><value name="key3"><shadow type="on_off" id="n*8TBf!x*s6(LpS.f=3/"><field name="flag">1</field></shadow></value><next><block type="controls_whileUntil" id="N4,yQ~el]A/4d;tp4TF="><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="LJroho~*25:)Hj2-iAUT"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="7S7LC/U~i?U$CGxRY0a{"><field name="VAR">image</field><value name="VALUE"><block type="camera_snapshot" id="pj3D!LEOe*[E7X~d6wn*"></block></value><next><block type="controls_forEach" id="JNx?R[(io2?.?0b!2VNM"><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input" id="V#Nr2zw!^xHC.RYts=#?"><field name="CONTENT">0,1,2,3</field></shadow><block type="image_find_qrcodes" id="W^+(/YCc~cM)-!PgIxol" inline="true"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="p!~I/RL$j9s/RA7gAY/D"><field name="VAR">image</field></shadow><block type="variables_get" id="!@Nw@#JGrV6jY]CihmS="><field name="VAR">image</field></block></value><value name="roi"><shadow type="list_many_input" id="=U6;XLh!KFHCU:gXx1#{"><field name="CONTENT">0,0,240,240</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="398B[3aS?)5{B~3;)T),"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="system_print" id="9IE+!w4;D(I-lc9xqmv~"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="q7G=fkPV}i0B?XM9[#XK"><field name="TEXT">Mixly</field></shadow><block type="image_qrcode" id="+menvq`o:R0*^aU5Q_=}"><field name="key">payload</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id=":bgrH]37.iiU]Pt5H7gb"><field name="VAR">qrcode</field></shadow><block type="variables_get" id="~EQVbgl^HAghoJ@v/HBY"><field name="VAR">i</field></block></value></block></value><next><block type="variables_set" id="eBOgM!l,eO:Lp010)sLm"><field name="VAR">image</field><value name="VALUE"><block type="image_draw_rectangle" id="u6Hzzw^B[5d5:*`+49wb" inline="true"><value name="VAR"><shadow type="variables_get" id="+Yv!*_[[b1c$sS~ZcnC%"><field name="VAR">image</field></shadow></value><value name="LIST"><shadow xmlns="http://www.w3.org/1999/xhtml" type="list_many_input" id="4Aox(.|FTplkyfUwCc5`"><field name="CONTENT">10,20,30,40</field></shadow><block type="image_qrcode" id="M6UaehovqD}bWxJ%K8KP"><field name="key">rect</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id=":bgrH]37.iiU]Pt5H7gb"><field name="VAR">qrcode</field></shadow><block type="variables_get" id="RxQvF(`N.nfj@Y4S%!#,"><field name="VAR">i</field></block></value></block></value><value name="color"><shadow type="math_number" id="h~|5X2+3My?ZhF65v}YB"><field name="NUM">0x000F</field></shadow></value><value name="thi"><shadow type="math_number" id="rc_2yycyg5;[AIz0+.mr"><field name="NUM">1</field></shadow></value><value name="fil"><shadow type="true_false" id="[s-Wt;h++3r|XUZ=^`A3"><field name="flag">1</field></shadow></value></block></value><next><block type="variables_set" id="tFT^F!}B@6-VZ7l`;Tbf"><field name="VAR">image</field><value name="VALUE"><block type="image_draw_string" id="F#kP*d5)HKw0+=|hpZ{3" inline="true"><value name="VAR"><shadow type="variables_get" id="HmyKSS_aUOum4jgf=kK["><field name="VAR">image</field></shadow></value><value name="x0"><shadow type="math_number" id="h9UtVA[VYh%Ln|hd3Ý"><field name="NUM">0</field></shadow></value><value name="y0"><shadow type="math_number" id="+{pcy(SlAvSSeSeiOWvy"><field name="NUM">0</field></shadow></value><value name="tex"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="?-:Lvd[HeZEIOx@},+43"><field name="TEXT">MixPY</field></shadow><block type="image_qrcode" id="hY]}~bHB7{XL;dYX-$?H"><field name="key">payload</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id=":bgrH]37.iiU]Pt5H7gb"><field name="VAR">qrcode</field></shadow><block type="variables_get" id="e?pX2q#b2[%R+J0(9*,%"><field name="VAR">i</field></block></value></block></value><value name="color"><shadow type="math_number" id="z`GV]i,:G0GSJ!-]w,6o"><field name="NUM">0xFFFF</field></shadow></value><value name="scale"><shadow type="math_number" id="e:Yj7g`5BKyfFjjf%4nK"><field name="NUM">1</field></shadow></value></block></value></block></next></block></next></block></statement><next><block type="lcd_display" id="#hz7c]S1LYD/G=yA2]be"><value name="img"><shadow xmlns="http://www.w3.org/1999/xhtml" type="factory_block_return" id="iK3)%`:p1P]rAB{76NFR"><field name="VALUE">image</field></shadow><block type="variables_get" id="FsH.Z}AqhiPlTu2O^eA@"><field name="VAR">image</field></block></value></block></next></block></next></block></statement></block></next></block></next></block></next></block></xml>