Files
mixly3/boards/default/arduino_avr/examples/02-控制/06-简单定时器.mix
2024-07-19 10:16:00 +08:00

1 line
2.1 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="_2v!q$ffbws$F#p1U!d{" x="0" y="0"><field name="VALUE">D12,D13分别连接LED灯\n每隔200msD12引脚LED灯切换亮灭\n每隔300ms,D13引脚LED灯切换亮灭\n简单定时器常用于多任务处理</field></block><block type="simple_timer" id="8a-cE*R-,)q*z$J^*UYF" x="0" y="125"><field name="NO">1</field><value name="timein"><shadow type="math_number" id="Rmo`fsb%j^Xp3g*[mqIu"><field name="NUM">200</field></shadow></value><statement name="zxhs"><block type="inout_digital_write2" id="1?N!cFw+WUCOcq:5q|v]"><value name="PIN"><shadow type="pins_digital" id="/O.E1Ln2o^,u(XHBGTh2"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="SOuS},cI|/1[X-Z6pa-O"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="+8Fc5Q==2(Xg#;oyp=0Q"><value name="BOOL"><block type="inout_digital_read2" id="aOGRjB]BvN2f0kg)cZ.X"><value name="PIN"><shadow type="pins_digital" id="Sl/~A?Y,$2O#TNH8p:/x"><field name="PIN">12</field></shadow></value></block></value></block></value></block></statement></block><block type="simple_timer" id="=IygVs#+.#^ykCQa(;SX" x="0" y="251"><field name="NO">2</field><value name="timein"><shadow type="math_number" id="hT*1Gw#f``*+O-H9uUWT"><field name="NUM">300</field></shadow></value><statement name="zxhs"><block type="inout_digital_write2" id="{[5!jD][ah2ZImeg9piV"><value name="PIN"><shadow type="pins_digital" id="K}S@:9t{yg:8YNSs(0L("><field name="PIN">13</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="SOuS},cI|/1[X-Z6pa-O"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="#s477eC~iW-}}4VO(~h?"><value name="BOOL"><block type="inout_digital_read2" id="PTS%mAWk*=CsttbZfS.w"><value name="PIN"><shadow type="pins_digital" id="o7-sv((@s[+,QOd[fg3d"><field name="PIN">13</field></shadow></value></block></value></block></value></block></statement></block></xml>