1 line
5.7 KiB
XML
1 line
5.7 KiB
XML
<xml version="Mixly 3.0 rc0" board="Python ESP32-S3@元控自强" shown="block"><block type="controls_whileUntil" id="^D:Kcji}HFpx=$,6/Q8;" x="-2109" y="-93"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="Vius@]tE~(@n1[}!@A9F"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="actuator_onboard_neopixel_rgb" id=":rfc#evXGV*X?,RlC~[1"><value name="_LED_"><shadow type="math_number" id="5^M*d*Jm,;^oG1j+Rr^C"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="{^zdhlS`=kF-lm74^j2F"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="{DN3Z3`5jb(P3N![ijIQ"><field name="NUM">30</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="k#UKK^(2G+|x,?78/I(j"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="C=A)#YI^yOKn*Fr={_ep"><next><block type="controls_forEach" id="Alf9xIi@|a#h1_Tk)g.y"><value name="LIST"><shadow type="list_many_input" id="t*`*fJ+/iSpz7kz~h:Rv"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="k|F`y;S/Oi$YB-z`j8{F"><value name="FROM"><shadow type="math_number" id="w=4S@e:-`.iBs0vXA``t"><field name="NUM">9</field></shadow></value><value name="TO"><shadow type="math_number" id="CogytG27#p;L0Gg}{z3."><field name="NUM">-1</field></shadow></value><value name="STEP"><shadow type="math_number" id="!Z{0`O~vfw!4Ql#,/nlb"><field name="NUM">-1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="KSN(jbKSm.9)yE)P95A+"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="esp32_onboard_music_pitch_with_time" id="A1HTIyQH$OVtY$hyr5;S"><value name="pitch"><shadow type="pins_tone_notes" id="kd|!|oHBa@aJ^!ti#xK]"><field name="PIN">659</field></shadow></value><value name="time"><shadow type="math_number" id="(Nll5hMe#-c_kH^pm5W+"><field name="NUM">100</field></shadow></value><next><block type="controls_delay_new" id="8,pBkCH2eS,](lRH_|^Y"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="be0a2oxGGY94@Nktju5h"><field name="NUM">0.1</field></shadow></value></block></next></block></statement><next><block type="actuator_onboard_neopixel_rgb" id="o;j^0ktfdi2a-*:oyNi,"><value name="_LED_"><shadow type="math_number" id="#vSNMyktm;W=R=]}D7M2"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="Lm0oDntV}RM::54EwOxR"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="^dx8:lsaj$9/^V+2/+sO"><field name="NUM">30</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="Id3b6NYDH]E@ZfZL55z["><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="+ZCBA3zC.b^l1O}Oy5zx"><next><block type="controls_delay_new" id="9VR*0|jiO_Dgw:K95)9{"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="I0{J~;0l+$eDFwhfbE-)"><field name="NUM">0.5</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="_Qo$]#Ru?1WTu1M4;]45"><value name="_LED_"><shadow type="math_number" id="QH+=-~f_7i9qi;b?VmUK"><field name="NUM">0</field></shadow></value><value name="RVALUE"><shadow type="math_number" id="U0z1*}:.0}gEh_(.K]qV"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="{9-+Upmlrj@5+}zfs*r="><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="X4F_Hc0*/)A-N${J~m3K"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="yk21yD=jqOBO3;cI!OUk"><next><block type="controls_forEach" id="|66/UvuMgLzAoN=sadmd"><value name="LIST"><shadow type="list_many_input" id="4(HtvqN:]0|Elf{Az0_!"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="6QU?N|scRE#2Ak7Qlwc2"><value name="FROM"><shadow type="math_number" id="nGMgp9dU2!i;@7Z:~(wc"><field name="NUM">4</field></shadow></value><value name="TO"><shadow type="math_number" id="|aSd^}9;h;,R~QClIDDa"><field name="NUM">-1</field></shadow></value><value name="STEP"><shadow type="math_number" id="68rCW9BnaykUlJjmjfYD"><field name="NUM">-1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="0qOZ.3Fh7xw3+~fYX?l-"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="esp32_onboard_music_pitch_with_time" id="VC-xS},@E]4vBA/b3Z#S"><value name="pitch"><shadow type="pins_tone_notes" id="3?XJ;a}mi*il.@kcam}z"><field name="PIN">659</field></shadow></value><value name="time"><shadow type="math_number" id="z(QY+DqKd9n!/e_d@^@|"><field name="NUM">200</field></shadow></value><next><block type="controls_delay_new" id="?xZi6QjyrtvUJkxdG.NW"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="+;qqdE+LfANl2=3[*yS="><field name="NUM">0.2</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19zYW50IGltcG9ydCBvbmJvYXJkX3JnYgpmcm9tIG1peGdvX3NhbnQgaW1wb3J0IG9uYm9hcmRfbXVzaWMKaW1wb3J0IHRpbWUKCndoaWxlIFRydWU6CiAgICBvbmJvYXJkX3JnYlswXSA9ICgwLCAzMCwgMCkKICAgIG9uYm9hcmRfcmdiLndyaXRlKCkKICAgIGZvciBpIGluIHJhbmdlKDksIC0xLCAtMSk6CiAgICAgICAgb25ib2FyZF9tdXNpYy5waXRjaF90aW1lKDY1OSwgMTAwKQogICAgICAgIHRpbWUuc2xlZXAoMC4xKQogICAgb25ib2FyZF9yZ2JbMF0gPSAoMzAsIDMwLCAwKQogICAgb25ib2FyZF9yZ2Iud3JpdGUoKQogICAgdGltZS5zbGVlcCgwLjUpCiAgICBvbmJvYXJkX3JnYlswXSA9ICgzMCwgMCwgMCkKICAgIG9uYm9hcmRfcmdiLndyaXRlKCkKICAgIGZvciBpIGluIHJhbmdlKDQsIC0xLCAtMSk6CiAgICAgICAgb25ib2FyZF9tdXNpYy5waXRjaF90aW1lKDY1OSwgMjAwKQogICAgICAgIHRpbWUuc2xlZXAoMC4yKQo=</code> |