Files
mixly3/boards/default/micropython_esp32c2/examples/MixGo MINI/04-1-快速入门-流动的灯3.mix
2025-04-20 11:46:49 +08:00

1 line
2.7 KiB
XML

<xml version="Mixly 3.0 rc0" board="Python ESP32-C2@MixGo MINI" shown="block"><block type="controls_forEach" id="iNXjbZa)]]7-*TW~HIY," x="-290" y="-169"><value name="LIST"><shadow type="list_many_input" id=")!d0bU$GQ-{r:8?hW)Ed"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="$Lh?/hnfhWqS$08htdy2"><value name="FROM"><shadow type="math_number" id="m}`TG2dj}Bb]J^?lWj?x"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="!}Br6UqC+i3cx;qbr0)."><field name="NUM">8</field></shadow></value><value name="STEP"><shadow type="math_number" id="3@/rFq+r+G+X[;}E(#bO"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="a_({=NbK*)n/-TC)0Ej5"><field name="VAR">Y</field></shadow></value><statement name="DO"><block type="controls_forEach" id="WidIMnkD*:[ZERv#}Es("><value name="LIST"><shadow type="list_many_input" id=")!d0bU$GQ-{r:8?hW)Ed"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="{sW,YZ8vhc0vS2)A4JtH"><value name="FROM"><shadow type="math_number" id="JD*t,:KLczqK7L!3!S@r"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="Z?I*23XW.4f^Z`coWppa"><field name="NUM">12</field></shadow></value><value name="STEP"><shadow type="math_number" id="#,5q_*!,kr7SoTdd,/Zo"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="VDnGU^FY)~ynCd{rpL}p"><field name="VAR">X</field></shadow></value><statement name="DO"><block type="display_bright_point" id="3o*;K^d2vLq53?2olLJA"><value name="x"><shadow type="pins_exlcdh" id="{t@t2[mUpq{:`Uwm)Mpw"><field name="PIN">0</field></shadow><block type="variables_get" id="E6g3XeOg[nh]W_7Q:i}-"><field name="VAR">X</field></block></value><value name="y"><shadow type="pins_exlcdv" id="u*#LbQRYB2Oy:ox`ze0u"><field name="PIN">0</field></shadow><block type="variables_get" id="{*Lxu+*vmab,+0WPDFMG"><field name="VAR">Y</field></block></value><value name="STAT"><shadow type="display_onoff" id="r#[L_~!Ch?,j}5^rhrV*"><field name="ONOFF">ON</field></shadow></value><next><block type="controls_delay_new" id="^t24Xa{L|@gH_bw9faWA"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="H6)ldL=^}I8!ug!sQlPO"><field name="NUM">0.1</field></shadow></value></block></next></block></statement></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19taW5pIGltcG9ydCBvbmJvYXJkX21hdHJpeAppbXBvcnQgdGltZQoKCmZvciBZIGluIHJhbmdlKDAsIDgsIDEpOgogICAgZm9yIFggaW4gcmFuZ2UoMCwgMTIsIDEpOgogICAgICAgIG9uYm9hcmRfbWF0cml4LnBpeGVsKGludChYKSwgaW50KFkpLCAxKQogICAgICAgIG9uYm9hcmRfbWF0cml4LnNob3coKQogICAgICAgIHRpbWUuc2xlZXAoMC4xKQo=</code>