Files
mixly3/boards/default/micropython_k210_mixgoai/examples/92bwD0XoQd_L.mix
2024-07-21 09:30:11 +08:00

1 line
5.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<xml version="Mixly 2.0 rc1" board="MixGo AI" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_block_notes" id="(WuW@SOu]L9WlARh8t!N" x="-116" y="-64"><field name="VALUE">Socket-_套接字发送摄像头拍照图形值服务器需要连接ESP-AT固件设备</field><next><block type="network_init" id="3;UeU2g4`!n4@T-BZ#jc"><value name="VAR"><shadow type="variables_get" id="9mMunSW@vwA,2{rPl]vG"><field name="VAR">nic</field></shadow></value><value name="RX"><shadow type="pins_digital_pin" id="t7PeL,!qd4!bWba(lPG6"><field name="PIN">8</field></shadow></value><value name="TX"><shadow type="pins_digital_pin" id="zMcAq?p4l!VkT^?j)#wf"><field name="PIN">9</field></shadow></value><next><block type="network_connect" id="^ZB.MZyhfS4zu[CW%jl("><value name="VAR"><shadow type="variables_get" id="!Xw0Dy`YUGlDw{s`EAFa"><field name="VAR">nic</field></shadow></value><value name="account"><shadow type="text" id="Ufr+bX^#`qT-})*?8F?Q"><field name="TEXT">MixGo AI</field></shadow></value><value name="password"><shadow type="text" id="/fe*l4#e=ToWj0J#|z:|"><field name="TEXT">12345</field></shadow></value><next><block type="system_print" id="d+0Q,LPm9R]){6LQlx8I"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="^8YNQBG/P4U,+6T^8krc"><field name="TEXT">Mixly</field></shadow><block type="network_ifconfig" id="_L${!xY=MC=nDVEM{WjD"><field name="mode">2</field><value name="VAR"><shadow type="variables_get" id="wE7@#3^8WhrU9X%!}5:;"><field name="VAR">nic</field></shadow></value></block></value><next><block type="network_socket_init" id="7aG1Or[-vl|nr{8`xaPN"><value name="VAR"><shadow type="variables_get" id="y[Wzy@{f^O`RwJ#}OaP$"><field name="VAR">sock</field></shadow></value><next><block type="network_socket_connect" id="kY~H#y02E#2Uf=(s3eng"><value name="VAR"><shadow type="variables_get" id="7[n`cwqXUH|J[x!|auOI"><field name="VAR">sock</field></shadow></value><value name="address"><block type="tuple_create_with_noreturn" id="G:[D(|Q!mQ.-w`@wGFI/" inline="true"><mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation><value name="ADD0"><block type="text" id="jX`^b1[K],zBc*N8?6lS"><field name="TEXT">192.168.1.110</field></block></value><value name="ADD1"><block type="math_number" id="Q)SKgN%g|ndVV0O9c}Zk"><field name="NUM">3456</field></block></value></block></value><next><block type="network_socket_settimeout" id="Ey[6TH(Oy)usUy$H,(5#"><value name="VAR"><shadow type="variables_get" id="BzjkhJAi?QG5a5w9!d;J"><field name="VAR">sock</field></shadow></value><value name="time"><shadow type="math_number" id="rwmsEniB{$xP2uvZfUdo"><field name="NUM">5</field></shadow></value><next><block type="camera_init" id="~lfI[w/Owng3ZB]e%.m*"><value name="key1"><shadow type="mode" id="Za~%RTl#ET3(5.IY}52,"><field name="flag">sensor.YUV422</field></shadow></value><value name="key2"><shadow type="size" id="dJ5BwL1;S|TRZcq4)W^Y"><field name="flag">sensor.B240X240</field></shadow></value><value name="key3"><shadow type="on_off" id="M7ibmXF0pp#pM{e$0:S("><field name="flag">1</field></shadow></value><value name="key4"><shadow type="math_number" id="MCb7dn]cIVNf;S%6teVs"><field name="NUM">10</field></shadow></value><next><block type="controls_whileUntil" id="SGu!6H6{=jW5;9Sgqp06"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="T^:)iZb%O[h.{HV5DPeQ"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="2eC0T_]n:-XWk},Kpv5)"><field name="VAR">img</field><value name="VALUE"><block type="camera_snapshot" id="KV$#cp2gr@I{6dWomM]g"></block></value><next><block type="variables_set" id="Q=;aXgg$w95(*`lHiHH4"><field name="VAR">img</field><value name="VALUE"><block type="image_compress" id="gw4o,5MC4U7qMvk~,Y{e" inline="true"><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="ezC++5c3d@G{Yb|`8$E@"><field name="VAR">image</field></shadow><block type="variables_get" id="SRIIM$YIX_q!Q6l5:sM$"><field name="VAR">img</field></block></value><value name="quality"><shadow type="math_number" id="hqrF=]71XM651!Pv|zav"><field name="NUM">20</field></shadow></value></block></value><next><block type="variables_set" id="tWJE$v,-nFn$Vr;8N0Br"><field name="VAR">img_bytes</field><value name="VALUE"><block type="image_tonew" id=".?[XLhB{Ib2Yv`Vc_U4Z"><field name="key">to_bytes</field><value name="VAR"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="{,*)z^yP8r5qqSy8gnls"><field name="VAR">image</field></shadow><block type="variables_get" id="LQj{Ay~|c%hx9rDV3{:f"><field name="VAR">img</field></block></value></block></value><next><block type="network_socket_send" id="8QDIj=gm|})Q+|4n[w4j"><value name="VAR"><shadow type="variables_get" id="d~_{)@=Yl866_d!:`GTb"><field name="VAR">sock</field></shadow></value><value name="content"><shadow xmlns="http://www.w3.org/1999/xhtml" type="variables_get" id="LR3bRcuA(k|8eM|FP!^u"><field name="VAR">response</field></shadow><block type="variables_get" id="r@NiG#a(GgWF{_$k[DDW"><field name="VAR">img_bytes</field></block></value><next><block type="controls_flow_statements" id="_S]Er1!Jb`^*o}9ec/2f"><field name="FLOW">BREAK</field></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></xml>