Files
mixly3/boards/default/arduino_avr/examples/06-逻辑/01-比较运算符.mix
2024-07-19 10:16:00 +08:00

1 line
3.7 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<xml version="Mixly 2.0 Beta11" board="Arduino AVR@Arduino/Genuino Uno" xmlns="http://www.w3.org/1999/xhtml"><block type="factory_notes" id="oaDDyHQz5zG79Bw![c*," x="54" y="86"><field name="VALUE">在A0连接电位器D9连接LED。\n转动电位器大于600灯一直亮在400和600之间灯灭小于400灯闪。</field><next><block type="serial_println" id="p7_5BYklUm;cR;))SMWV"><field name="serial_select">Serial</field><field name="new_line">println</field><value name="CONTENT"><block type="inout_analog_read" id="6X5h3CQd+40Jdyoapej/"><value name="PIN"><shadow type="pins_analog" id=";E-0OsTKDjSZLwKZ{E:n"><field name="PIN">A0</field></shadow></value></block></value><next><block type="controls_delay" id="UdK_@ZtLRC3G)qhyX1es"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="vN]ZH8pO(x~L!INGn^BJ"><field name="NUM">1000</field></shadow></value><next><block type="controls_if" id="5g0bewqag9j[pU+SU.u!"><mutation xmlns="http://www.w3.org/1999/xhtml" elseif="1" else="1"></mutation><value name="IF0"><block type="logic_compare" id="o46q6CsR}E(om5stdk8U"><field name="OP">GTE</field><value name="A"><block type="inout_analog_read" id="G1B}F7$,.3U.qe|^-M4s"><value name="PIN"><shadow type="pins_analog" id="?|sAhQ%)6//6+/sWb1zp"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><block type="math_number" id="|*BfxhMx0/DJLQ%+C@g9"><field name="NUM">600</field></block></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="F8pkAI/i]h_/`Y%!FkOC"><value name="PIN"><shadow type="pins_digital" id="/WiQZw3L-[_~}6BmS]y5"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="(:ze}`jZ*%y#P{%Y-vH,"><field name="BOOL">HIGH</field></shadow></value></block></statement><value name="IF1"><block type="logic_compare" id=";j~4L=POk}Hs_W,.uCH["><field name="OP">LTE</field><value name="A"><block type="inout_analog_read" id="+Ygf0xG9]jN#QGnRN{[p"><value name="PIN"><shadow type="pins_analog" id="r6o9gOK1Uq5Gt!lW#_^*"><field name="PIN">A0</field></shadow></value></block></value><value name="B"><block type="math_number" id=",MW:At{~fX*o5##+cJTD"><field name="NUM">400</field></block></value></block></value><statement name="DO1"><block type="inout_digital_write2" id="seuRcOh$qgOvPNARM:f-"><value name="PIN"><shadow type="pins_digital" id="q@eEG6kckADo.3$rr#_)"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="Y9%M%Q3^hc]!FLiMK:G7"><field name="BOOL">HIGH</field></shadow></value><next><block type="controls_delay" id="22/*WH6c)xA_7e;=1((5"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="mA!c)uPhM=.FBW){}o?D"><field name="NUM">200</field></shadow></value><next><block type="inout_digital_write2" id="GCq21UblEp$S*gNnY-k]"><value name="PIN"><shadow type="pins_digital" id="ZdvU?g78Y}TLjruf#Y^0"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="qpGhy#(qgjzd%4o(vOkN"><field name="BOOL">LOW</field></shadow></value><next><block type="controls_delay" id="7`WJvH,1jLZ+8NT|:+l`"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="^WWAxpbdzKPX?((F|}T^"><field name="NUM">200</field></shadow></value></block></next></block></next></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="J=pAPH`Z:J3w^w2S2^fs"><value name="PIN"><shadow type="pins_digital" id="/N.@q%jAaQw:UGBIx]xe"><field name="PIN">9</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="v7$Z,+Mu?^RzGKK-a.Fc"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></next></block></next></block></xml>