1 line
3.6 KiB
XML
1 line
3.6 KiB
XML
<xml version="Mixly 2.0 rc4" board="MixGo CE@MixGo CE"><block type="controls_whileUntil" id="=s:f3eQS;:e6lEax{;~O" x="-1059" y="-724"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="6E;Z5?nn(G2|,:i4!#mj"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_forEach" id="xiCiGP!aoVtUBrsVjRXj"><value name="LIST"><shadow type="list_many_input" id="#D+;uZIXDj0@TWl_K8*y"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="er2N#9QUA@{rxJ@a,/a9"><value name="FROM"><shadow type="math_number" id="2_*hZEmqaBTuJh}.8UMD"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="l,}9ClRs;=M($Gu14v03"><field name="NUM">4</field></shadow></value><value name="STEP"><shadow type="math_number" id="vZJUv.f=eyMlsR3Pno+*"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="~jU=:)kV`tlAfAjfARRA"><field name="VAR">i</field></shadow></value><statement name="DO"><block type="actuator_onboard_neopixel_rgb_all" id="@3zA*#WDo?yYID6_3|8x"><value name="RVALUE"><shadow type="math_number" id="YBgMv`L_6JVKT9RKVqLR"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="]8+pQVy2~Gu.fH,l6I+f"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="deW2A`[TA5zNc~2NMKwX"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="QSWGl-KX9p^I+X:HL^Qm"><value name="_LED_"><shadow type="math_number" id="k}=D+]tD$!9#q/)t}*,$"><field name="NUM">0</field></shadow><block type="variables_get" id="8;5UbvM}kpm;cqZukBs1"><field name="VAR">i</field></block></value><value name="RVALUE"><shadow type="math_number" id="b(UB2+0@;AJB5Y)xOoMJ"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="~9LRs=tB^D|#DTcZ~AB$"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="rOqq65fhsT+cbJjm;FxJ"><field name="NUM">25</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="TJI)VbHRexod]0Qdvfdp"><next><block type="controls_delay_new" id="*:N,i:ByEH]}DJq}JpTo"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="-W-st~qTJn?/h$0bu;:u"><field name="NUM">0.5</field></shadow></value></block></next></block></next></block></next></block></statement><next><block type="actuator_onboard_neopixel_rgb_all" id="o!`NzJp;*0GP(vaZ7a?1"><value name="RVALUE"><shadow type="math_number" id="@j:u9NEb_(v}e;;aZz(C"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="R6ftgGephnYd2Un6zG82"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="!?r_fosg_G9,y{N-ms7p"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="Z].IpwG#Z;JSISlWPf}z"><next><block type="controls_delay_new" id="7B@Ln)r3/OZ9@BZNiwGL"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="I2CL7{4@@Car2`X|9^di"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19jZSBpbXBvcnQgb25ib2FyZF9yZ2IKaW1wb3J0IHRpbWUKCgp3aGlsZSBUcnVlOgogICAgZm9yIGkgaW4gcmFuZ2UoMCwgNCwgMSk6CiAgICAgICAgb25ib2FyZF9yZ2IuZmlsbCgoMCwgMCwgMCkpCiAgICAgICAgb25ib2FyZF9yZ2JbaV0gPSAoMCwgMCwgMjUpCiAgICAgICAgb25ib2FyZF9yZ2Iud3JpdGUoKQogICAgICAgIHRpbWUuc2xlZXAoMC41KQogICAgb25ib2FyZF9yZ2IuZmlsbCgoMCwgMCwgMCkpCiAgICBvbmJvYXJkX3JnYi53cml0ZSgpCiAgICB0aW1lLnNsZWVwKDEpCg==</code> |