Files
mixly3/boards/default/micropython_robot/examples/O60xUtcmy977/r8AYO8ei3L2r.mix
2024-07-21 09:30:11 +08:00

1 line
3.7 KiB
XML

<xml version="Mixly 2.0 rc4" board="Python Robot@飞乙"><block type="display_scroll_string" id="u[bPw)hI}4sgt.u+et#X" x="-1457" y="-840"><value name="data"><shadow type="text" id=",g~60inC6romYxbAI{oi"><field name="TEXT">看见声音</field></shadow></value><next><block type="controls_whileUntil" id="8ov:nK7j!pDhKi9{!RT8"><field name="MODE">WHILE</field><value name="BOOL"><shadow type="logic_boolean" id="E]oF=$MB-_kM|UobRNaW"><field name="BOOL">TRUE</field></shadow></value><statement name="DO"><block type="controls_forEach" id="B7CSf.hU/p5fB?Z~schp"><value name="LIST"><shadow type="list_many_input" id="@.jCG$Kh`uOKmZgcR`Xq"><field name="CONTENT">0,1,2,3</field></shadow><block type="controls_range" id="(l|M=X~PTIacX{?9U`ti"><value name="FROM"><shadow type="math_number" id="X-Sk{IrjaliSk?i|xLr!"><field name="NUM">0</field></shadow></value><value name="TO"><shadow type="math_number" id="#X~1oUAjlHfUfxg`b37c"><field name="NUM">5</field></shadow><block type="text_to_number" id="0.JChiEi9udnc(?hdvOW"><field name="TOWHAT">int</field><value name="VAR"><shadow type="variables_get" id="9D=:hnVhV}eT@0|_xM7;"><field name="VAR">x</field></shadow><block type="math_map" id="=pxS00k4:)]5m*`!gpHd"><value name="NUM"><shadow type="math_number" id="~H}tt)]2`YOIz.-=6toE"><field name="NUM">50</field></shadow><block type="sensor_sound" id="Vqj^dJ;q8DjGjVR#+dE."></block></value><value name="fromLow"><shadow type="math_number" id="6wS*~S+lK*wX}v.*ccJZ"><field name="NUM">0</field></shadow></value><value name="fromHigh"><shadow type="math_number" id="06W{`tF9YVao@QPEz_^7"><field name="NUM">20000</field></shadow></value><value name="toLow"><shadow type="math_number" id="/$rTj^a$Kz)nQ^c=O~Z|"><field name="NUM">0</field></shadow></value><value name="toHigh"><shadow type="math_number" id="1oBP|mxl7}O6}*$kgaD_"><field name="NUM">12</field></shadow></value></block></value></block></value><value name="STEP"><shadow type="math_number" id="cXwGOFEY0EKN|zcXKWfJ"><field name="NUM">1</field></shadow></value></block></value><value name="VAR"><shadow type="variables_get" id="Ti#k18N+),VPGs0oOV!}"><field name="VAR">y</field></shadow></value><statement name="DO"><block type="display_bright_point" id="*=P~;lZNq!AaMNB)J,ml"><value name="x"><shadow type="pins_exlcdh" id="@0Mu#8cSGsbS9_e?l_i_"><field name="PIN">11</field></shadow></value><value name="y"><shadow type="pins_exlcdv" id="[f/}SP]BcL.^S^6YN7YZ"><field name="PIN">0</field></shadow><block type="math_arithmetic" id="/(uArfbEuFFaUt}#k,:t"><field name="OP">MINUS</field><value name="A"><shadow type="math_number" id="hXyg3Web5tG;?^=16A}|"><field name="NUM">11</field></shadow></value><value name="B"><shadow type="math_number" id="yy52!6gvS8[RPvOi$];T"><field name="NUM">1</field></shadow><block type="variables_get" id="N0=d?GkrSK~2YLL3mbg@"><field name="VAR">y</field></block></value></block></value><value name="STAT"><shadow type="display_onoff" id="?qsl?-(~.cO)h1-Jv5po"><field name="ONOFF">ON</field></shadow></value></block></statement><next><block type="display_shift" id="9|JMis;o}pGxQ!wk8_~U"><field name="OP">shift_left</field><value name="val"><shadow type="math_number" id="(nL4_/$C^reP}M5+_/:q"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></next></block></xml><config>{}</config><code>ZnJvbSBmZWl5aSBpbXBvcnQgb25ib2FyZF9tYXRyaXgKZnJvbSBmZWl5aSBpbXBvcnQgb25ib2FyZF9zb3VuZApmcm9tIG1peHB5IGltcG9ydCBtYXRoX21hcAoKCm9uYm9hcmRfbWF0cml4LnNjcm9sbCgn55yL6KeB5aOw6Z+zJykKd2hpbGUgVHJ1ZToKICAgIGZvciB5IGluIHJhbmdlKDAsIGludCgobWF0aF9tYXAob25ib2FyZF9zb3VuZC5yZWFkKCksIDAsIDIwMDAwLCAwLCAxMikpKSwgMSk6CiAgICAgICAgb25ib2FyZF9tYXRyaXgucGl4ZWwoaW50KDExKSwgaW50KDExIC0geSksIDEpCiAgICAgICAgb25ib2FyZF9tYXRyaXguc2hvdygpCiAgICBvbmJvYXJkX21hdHJpeC5zaGlmdF9sZWZ0KDEpCg==</code>