1 line
3.6 KiB
XML
1 line
3.6 KiB
XML
<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo ME"><block type="controls_whileUntil" id="r4w,6`^w;7|A^B3_CY=j" x="-1059" y="-724"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="tPJr!C@ACJ_p@apOPl^N"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_forEach" id="?oqwQND3b]u:B1ZIBrST"><value name="LIST"><shadow type="list_many_input" id="Cnp[7(+vw?V/=/7;v^:d"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="***C8F@T?~t3?1+6*`E-"><value name="FROM"><shadow type="math_number" id=".Wda0Hn61]B|daLZi!//"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="]Hg10+:nDFq~?1Dp:RN@"><field name="NUM">2</field></shadow></value><value name="STEP"><shadow type="math_number" id="]dRIf+s#l!oJ8-3hkAv="><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="2=+g#/@KwdfOR416g+]v"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="actuator_onboard_neopixel_rgb_all" id="fst5/`,6D(0oR7M}eBXM"><value name="RVALUE"><shadow type="math_number" id="SZOcBzWaR*b(q076]6+B"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="4~A5_KG[r4RC6[zO)@Vt"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="bz|tk!MyZ+?18l#8z+Cv"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="d+06`WkZ3X=l7Ecju?u["><value name="_LED_"><shadow type="math_number" id="b/uNmf[{4#n39Yb[]PwF"><field name="NUM">0</field></shadow><block type="variables_get" id="3y;sW-lsbH4AT^ltGg6#"><field name="VAR">i</field></block></value><value name="RVALUE"><shadow type="math_number" id="LFXNIV?x,d4;+p7h6$m3"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="N,)s{_sYj9W]s47Kjj{0"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="$g01]reF+9xUo/+#jsP?"><field name="NUM">25</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="q.Ytzljf7?l6iLO#]UNY"><next><block type="controls_delay_new" id="W7GP7egPjJmEz5(/{)#p"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="YTU!x*1x}3IM08^dkn0a"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="actuator_onboard_neopixel_rgb_all" id="R~~*H(7j/jX09$-2}+RV"><value name="RVALUE"><shadow type="math_number" id="E7j`PN4M{cQt#~OLS9J."><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="@ZM^M!V53mo3X/L-7400"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="^VPECJp`]u0q3-6+7Y:]"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="5Y}YF5c[zevA@x/o8~JD"><next><block type="controls_delay_new" id="HAH.UY8hiVl[vTba/8G5"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="5p7l2_@(qVS/^ZwdD,SK"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19tZSBpbXBvcnQgb25ib2FyZF9yZ2IKaW1wb3J0IHRpbWUKCgp3aGlsZSBUcnVlOgogICAgZm9yIGkgaW4gcmFuZ2UoMCwgMiwgMSk6CiAgICAgICAgb25ib2FyZF9yZ2IuZmlsbCgoMCwgMCwgMCkpCiAgICAgICAgb25ib2FyZF9yZ2JbaV0gPSAoMCwgMCwgMjUpCiAgICAgICAgb25ib2FyZF9yZ2Iud3JpdGUoKQogICAgICAgIHRpbWUuc2xlZXAoMC41KQogICAgb25ib2FyZF9yZ2IuZmlsbCgoMCwgMCwgMCkpCiAgICBvbmJvYXJkX3JnYi53cml0ZSgpCiAgICB0aW1lLnNsZWVwKDEpCg==</code> |