1 line
3.0 KiB
XML
1 line
3.0 KiB
XML
<xml version="Mixly 3.0 rc0" board="Python ESP32-S3@元控自强(SANT)" shown="block"><block type="set_create_with" id="T1{T/Qk3C}5s7?M.99QM" inline="true" x="-174" y="-20"><mutation items="1"></mutation><field name="VAR">s1</field><value name="ADD0"><block type="math_number" id="S_;rZWZ42-pe1y+i?5XE"><field name="NUM">991377439</field></block></value><next><block type="controls_whileUntil" id="08Nq7y.@eddU!Awnw~z["><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="oN;bLwW]_1Y#eE+.02|w"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="variables_set" id="cc:STVz/Bn8Hb:N|lO$S"><field name="VAR">id</field><value name="VALUE"><block type="mini_g2_rfid_readid" id="ZL@Z3Fw+l5bajhYM|,~w"></block></value><next><block type="controls_if" id="=MroLtHbBCq,*gK@7t6Q"><value name="IF0"><block type="logic_compare" id="O.2#m`]NiY*-Y},7|T]J"><field name="OP">NEQ</field><value name="A"><block type="variables_get" id="ssw0Q;nT$sUSas],F`j*"><field name="VAR">id</field></block></value><value name="B"><block type="logic_null" id="cnw+talG(jPVfwmZ=~xj"></block></value></block></value><statement name="DO0"><block type="system_print" id="aL]r`z.57{-2,|@hTatU"><value name="VAR"><shadow type="text" id=".U+Y4}),vyj58IHxsXba"><field name="TEXT">Mixly</field></shadow><block type="variables_get" id="Za/6(Y=n#v{*1y8+_jh/"><field name="VAR">id</field></block></value><next><block type="controls_if" id="u{U!SBNA|iJfj20#HvSZ"><value name="IF0"><block type="logic_is_in" id="}BRV7p90bM*^:]Du/PYs"><field name="BOOL">in</field><value name="A"><shadow type="variables_get" id="tJm6qakD6N_96R`3/|g}"><field name="VAR">x</field></shadow><block type="variables_get" id="5(jETfZ~vhrZb|CIuD*?"><field name="VAR">id</field></block></value><value name="B"><shadow type="list_many_input" id="lW/iEj^LKwn6_K(k|u`w"><field name="CONTENT">0,1,2,3</field></shadow><block type="variables_get" id="DR1OWP/5e[x//vRZ-@|n"><field name="VAR">s1</field></block></value></block></value><statement name="DO0"><block type="actuator_onboard_neopixel_rgb_all" id="wSjtLq:IN-~SPw$]1ip:"><value name="RVALUE"><shadow type="math_number" id="ZiLPuvbg5nTGyK;f~2V0"><field name="NUM">30</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="DehD@dJ.jA6jCrQQh:o/"><field name="NUM">30</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="#+XjCxlaxdA:{7t9/;JD"><field name="NUM">30</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="jzEL3wzc/jezNEfVPt3n"></block></next></block></statement></block></next></block></statement></block></next></block></statement></block></next></block></xml><config>{}</config><code>ZnJvbSBzYW50X2d4IGltcG9ydCBleHRfcmZpZAppbXBvcnQgbWFjaGluZQpmcm9tIG1peGdvX3NhbnQgaW1wb3J0IG9uYm9hcmRfcmdiCgpzMT0gezk5MTM3NzQzOX0Kd2hpbGUgVHJ1ZToKICAgIGlkMiA9IGV4dF9yZmlkLnJlYWRfY2FyZCgwLCB4PSJpZCIpCiAgICBpZiBpZDIgIT0gTm9uZToKICAgICAgICBwcmludChpZDIpCiAgICAgICAgaWYgaWQyIGluIHMxOgogICAgICAgICAgICBvbmJvYXJkX3JnYi5maWxsKCgzMCwgMzAsIDMwKSkKICAgICAgICAgICAgb25ib2FyZF9yZ2Iud3JpdGUoKQo=</code> |