1 line
4.9 KiB
XML
1 line
4.9 KiB
XML
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino Nano w/ ATmega328P (old bootloader)" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="+J+/5(JgL`XLa$CC%RS." x="176" y="21"><field name="VALUE">课程地址:https://study.163.com/course/introduction/1209591937.htm</field></block><block type="base_setup" id="$EU+fuukA6+_L@5=4`Py" x="172" y="67"><statement name="DO"><block type="variables_declare" id="Zq[msIJ+@(4x[;~FvA]c"><field name="variables_type">global_variate</field><field name="VAR">s1</field><field name="TYPE">int</field><value name="VALUE"><block type="math_number" id="U{01PYh.8G/BtD5nAK3?"><field name="NUM">0</field></block></value><next><block type="servo_move" id="4PLN,gV|#ISPNGx$yug-"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="U4Eguw.~jT|+K`}|UN(5"><field name="NUM">0</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="J/OWrd4[q!Lm06IhZZCP"><field name="NUM">200</field></shadow></value></block></next></block></statement></block><block type="ir_recv" id="ARaWKN}(2D]yS]}{xVyC" x="173" y="218"><field name="VAR">ir_item</field><value name="PIN"><shadow type="pins_digital" id="P0sB~VlD/2jX13kjTk#s"><field name="PIN">8</field></shadow></value><statement name="DO"><block type="serial_print_num" id="BkpgiU;7@!YnJ#.G?ido"><field name="serial_select">Serial</field><field name="new_line">print</field><field name="STAT">HEX</field><value name="CONTENT"><block type="variables_get" id="`A1:s3M_,5}s$]uhDCeV"><field name="VAR">ir_item</field></block></value><next><block type="controls_delay" id="UDP?Mdxg`hoQQ7WY:(Nh"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="kA=5L:GDlW?}YnO$@;A*"><field name="NUM">150</field></shadow></value><next><block type="controls_if" id="~S6S1hZGJ~g~4VgORbR*"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id=")c`+eQM[Hi#b@NTDBi!U"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="1Gv+bL`~Nz02wwCG8Y4d"><field name="VAR">ir_item</field></block></value><value name="B"><block type="math_number" id="BtV,85}ZOO7YCFXn|#f7"><field name="NUM">0xFF6897</field></block></value></block></value><statement name="DO0"><block type="variables_set" id="9xPyCZ,fF4fipT.?+k9@"><field name="VAR">s1</field><value name="VALUE"><block type="math_number" id="a,N91wReB7,LJ#c#k/zD"><field name="NUM">1</field></block></value></block></statement><value name="IF1"><block type="logic_operation" id="F8;,PJ?6xZQCrxGg9+FN"><field name="OP">AND</field><value name="A"><block type="logic_compare" id="zYy;he.GrNlL~7:yvHYI"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="%=D4i$fC)|xln}eiX.5e"><field name="VAR">ir_item</field></block></value><value name="B"><block type="math_number" id="2HiaCNQRtu_:+/`5A{Mg"><field name="NUM">0xFF30CF</field></block></value></block></value><value name="B"><block type="logic_compare" id="5#nR{FsS=?3B6IsTsZ`g"><field name="OP">EQ</field><value name="A"><block type="variables_get" id=";qtEGGM[jGiNz_CpA!/g"><field name="VAR">s1</field></block></value><value name="B"><block type="math_number" id="OPpaR2WT.-I`{2[GAlsn"><field name="NUM">1</field></block></value></block></value></block></value><statement name="DO1"><block type="variables_set" id="T/}z.,tR+IFi!T#niox_"><field name="VAR">s1</field><value name="VALUE"><block type="math_number" id="JU,uYM!+;)RF00k^HOb("><field name="NUM">2</field></block></value></block></statement><statement name="ELSE"><block type="variables_set" id="h#c6DWM@#vBOv=!B0{c5"><field name="VAR">s1</field><value name="VALUE"><block type="math_number" id="Y_*oC|@t`%Khkak|2sPV"><field name="NUM">0</field></block></value></block></statement><next><block type="controls_if" id="ICCMc)]F2rz~[cI{j|(W"><value name="IF0"><block type="logic_compare" id="UDn/h]|uZMndX5,(]E:{"><field name="OP">EQ</field><value name="A"><block type="variables_get" id="VfAf?(nqo`4=(``SCv*M"><field name="VAR">s1</field></block></value><value name="B"><block type="math_number" id="6La-ZZlweLy^nZcoYEMn"><field name="NUM">2</field></block></value></block></value><statement name="DO0"><block type="servo_move" id="`y4LBJ4JcGrggEOmYMBq"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="gNlds0~16cElnL}YFFn}"><field name="NUM">180</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="9~GLFEas@i_Y0zZea42v"><field name="NUM">3000</field></shadow></value><next><block type="servo_move" id="1pLU:eBxr7XTuw{0vpon"><field name="PIN">2</field><value name="DEGREE"><shadow type="math_number" id="6`Tu.5m0;R$,VQ[CF/6t"><field name="NUM">0</field></shadow></value><value name="DELAY_TIME"><shadow type="math_number" id="RB:U{C2tl*GF@D:W4O2V"><field name="NUM">500</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></statement></block></xml> |