Files
mixly3/boards/default/micropython_esp32c3/examples/3xtn-eVfIEev/CvGBJ7fkiauq.mix
2024-07-23 20:47:22 +08:00

1 line
4.9 KiB
XML

<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo CC"><block type="storage_fileopen" id="7n=/F?|u:~/:@;06X/{m" x="-1854" y="-572"><field name="MODE">w</field><value name="FILENAME"><shadow type="text" id="RB~[weD7s6#|X};+whgB"><field name="TEXT">test.bin</field></shadow></value><value name="FILE"><shadow type="variables_get" id="*bN;udz^JdwVVW-cFD+j"><field name="VAR">f</field></shadow></value><next><block type="controls_forEach" id="fv~*(j/~W?hUAjV;^|KU"><value name="LIST"><shadow type="list_many_input" id="WMkJY-UMu|k5.c_td(iY"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id=";=,1m@2uBID.gakNv~rR"><value name="FROM"><shadow type="math_number" id="O_W)55D(f2,#_o4q:Vdf"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="8dPSJAnG-HVaIp^f.(Jf"><field name="NUM">100</field></shadow></value><value name="STEP"><shadow type="math_number" id="+vN/WzylJQZE1vOGV!rE"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="QuHODfMu|p3Srl=0I*2S"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="storage_file_write" id="@$$x;t?Fp(YqVcM_:v8,"><value name="data"><shadow type="text" id="s.X*OQ8RRP+I*4z+QOsk"><field name="TEXT">Mixly</field></shadow><block type="number_to_text" id="824{W2D{VFy{DP#vXSia"><value name="VAR"><shadow type="variables_get" id="C_!`G,6MRSn#qqoUP*?H"><field name="VAR">x</field></shadow><block type="sensor_sound" id=",B?S$K~!bAf0o3S*dvLT"></block></value></block></value><value name="FILE"><shadow type="variables_get" id="`PgBH]x7NREFk25jejI)"><field name="VAR">f</field></shadow></value><next><block type="storage_file_write" id="`#RtRIbrsp#Nr|0[7+fl"><value name="data"><shadow type="text" id="4|]l2J4Sy~,PZwb@$a@/"><field name="TEXT">Mixly</field></shadow><block type="ascii_to_char" id="`.2OrjhDF(N,(1D~2zy."><value name="VAR"><shadow type="math_number" id="90_=xoI@]al!),;$auO}"><field name="NUM">13</field></shadow></value></block></value><value name="FILE"><shadow type="variables_get" id="KSee!r`bP(g2OCAEUq3E"><field name="VAR">f</field></shadow></value><next><block type="controls_delay_new" id="RoOIF5uG(v4[*e:`B@b)"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id=",wvVOunwqkBZtaWr.3m3"><field name="NUM">10</field></shadow></value></block></next></block></next></block></statement><next><block type="storage_close_file" id="eLcf!kmbfW05rCvo81yy"><value name="FILE"><shadow type="variables_get" id="OpS*p#hA!HNLxycV)0`;"><field name="VAR">f</field></shadow></value><next><block type="storage_fileopen" id="zvhqOb+1}Bp;:Zk3{UZK"><field name="MODE">r</field><value name="FILENAME"><shadow type="text" id="(I86ogKvz=M*I7A,ciLk"><field name="TEXT">test.bin</field></shadow></value><value name="FILE"><shadow type="variables_get" id="kQmx6WMMYv9@O!5#BcEz"><field name="VAR">f</field></shadow></value><next><block type="variables_set" id="fMxO)9UT7ww#.]D.5jAb"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="F^i~XF(D-r(aV);9L{5R"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="B!3?13O(i,E1gM)$^4$f"><field name="VAR">f</field></shadow></value></block></value><next><block type="controls_whileUntil" id="JZ=QTPHbrD?Et_-aPrY~"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="mf1uS2e)47FJ)(2Q~BmF"><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="igqD]#H^)ERG}BV{5c[8"><field name="VAR">s</field></block></value><statement name="DO"><block type="system_print_inline" id="pZoD8pSnHtg6n5OJwn:m"><value name="VAR"><shadow type="text" id="#hlZ:(gvwz|hc~vjZX[B"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="N1~**Abn|raMy{|oWTB9"><field name="VAR">s</field></block></value><next><block type="variables_set" id="O)x^q0s/QM642028]kFf"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="[AM6!Wv:F7,~,nLKPcOv"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="aIZUUz?AIj;$s7z.[lD@"><field name="VAR">f</field></shadow></value></block></value></block></next></block></statement><next><block type="storage_close_file" id="VowwUvEi:vPrDFkwT0q4"><value name="FILE"><shadow type="variables_get" id="2hS]!q$t|lTa*fOy]4bt"><field name="VAR">f</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19jYyBpbXBvcnQgb25ib2FyZF9zb3VuZAppbXBvcnQgdGltZQppbXBvcnQgbWFjaGluZQoKCmYgPSBvcGVuKCd0ZXN0LmJpbicsICd3JykKZm9yIGkgaW4gcmFuZ2UoMCwgMTAwLCAxKToKICAgIGYud3JpdGUoc3RyKG9uYm9hcmRfc291bmQucmVhZCgpKSkKICAgIGYud3JpdGUoY2hyKDEzKSkKICAgIHRpbWUuc2xlZXBfbXMoMTApCmYuY2xvc2UoKQpmID0gb3BlbigndGVzdC5iaW4nLCAncicpCnMgPSBmLnJlYWRsaW5lKCkKd2hpbGUgczoKICAgIHByaW50KHMsZW5kID0iIikKICAgIHMgPSBmLnJlYWRsaW5lKCkKZi5jbG9zZSgpCg==</code>