1 line
4.9 KiB
XML
1 line
4.9 KiB
XML
<xml version="Mixly 2.0 rc4" board="MixGo CE@MixGo CE"><block type="storage_fileopen" id="G+2pg[Y;$@aiC;p6BejW" x="-1854" y="-572"><field name="MODE">w</field><value name="FILENAME"><shadow type="text" id="/??y@Smrp7Cc9Cw6q/p_"><field name="TEXT">test.bin</field></shadow></value><value name="FILE"><shadow type="variables_get" id="f}VTq`5^t)=+Xu*AC:hU"><field name="VAR">f</field></shadow></value><next><block type="controls_forEach" id="JhG~xq7Y.F;,.KJx$9RL"><value name="LIST"><shadow type="list_many_input" id="6R`KmQdZSF_F@,4AFsqX"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="n{Wk|iKra7wqELpnh{sz"><value name="FROM"><shadow type="math_number" id="~4I}S(t)A4c6yg6XYS_U"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="qlId~W7W#JqC@6n5:wc0"><field name="NUM">100</field></shadow></value><value name="STEP"><shadow type="math_number" id="6C2]+$ox@xxM?H8@O=DJ"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="?cF3Agq]g`y8-XPfC)e4"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="storage_file_write" id="JmWEqvkIn|!R}e9iaprv"><value name="data"><shadow type="text" id="}r-JEj@}[PE_I*M9r2c0"><field name="TEXT">Mixly</field></shadow><block type="number_to_text" id="Q~(}{AVZOI`$mqBh:o1O"><value name="VAR"><shadow type="variables_get" id="]g~2U$N^_PmjL,-*n;!F"><field name="VAR">x</field></shadow><block type="sensor_sound" id=".odhCISclm2XqZF#bC1k"></block></value></block></value><value name="FILE"><shadow type="variables_get" id="vM4Q!vI3Bpqf7+;WQu!v"><field name="VAR">f</field></shadow></value><next><block type="storage_file_write" id="jm`TR9durB{l!G@]n=83"><value name="data"><shadow type="text" id="]ONsW79`xH1GV,H}h@QN"><field name="TEXT">Mixly</field></shadow><block type="ascii_to_char" id="Gq:oOktJP-6}hesdP*.1"><value name="VAR"><shadow type="math_number" id="7FFJmGB6Oj-PNb!ywtUF"><field name="NUM">13</field></shadow></value></block></value><value name="FILE"><shadow type="variables_get" id="vJ!DWjslAm87U;9w5LK:"><field name="VAR">f</field></shadow></value><next><block type="controls_delay_new" id="|7l/Pmh|G=mK2`+E$rrB"><field name="Time">ms</field><value name="DELAY_TIME"><shadow type="math_number" id="^@doaPALu19y]gCK{h-N"><field name="NUM">10</field></shadow></value></block></next></block></next></block></statement><next><block type="storage_close_file" id="`$RKV9TW}I?=TXYz-,$j"><value name="FILE"><shadow type="variables_get" id="5DS93fSobNObvIt]j]Nj"><field name="VAR">f</field></shadow></value><next><block type="storage_fileopen" id="Vha@aPV15aaRz@ptoGt5"><field name="MODE">r</field><value name="FILENAME"><shadow type="text" id="5l,_572[9x]`1qUiD@U:"><field name="TEXT">test.bin</field></shadow></value><value name="FILE"><shadow type="variables_get" id="rn,RY9D#.H~*2p(X`Uiu"><field name="VAR">f</field></shadow></value><next><block type="variables_set" id="~,I`TNi!V,!v=J]m$iM$"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="vdhDo-7xIN!tsq*-v~Cf"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="T5{3]a00J:9VAOK9pGUP"><field name="VAR">f</field></shadow></value></block></value><next><block type="controls_whileUntil" id="L?6bJStB=!R8q@j]wA1/"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="ei~AOMD2+bAiBSzi=8+."><field name="BOOL">TRUE</field></shadow><block type="variables_get" id="SEt{2E[kfFDyCnuLjGS}"><field name="VAR">s</field></block></value><statement name="DO"><block type="system_print_inline" id="Z.W!fZ+YFWa#*2xVCo+/"><value name="VAR"><shadow type="text" id="o0@I{)cr]Dw~8|vF|4qx"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id=":[FK97(p3^YA3XC_tH3A"><field name="VAR">s</field></block></value><next><block type="variables_set" id="pa:-Xy9U(O5!ym/_P,6S"><field name="VAR">s</field><value name="VALUE"><block type="storage_get_contents_without_para" id="A4#Bd/gw7F^A^tZSd5xR"><field name="MODE">readline</field><value name="FILE"><shadow type="variables_get" id="g.)SN/wzq|M(J:7Hn67A"><field name="VAR">f</field></shadow></value></block></value></block></next></block></statement><next><block type="storage_close_file" id="4;15pC#t0Du;#]nu$Q(6"><value name="FILE"><shadow type="variables_get" id=";5EI}XyW1yO`qy_X::j("><field name="VAR">f</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19jZSBpbXBvcnQgb25ib2FyZF9zb3VuZAppbXBvcnQgdGltZQppbXBvcnQgbWFjaGluZQoKCmYgPSBvcGVuKCd0ZXN0LmJpbicsICd3JykKZm9yIGkgaW4gcmFuZ2UoMCwgMTAwLCAxKToKICAgIGYud3JpdGUoc3RyKG9uYm9hcmRfc291bmQucmVhZCgpKSkKICAgIGYud3JpdGUoY2hyKDEzKSkKICAgIHRpbWUuc2xlZXBfbXMoMTApCmYuY2xvc2UoKQpmID0gb3BlbigndGVzdC5iaW4nLCAncicpCnMgPSBmLnJlYWRsaW5lKCkKd2hpbGUgczoKICAgIHByaW50KHMsZW5kID0iIikKICAgIHMgPSBmLnJlYWRsaW5lKCkKZi5jbG9zZSgpCg==</code> |