Files
mixly3/boards/default/micropython_esp32c2/examples/-FxsJyL8OSfB/o7IUGaHP_2m-.mix
2024-07-23 20:47:22 +08:00

1 line
3.6 KiB
XML

<xml version="Mixly 2.0 rc4" board="Python ESP32-C2@MixGo MINI"><block type="controls_whileUntil" id="r3u}Sxr!sYug/~v^@i~=" x="-1059" y="-724"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="}Q{dHT#x07x:(!fupNh$"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_forEach" id="Tm`7PucwqXaF:vuJBHd["><value name="LIST"><shadow type="list_many_input" id="Fyv5b+dJmlJto-e,biaz"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="$~qf?}KQ3Q3Gh0D)pQm^"><value name="FROM"><shadow type="math_number" id="r#.x=|_b_MS~QRZ*]J$y"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="RMMS~yDl~6AO|JkNuTpl"><field name="NUM">2</field></shadow></value><value name="STEP"><shadow type="math_number" id="L^zY2VPyUq2LZuTWYbKh"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="?f{x^q?~Dx7;,itiC`y("><field name="VAR">i</field></shadow></value><statement name="DO"><block type="actuator_onboard_neopixel_rgb_all" id="9hIXv|lq_Y`+]pI;b;}j"><value name="RVALUE"><shadow type="math_number" id="DsAY,wu97RLbQ;y?Wp/`"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="X$zWT4t[DEgy.rxp=VwM"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="k@8MM3SZm=o#UaHE/Bxq"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_rgb" id="5;HRDqyj7-JR.JRoKgwn"><value name="_LED_"><shadow type="math_number" id="$L.Kx?KJYaUOkjj`p!Fx"><field name="NUM">0</field></shadow><block type="variables_get" id="iEfzAqf95Luh#_t]f5G/"><field name="VAR">i</field></block></value><value name="RVALUE"><shadow type="math_number" id=":dOSYrnts+b#q#s3KW3Y"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="?V_?pPBM0^NR]b07dx2B"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="jMbjNUyH|yq^3/0SrHEX"><field name="NUM">25</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id=";7:F5I$wmA._DPvUGi/2"><next><block type="controls_delay_new" id="(#UI*@Q0i7_!EXtp*}Mu"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="Zj97idWS:Tnh2iO.E_ua"><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="/K5ZOtt4G|P}uX#*7(YA"><value name="RVALUE"><shadow type="math_number" id="1K3bBRn^Gw1#[l$4+tvz"><field name="NUM">0</field></shadow></value><value name="GVALUE"><shadow type="math_number" id="^iY]fN_b@pvJ|Hi}mQvR"><field name="NUM">0</field></shadow></value><value name="BVALUE"><shadow type="math_number" id="4VB-4z5fT=2!z$!*~c]n"><field name="NUM">0</field></shadow></value><next><block type="actuator_onboard_neopixel_write" id="TW)D4I*g,u*|:C@jOOjC"><next><block type="controls_delay_new" id="O`usTtutF`gI;vNi]|Bh"><field name="Time">s</field><value name="DELAY_TIME"><shadow type="math_number" id="lnXQne4b1Xl0Y,nb#JMD"><field name="NUM">1</field></shadow></value></block></next></block></next></block></next></block></statement></block></xml><config>{}</config><code>ZnJvbSBtaXhnb19taW5pIGltcG9ydCBvbmJvYXJkX3JnYgppbXBvcnQgdGltZQoKCndoaWxlIFRydWU6CiAgICBmb3IgaSBpbiByYW5nZSgwLCAyLCAxKToKICAgICAgICBvbmJvYXJkX3JnYi5maWxsKCgwLCAwLCAwKSkKICAgICAgICBvbmJvYXJkX3JnYltpXSA9ICgwLCAwLCAyNSkKICAgICAgICBvbmJvYXJkX3JnYi53cml0ZSgpCiAgICAgICAgdGltZS5zbGVlcCgwLjUpCiAgICBvbmJvYXJkX3JnYi5maWxsKCgwLCAwLCAwKSkKICAgIG9uYm9hcmRfcmdiLndyaXRlKCkKICAgIHRpbWUuc2xlZXAoMSkK</code>