Files
mixly3/boards/default/arduino_avr/examples/03-数学/06-移位计算.mix
2024-07-19 10:16:00 +08:00

1 line
2.5 KiB
XML

<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="uk{i3#|J+Vg:a2$wM}MV" x="-165" y="-77"><field name="VALUE">使用移位计算</field><next><block type="variables_declare" id="*he3DGS3:@jq;:OLX[u8"><field name="variables_type">global_variate</field><field name="VAR">item</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="m6G=u9g9}vA+ecZt3ZZf"><field name="NUM">4096</field></block></value><next><block type="serial_begin" id="Hr@7cg!#%(U#H#7:P[r3"><field name="serial_select">Serial</field><value name="CONTENT"><shadow type="math_number" id="RG5h!57N)UK?h:(.EQv3"><field name="NUM">9600</field></shadow></value><next><block type="controls_for" id="QW6^lf#;*Yb4Dv$)g%9o"><field name="VAR">i</field><value name="FROM"><shadow type="math_number" id="Eimv5gSJ)q-9-/g}i8hP"><field name="NUM">1</field></shadow></value><value name="TO"><shadow type="math_number" id="^7K72c!uqv~!HmdO#e5*"><field name="NUM">12</field></shadow></value><value name="STEP"><shadow type="math_number" id="(YRvB.=U:SSA}fg;!9wh"><field name="NUM">1</field></shadow></value><statement name="DO"><block type="serial_println" id="WBWTV}sOFq{{SX!-]fXp"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="math_bit" id="VIOJ;`7cBe=hiFkg[n;e"><field name="OP">&gt;&gt;</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="vXtSkDQWx|.aWzle)7cj"><field name="NUM">4096</field></shadow><block type="variables_get" id=";{.tGp!oWSC{?ir=qa$M"><field name="VAR">item</field></block></value><value name="B"><shadow type="math_number" id="?V7ta|AWgmo%+vP[UE0x"><field name="NUM">1</field></shadow></value></block></value><next><block type="variables_set" id="jWndQ)u5nMlH^T{ag9d{"><field name="VAR">item</field><value name="VALUE"><block type="math_bit" id="biLJh=ws;7!T5b,T0!2e"><field name="OP">&gt;&gt;</field><value name="A"><shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="vXtSkDQWx|.aWzle)7cj"><field name="NUM">4096</field></shadow><block type="variables_get" id="`JA=R=xAFX0MS=|(!H^T"><field name="VAR">item</field></block></value><value name="B"><shadow type="math_number" id=",C-T+V/XW#`~eR(dHh7-"><field name="NUM">1</field></shadow></value></block></value></block></next></block></statement><next><block type="controls_end_program" id="0lQAm1:#]7qlv$InUOm0"></block></next></block></next></block></next></block></next></block></xml>