Files
mixly3/boards/default/arduino_avr/examples/02-控制/04-延时灯.mix
2024-07-19 10:16:00 +08:00

1 line
1.5 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="e2v=iH.N4lJBVsIUE5[Q" x="-431" y="-180"><field name="VALUE">D2连接按钮D12连接LED\n按下按钮LED亮3秒然后熄灭。</field><next><block type="controls_if" id="dR3W+Bup*dZ+IsQrSQCf"><mutation xmlns="http://www.w3.org/1999/xhtml" else="1"></mutation><value name="IF0"><block type="inout_digital_read2" id=";%dR?8,W/hCY-lp|K#-r"><value name="PIN"><shadow type="pins_digital" id="{NX?F{?I4QR*pHUUX7j{"><field name="PIN">2</field></shadow></value></block></value><statement name="DO0"><block type="inout_digital_write2" id="t`n+L^?}ZLX)~Cw3v=.{"><value name="PIN"><shadow type="pins_digital" id="@2l(Gso3]CZ0J*zMEJa2"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="J-5cufzT3+J9Ze[iQ,pU"><field name="BOOL">HIGH</field></shadow></value><next><block type="base_delay" id="k,dQXge3#jSsFiZJrSN+"><field name="UNIT">delay</field><value name="DELAY_TIME"><shadow type="math_number" id="nGVe4:8C7-uGqRk?H)R]"><field name="NUM">3000</field></shadow></value></block></next></block></statement><statement name="ELSE"><block type="inout_digital_write2" id="8?L8Dh[)baeaz+.)b,Xv"><value name="PIN"><shadow type="pins_digital" id="-v3w+m2@br0;3B(UAvN["><field name="PIN">12</field></shadow></value><value name="STAT"><shadow type="inout_highlow" id="+iW]yPHZ;U0Bb|SCzuU?"><field name="BOOL">LOW</field></shadow></value></block></statement></block></next></block></xml>