1 line
4.7 KiB
XML
1 line
4.7 KiB
XML
<xml version="Mixly 3.0 rc0" board="Python ESP32-C2@MixGo MINI" shown="block"><block type="controls_forEach" id=";c2o[e}xD~^cQ#]J$ajK" x="-275" y="-244"><value name="LIST"><shadow type="list_many_input" id="Yc4!2[^fOz,s)f#rH_X/"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="]xU8/`At$8}_B9#shX?u"><value name="FROM"><shadow type="math_number" id="W+c6WR)ZQQCJR}z#1J:v"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="*B(Y+bzOy=[`_XAepNk}"><field name="NUM">12</field></shadow></value><value name="STEP"><shadow type="math_number" id="h4ENX6GUr~u)Pb:Zpjh~"><field name="NUM">2</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="g2Z4iyi1k];JVw[YK,|y"><field name="VAR">X</field></shadow></value><statement name="DO"><block type="controls_forEach" id="uuKA8$qdv(?@Re;4Z4AJ"><value name="LIST"><shadow type="list_many_input" id="oT1P1Pi91=x`;NPL#VYl"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="[WROv9L+8{Fshf}}x9m@"><value name="FROM"><shadow type="math_number" id="tHLI(;59$L;Z,dvisEJ("><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="Pi+!*GcaePhQ/s=DntON"><field name="NUM">8</field></shadow></value><value name="STEP"><shadow type="math_number" id="iTi[t;B?!m0pS5uJIR7?"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="=W*$3N0R{xBm+iJg3Z6s"><field name="VAR">Y</field></shadow></value><statement name="DO"><block type="display_bright_point" id="mVUz636!zhRTI|A7#@=p"><value name="x"><shadow type="pins_exlcdh" id="0U-:{;^h63|8-mU[:.zm"><field name="PIN">0</field></shadow><block type="variables_get" id="KRhG.gW8dnuR1d.8,})a"><field name="VAR">X</field></block></value><value name="y"><shadow type="pins_exlcdv" id="aPPDv$4dy;MP4ycOH}{d"><field name="PIN">0</field></shadow><block type="variables_get" id="UY-L3k?G{l~d8:D9Yrxu"><field name="VAR">Y</field></block></value><value name="STAT"><shadow type="display_onoff" id="Y@T[?|O_Jh[4Qt+bDr)X"><field name="ONOFF">ON</field></shadow></value><next><block type="controls_delay_new" id=",7lSdjJckt@nNp(bsx2B"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="Rt.y@TZQx-?h.G^[K-3="><field name="NUM">0.1</field></shadow></value></block></next></block></statement><next><block type="controls_forEach" id="A39vv/~3hz8gfRV0Pc?h"><value name="LIST"><shadow type="list_many_input" id="247PE_b+Y8onhE8#F6*1"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="l2q-(ANa|Spq~rvPhk3?"><value name="FROM"><shadow type="math_number" id="OVcS*vq={PIm3fDtEHM."><field name="NUM">7</field></shadow></value><value name="TO"><shadow type="math_number" id="*+!(;u{rMY+WQZD$.X?4"><field name="NUM">-1</field></shadow></value><value name="STEP"><shadow type="math_number" id="BeOw8LN`!o?Ht_xD,7|c"><field name="NUM">-1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="XNpb6{q3$0:cX9u,w9fh"><field name="VAR">Y</field></shadow></value><statement name="DO"><block type="display_bright_point" id="eH}+:IFZi=T{~Rk2YQWD"><value name="x"><shadow type="pins_exlcdh" id="EOZ}`s*^3Uk_#qfL9^Nx"><field name="PIN">0</field></shadow><block type="math_arithmetic" id="h.*Xwrc?}OB8J07_L|R6"><field name="OP">ADD</field><value name="A"><shadow type="math_number" id="Ab+3[#H[Xx)r:J^5Ta~M"><field name="NUM">1</field></shadow><block type="variables_get" id="WNh3Cw.QXb440362a4k;"><field name="VAR">X</field></block></value><value name="B"><shadow type="math_number" id="l.$q?-pq0vUAjUi@[3J)"><field name="NUM">1</field></shadow></value></block></value><value name="y"><shadow type="pins_exlcdv" id="$K$`|U9O2mA@^Su5v;Ec"><field name="PIN">0</field></shadow><block type="variables_get" id="pR/FQtuS)HzgOMOOcpX+"><field name="VAR">Y</field></block></value><value name="STAT"><shadow type="display_onoff" id=")UCe8QKmiyJIxLMAq_Fp"><field name="ONOFF">ON</field></shadow></value><next><block type="controls_delay_new" id="4;$j=X)h,5Zreth4IzEt"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="gW/vMq2KMVrpfv#!o1_|"><field name="NUM">0.1</field></shadow></value></block></next></block></statement></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19taW5pIGltcG9ydCBvbmJvYXJkX21hdHJpeAppbXBvcnQgdGltZQoKCmZvciBYIGluIHJhbmdlKDAsIDEyLCAyKToKICAgIGZvciBZIGluIHJhbmdlKDAsIDgsIDEpOgogICAgICAgIG9uYm9hcmRfbWF0cml4LnBpeGVsKGludChYKSwgaW50KFkpLCAxKQogICAgICAgIG9uYm9hcmRfbWF0cml4LnNob3coKQogICAgICAgIHRpbWUuc2xlZXAoMC4xKQogICAgZm9yIFkgaW4gcmFuZ2UoNywgLTEsIC0xKToKICAgICAgICBvbmJvYXJkX21hdHJpeC5waXhlbChpbnQoWCArIDEpLCBpbnQoWSksIDEpCiAgICAgICAgb25ib2FyZF9tYXRyaXguc2hvdygpCiAgICAgICAgdGltZS5zbGVlcCgwLjEpCg==</code> |