Files
mixly3/boards/default/micropython_k210_mixgoai/examples/1oucPTv-5j58.mix
2024-07-21 09:30:11 +08:00

1 line
8.4 KiB
XML

<xml version=\"1.1.2\" board=\"MicroPython[K210_MixNo]\" xmlns=\"http://www.w3.org/1999/xhtml\"><block type=\"factory_block_notes\" id=\"M.00F#G`SD!=I_3CU@/T\" x=\"-405\" y=\"78\"><field name=\"VALUE\">AI \u7F51\u7EDC\u6A21\u578B-1_\u52A0\u8F7DSD\u4E2D\u7F51\u7EDC\u6A21\u578B\u5E76\u8FD0\u884C\u89E3\u6790</field><next><block type=\"camera_init\" id=\"K,.xx;aCcsRK0nE%L92.\" inline=\"true\"><value name=\"key1\"><shadow type=\"mode\" id=\"Z~*/gWKaxKYSQwl.[;=|\"><field name=\"flag\">sensor.RGB565</field></shadow></value><value name=\"key2\"><shadow type=\"size\" id=\"2)K0.le@QZ(xfJBZiO!f\"><field name=\"flag\">sensor.QVGA</field></shadow></value><value name=\"key3\"><shadow type=\"on_off\" id=\"l:=W[~~aPnat3u=-fh$f\"><field name=\"flag\">1</field></shadow></value><value name=\"frame\"><shadow type=\"math_number\" id=\"|4G[HP^IN(YJ0y@x,~4J\"><field name=\"NUM\">10</field></shadow></value><next><block type=\"camera_set_windowing\" id=\"YOPvB??0wB94|lB3+9+4\"><value name=\"numa\"><shadow type=\"math_number\" id=\"|2[#[%VdoWY7v#wLUumY\"><field name=\"NUM\">224</field></shadow></value><value name=\"numb\"><shadow type=\"math_number\" id=\"Ngo//cQb7[XNupsL-HKb\"><field name=\"NUM\">224</field></shadow></value><next><block type=\"camera_set_vflip\" id=\"dI=`X-Y4,2US6O)f}rN?\"><value name=\"key\"><shadow type=\"on_off\" id=\"Mpt3C;q!-/+wdA%6t/9A\"><field name=\"flag\">1</field></shadow></value><next><block type=\"lcd_init\" id=\"ZetyG2y[rKME;}bOSv|q\" inline=\"true\"><value name=\"freq\"><shadow type=\"math_number\" id=\"*kmZj2h`yEf.M[V*`!d.\"><field name=\"NUM\">15000000</field></shadow></value><value name=\"color\"><shadow type=\"math_number\" id=\"=ed_I]kMSVAmNr=;rc+{\"><field name=\"NUM\">0x0000</field></shadow></value><next><block type=\"storage_fileopen\" id=\"H.m2s,p:z)c`O!w.QkJ$\"><field name=\"MODE\">r</field><value name=\"FILENAME\"><shadow type=\"text\" id=\"B97w#_P[7toT0v5+gD;]\"><field name=\"TEXT\">/sd/labels.txt</field></shadow></value><value name=\"FILE\"><shadow type=\"variables_get\" id=\"I]@_apn*uw#CXquU`J8d\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"variables_set\" id=\"]V^JVGxjP)-_:/-.|w5W\"><field name=\"VAR\">labels</field><value name=\"VALUE\"><block type=\"storage_get_contents_without_para\" id=\"iFz)/MoOCif;h}_{_cMh\"><field name=\"MODE\">readlines</field><value name=\"FILE\"><shadow type=\"variables_get\" id=\"wqSCu=nb+,H6IB4-vDq4\"><field name=\"VAR\">f</field></shadow></value></block></value><next><block type=\"storage_close_file\" id=\"*Pgpxo/66IIn+I_cSs7O\"><value name=\"FILE\"><shadow type=\"variables_get\" id=\"m}o|=[L!9]GY@zr:[xuF\"><field name=\"VAR\">f</field></shadow></value><next><block type=\"KPU_load1\" id=\"|!dnAMUJgmOsz(cIbc~/\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"P)KA^^ZgyjLklT#!C9A)\"><field name=\"VAR\">KPU</field></shadow></value><value name=\"path\"><shadow type=\"text\" id=\"f|dTx%4:RQND0Sgo!|90\"><field name=\"TEXT\">/sd/MixNo.kmodel</field></shadow></value><next><block type=\"controls_whileUntil\" id=\"zxy0rE`{Rt;xcq0K_3Ks\"><field name=\"MODE\">WHILE</field><value name=\"BOOL\"><shadow type=\"logic_boolean\" id=\"-I7BO?Je%Pmz,{td~kSP\"><field name=\"BOOL\">TRUE</field></shadow></value><statement name=\"DO\"><block type=\"variables_set\" id=\"K;#D]X,|Gam-[7mg6E6a\"><field name=\"VAR\">img</field><value name=\"VALUE\"><block type=\"camera_snapshot\" id=\";0(gdfT7J*_`GeGm~K6=\"></block></value><next><block type=\"variables_set\" id=\"QG13TgP5]E(67j/G3clq\"><field name=\"VAR\">plist</field><value name=\"VALUE\"><block type=\"KPU_forward\" id=\"Hx:0[kUC4AyBjNSxu(ep\"><value name=\"SUB\"><shadow type=\"variables_get\" id=\"N@7WwK3GMXfrlHkn1/r$\"><field name=\"VAR\">KPU</field></shadow></value><value name=\"VAR\"><shadow type=\"variables_get\" id=\"nbsjFRolX9|=|#yf264.\"><field name=\"VAR\">image</field></shadow><block type=\"variables_get\" id=\"[c/dmVwrM{n|,]ZX*Z5s\"><field name=\"VAR\">img</field></block></value></block></value><next><block type=\"variables_set\" id=\"(ciyLzJWSh9?(cYUDrf=\"><field name=\"VAR\">pmax</field><value name=\"VALUE\"><block type=\"list_trig\" id=\"oa%:zl@Lx!0%fy~yw0^j\"><field name=\"OP\">MAX</field><value name=\"data\"><shadow type=\"variables_get\" id=\"7!W6r`t,Y^{3DiV}^b,a\"><field name=\"VAR\">plist</field></shadow><block type=\"variables_get\" id=\"iI1#iIw83#K8UO@8i+RT\"><field name=\"VAR\">plist</field></block></value></block></value><next><block type=\"variables_set\" id=\"*2M6x`c@c:Q_rj}@X^Q1\"><field name=\"VAR\">max_index</field><value name=\"VALUE\"><block type=\"lists_find\" id=\"db$O.%tA|[?W}.BMiyR8\"><field name=\"OP\">INDEX</field><value name=\"VAR\"><shadow type=\"variables_get\" id=\"0D(eJ253}b5*#?Ca5Y78\"><field name=\"VAR\">mylist</field></shadow><block type=\"variables_get\" id=\"WRczF=QLs]a:Og73^6W=\"><field name=\"VAR\">plist</field></block></value><value name=\"data\"><shadow type=\"math_number\" id=\"RuaW~U1PwmWv`,m.3!#%\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"Utrz(j#9:q`@l;rEsQLV\"><field name=\"VAR\">pmax</field></block></value></block></value><next><block type=\"variables_set\" id=\";{N[|u1A5]D1IBCf4L%t\"><field name=\"VAR\">pgoods</field><value name=\"VALUE\"><block type=\"text_strip\" id=\";2:ouhUf|!|wKpC%iS=Z\"><field name=\"TOWHAT\">strip</field><value name=\"VAR\"><shadow type=\"text\" id=\"PAHW-I`5+SZ=`c2t%Ya^\"><field name=\"TEXT\">Mixly</field></shadow><block type=\"lists_get_index\" id=\"R_K:.J}s6r,Z|5%by}^U\"><value name=\"LIST\"><shadow type=\"variables_get\" id=\"McIk$F)S))CD_3oj?i$x\"><field name=\"VAR\">mylist</field></shadow><block type=\"variables_get\" id=\"J/(1sX7+QHW^SIiv3#^H\"><field name=\"VAR\">labels</field></block></value><value name=\"AT\"><shadow type=\"math_number\" id=\"4L4S2e+{LP}FC{uyCmg}\"><field name=\"NUM\">0</field></shadow><block type=\"variables_get\" id=\"hW;g#{5j-tFeMeXtQiC+\"><field name=\"VAR\">max_index</field></block></value></block></value></block></value><next><block type=\"system_print\" id=\"%[E`KQlg;|gBSeF`?*V{\"><value name=\"VAR\"><shadow type=\"text\" id=\"y*QXOg*MRlH53ubKzpsY\"><field name=\"TEXT\">Mixly</field></shadow><block type=\"text_format_noreturn\" id=\".(6+stZgNT@w+]YDu7~2\"><mutation items=\"2\"></mutation><value name=\"VAR\"><shadow type=\"text\" id=\"tHCO-hvnSTLKm%ZK@;YT\"><field name=\"TEXT\">No.{} is {}</field></shadow></value><value name=\"ADD0\"><block type=\"variables_get\" id=\"nY9E.Al,aoN%wtChJe[8\"><field name=\"VAR\">pgoods</field></block></value><value name=\"ADD1\"><block type=\"variables_get\" id=\"hPT`sJk,~|-IL.PbBo*S\"><field name=\"VAR\">pmax</field></block></value></block></value><next><block type=\"lcd_display\" id=\"6P{]KkmYVD|LOrzy8WUw\"><value name=\"img\"><shadow type=\"factory_block_return\" id=\"Hsvmpf,y,TL#4=h?bPkT\"><field name=\"VALUE\">image</field></shadow><block type=\"variables_get\" id=\"3WhR/{2ESV~kK;ghh[9f\"><field name=\"VAR\">img</field></block></value><next><block type=\"lcd_draw_string\" id=\"sly1mk2u~:yhp(#U(gaq\" inline=\"true\"><value name=\"x\"><shadow type=\"math_number\" id=\"F}bMA!TykV(f1vmCV/F!\"><field name=\"NUM\">48</field></shadow></value><value name=\"y\"><shadow type=\"math_number\" id=\":#sr6,PeIMes%`#ALfct\"><field name=\"NUM\">224</field></shadow></value><value name=\"text\"><shadow type=\"text\" id=\"I(hn=kqaA79vMgl1tE8F\"><field name=\"TEXT\">MixPY</field></shadow><block type=\"text_format_noreturn\" id=\"(QC9d{=g{{)Wa~@~,7~B\"><mutation items=\"2\"></mutation><value name=\"VAR\"><shadow type=\"text\" id=\"%3AylW_J=hT4[Q|CuL6O\"><field name=\"TEXT\">No.{} is {}</field></shadow></value><value name=\"ADD0\"><block type=\"variables_get\" id=\"aZ:#c.WC-J5rz5LTPAzJ\"><field name=\"VAR\">pgoods</field></block></value><value name=\"ADD1\"><block type=\"variables_get\" id=\"=P@J`$0()isM^,d+*daV\"><field name=\"VAR\">pmax</field></block></value></block></value><value name=\"color_T\"><shadow type=\"math_number\" id=\"%QCZ~V)cA?j^`P!:e7Es\"><field name=\"NUM\">0XFFFF</field></shadow><block type=\"lcd_colour\" id=\"R+03qj!}E~{8-2=fpsm2\"><value name=\"key\"><shadow type=\"lcd_color\" id=\"qCBj4.5AS@OI}r;eG$:`\"><field name=\"flag\">lcd.RED</field></shadow></value></block></value><value name=\"color_S\"><shadow type=\"math_number\" id=\"b-1de29X3qX(6rIQtG(B\"><field name=\"NUM\">0X0000</field></shadow></value></block></next></block></next></block></next></block></next></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></xml>