Files
mixly3/boards/default/micropython_esp32s3/examples/MixGo Sant/智能物联从体验到精通/3年级/5-1-2 简单红绿灯-多向路口红绿.mix
2025-12-31 09:45:01 +08:00

1 line
6.0 KiB
XML

<xml version="Mixly 3.0 rc0" board="Python ESP32-S3@元控自强" shown="block"><block type="controls_whileUntil" id="{Nm1`Qd0H;U^ZR8rE.Q:" x="-2073" y="33"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="b49uy[iO?n_x~Bxq8-`S"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="actuator_onboard_neopixel_rgb" id="w5[z`p0I8u[C~0qW#X{L"><value name="_LED_"><shadow type="math_number" id="35*Ym`H+{NQJq!hh]`2}"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="@/tIjj]ld@2pE)ksT{!o"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="{x~7_HcF[6S|P9J1~8qs"><field name="NUM">30</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="0hd,3COq8|/6Y:q*:M$b"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="!|A(~sk/Er2?WC`#BnaO"><value name="_LED_"><shadow type="math_number" id="(;]|N/cf|v5a/cMR*rSE"><field name="NUM">3</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="M~`+r3)[:JnDkp9u#G?r"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id=",lYwm1Au5xz7V,D)Ihj."><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="m_?N3#(}JqoZsT3UlEgU"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="Nm@V*MIMQQjhN7X$i])U"><next><block type="controls_delay_new" id="??S5.,0,gniw!h:vrC,q"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="T}aT+R:]2@Fz{y@suG0w"><field name="NUM">2</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="+L^7[T(|PX7@GiTN!#?C"><value name="_LED_"><shadow type="math_number" id="nSE.q5bs3/-=aZ4~}Vd/"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="gKgV$Em#h/mL#X!h9O{b"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id=")@[!EfqSz,NC$2$G_MBK"><field name="NUM">30</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="GAN[y=XpmOD@tcO=(:mk"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="38F-TKRMgHMdE_AWiYfJ"><value name="_LED_"><shadow type="math_number" id=";LuyjnzqmNfs)J.U^LiH"><field name="NUM">3</field></shadow></value><value name="RVALUE"><shadow type="math_number" id=";Kv:_z|yz,7MuO7Eh2,w"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="^JhV9,I*`HXS!3feoThN"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="Z+t3=x74KYp6|NSAE6@/"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="3uvv)EfrqTXvhiIs*}.m"><next><block type="controls_delay_new" id="9M/|]@AvHU9E|}v.mPq3"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="`gVnK-#xF9s16iT5jsdW"><field name="NUM">0.5</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="o:x?di{?P)5(uSqZtiLo"><value name="_LED_"><shadow type="math_number" id="Y:F`fF-pix`Ig9FZ)Fih"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="Y$-nI?[2thz_[X^eriZn"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="pY6u(NK#K^}Xr0GU:99k"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="}G`ZZ?u{T)QFLD1tI}Xw"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="))U!p4~KVaz}`b`s;)S;"><value name="_LED_"><shadow type="math_number" id="/dGFv#4ZNnVHDjm#!2zO"><field name="NUM">3</field></shadow></value><value name="RVALUE"><shadow type="math_number" id=".kXqFC~]i/IDas`@3p}8"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="6^2`PChm_C};*#@B+s6N"><field name="NUM">30</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="zxXjLS$q:UGQupYwzrx*"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="65gvBV.=_ThTHOuoz[J~"><next><block type="controls_delay_new" id="~XiXP^zoaQBYll8HVO+N"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="m]D_ALC`}o8LPB;I)+Po"><field name="NUM">1.5</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="p@~Gc?l2ychhf{D@cW#S"><value name="_LED_"><shadow type="math_number" id="ZbM#Vea.U.tRhQM(n/Nd"><field name="NUM">3</field></shadow></value><value name="RVALUE"><shadow type="math_number" id=":+46lNG*flJ!Sest)0,0"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="B$UqThsvhXflBv^y6@v`"><field name="NUM">30</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="xG][yB-(ps`F6u@=7$-2"><field name="NUM">0</field></shadow></value><next><block type="controls_delay_new" id="4c{_ZBU2j34p:D3aKA|b"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="PoF#-hFM|eNz}~3LhtiB"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19zYW50IGltcG9ydCBvbmJvYXJkX3JnYgppbXBvcnQgdGltZQoKd2hpbGUgVHJ1ZToKICAgIG9uYm9hcmRfcmdiWzBdID0gKDAsIDMwLCAwKQogICAgb25ib2FyZF9yZ2JbM10gPSAoMzAsIDAsIDApCiAgICBvbmJvYXJkX3JnYi53cml0ZSgpCiAgICB0aW1lLnNsZWVwKDIpCiAgICBvbmJvYXJkX3JnYlswXSA9ICgzMCwgMzAsIDApCiAgICBvbmJvYXJkX3JnYlszXSA9ICgzMCwgMCwgMCkKICAgIG9uYm9hcmRfcmdiLndyaXRlKCkKICAgIHRpbWUuc2xlZXAoMC41KQogICAgb25ib2FyZF9yZ2JbMF0gPSAoMzAsIDAsIDApCiAgICBvbmJvYXJkX3JnYlszXSA9ICgwLCAzMCwgMCkKICAgIG9uYm9hcmRfcmdiLndyaXRlKCkKICAgIHRpbWUuc2xlZXAoMS41KQogICAgb25ib2FyZF9yZ2JbM10gPSAoMzAsIDMwLCAwKQogICAgdGltZS5zbGVlcCgwLjUpCg==</code>