Files
mixly3/boards/default/micropython_esp32s3/examples/wJmk17OsKBWA/-0OlaPMaCEEq.mix
2024-07-21 09:30:11 +08:00

1 line
3.1 KiB
XML

<xml version="Mixly 2.0 rc4" board="Python ESP32-S3@元控青春"><block type="controls_whileUntil" id="A$)iJiQph=+{S]yU`+jQ" x="-1059" y="-724"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="#cQ*-49$1fS{7UylRE*P"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_forEach" id="Tr#19|7lhNC@jB1WCzdK"><value name="LIST"><shadow type="list_many_input" id="Ls$7o9ho$C@nG3jKNMh!"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="}{XMV*Wp{Qn{Q9l87(UJ"><value name="FROM"><shadow type="math_number" id="-bPRG{e/s,xD*r2yj#P|"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="kzi$2C|***,|z`f{(OG|"><field name="NUM">4</field></shadow></value><value name="STEP"><shadow type="math_number" id="FAA1CIx.o[ZgNQhdXZ8a"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="fBX@Lv}7O9`9im5yoxCl"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="actuator_onboard_neopixel_rgb" id="E/ezAc4UF]Leqxw,z#J2"><value name="_LED_"><shadow type="math_number" id="ff|f4yeqLiq_nWr#U6@l"><field name="NUM">0</field></shadow><block type="variables_get" id="Z|QJi/,1`p9|F$}lh1Hu"><field name="VAR">i</field></block></value><value name="RVALUE"><shadow type="math_number" id="|rnVH;AK|,{3=5FxDsnI"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="q=;]i.Bb/4zT;tO!8ADK"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="UMy/)/KT@QJ.PV7FyN_5"><field name="NUM">25</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="[tOsjG$fyzu}QqEirgY)"><next><block type="controls_delay_new" id=";LnBaY=PQR$:C(uMAEx8"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="G{5UTr{TGna~!aH^#,_-"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></statement><next><block type="actuator_onboard_neopixel_rgb_all" id="sGulusBvD84R0SxfSW4C"><value name="RVALUE"><shadow type="math_number" id="subxwx|=7PzoX0J66);z"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id=",Ge8)x4V96r+J7L!P60b"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="r}Ohg1:|o^vvoWM?46J-"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="b;PI[oUr*mohw_YgVn1:"><next><block type="controls_delay_new" id="#C)u01!^,xfU~ly50C;S"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="N2a|KTZVXORx~0^w)`ZX"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19ub3ZhIGltcG9ydCBvbmJvYXJkX3JnYgppbXBvcnQgdGltZQoKCndoaWxlIFRydWU6CiAgICBmb3IgaSBpbiByYW5nZSgwLCA0LCAxKToKICAgICAgICBvbmJvYXJkX3JnYltpXSA9ICgwLCAwLCAyNSkKICAgICAgICBvbmJvYXJkX3JnYi53cml0ZSgpCiAgICAgICAgdGltZS5zbGVlcCgwLjUpCiAgICBvbmJvYXJkX3JnYi5maWxsKCgwLCAwLCAwKSkKICAgIG9uYm9hcmRfcmdiLndyaXRlKCkKICAgIHRpbWUuc2xlZXAoMSkK</code>