Files
mixly3/boards/default/micropython_esp32c3/examples/pM1GyYPLf4md/eAujaOKbiNUU.mix
2024-07-23 20:47:22 +08:00

1 line
3.1 KiB
XML

<xml version="Mixly 2.0 rc4" board="Python ESP32-C3@MixGo ME"><block type="controls_whileUntil" id="3LrM[dFBquQYI1R_KQQ," x="-1059" y="-724"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="c`C:O,?3PRu|JogL$Ud0"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_forEach" id="/jn-!^mfqR@ih@}6,2Z8"><value name="LIST"><shadow type="list_many_input" id="(2]Zri?F[;__aP7[$0Ra"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="$n[feoxdL.WrQRz)kWp$"><value name="FROM"><shadow type="math_number" id="vLVl#NsK.@248*y)F}(n"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="z;pM/Z+:97n@h{t7KUnC"><field name="NUM">2</field></shadow></value><value name="STEP"><shadow type="math_number" id="8DSRB8g],/9e#yKuE)nI"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="rXiL/4xs-]t=$r-UEk:s"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="actuator_onboard_neopixel_rgb" id="P3P}(E[Bkn@(1Ztt=^VI"><value name="_LED_"><shadow type="math_number" id="rk/i!*X31a?fm8pbJ@{}"><field name="NUM">0</field></shadow><block type="variables_get" id="!Xg;k]S*6yt`GEq+,0l)"><field name="VAR">i</field></block></value><value name="RVALUE"><shadow type="math_number" id="ru.2}0i[tXa~{IAcx.w~"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="F8vZ!gfpzIjOMpfx~5ik"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="*I:gHSmkdzpDYk1T(ik9"><field name="NUM">25</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="=QdATzrSh{L7!CDRylF`"><next><block type="controls_delay_new" id="xZiutrLIGZzu*c,y,x[{"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="EM=PB~y6C)=L:W~Tss6q"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></statement><next><block type="actuator_onboard_neopixel_rgb_all" id="1YcBoL$:H,AyBL^^Zq)@"><value name="RVALUE"><shadow type="math_number" id="Ta7uC8DT8sa|~)Vv#yEO"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="sm-zFH5xzf`5=OJ)|8fg"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="bcSvpAD?hbU+3$#T$r*e"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="q,]EFXb[OwLMEkEV6{1!"><next><block type="controls_delay_new" id=";Nl,E[6N@PTa`8KzNs+J"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="_{JgO7*^Y:z^ShO5@I;:"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19tZSBpbXBvcnQgb25ib2FyZF9yZ2IKaW1wb3J0IHRpbWUKCgp3aGlsZSBUcnVlOgogICAgZm9yIGkgaW4gcmFuZ2UoMCwgMiwgMSk6CiAgICAgICAgb25ib2FyZF9yZ2JbaV0gPSAoMCwgMCwgMjUpCiAgICAgICAgb25ib2FyZF9yZ2Iud3JpdGUoKQogICAgICAgIHRpbWUuc2xlZXAoMC41KQogICAgb25ib2FyZF9yZ2IuZmlsbCgoMCwgMCwgMCkpCiAgICBvbmJvYXJkX3JnYi53cml0ZSgpCiAgICB0aW1lLnNsZWVwKDEpCg==</code>