Files
mixly3/boards/default/arduino_avr/examples/01-输入输出/05-硬件中断.mix
2024-07-19 10:16:00 +08:00

1 line
1.3 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="v)MT}Dct]P130YkSVq3C" x="0" y="0"><field name="VALUE">硬件中断\nD2连接按钮D12连接LED。\n按下按钮LED灯点亮。\n再次按下按钮LED灯熄灭。如此往复。</field></block><block type="base_setup" id="wZXYB!R2R{@1*M1+tdv2" x="0" y="125"><statement name="DO"><block type="controls_attachInterrupt" id="Sr-*1#DV!rHf1nCy6H[Y"><field name="mode">RISING</field><value name="PIN"><shadow type="pins_interrupt" id="13%-H+9.iRg5SEcGMqj6"><field name="PIN">2</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="gO~;SN|yASiQ=Fde:il@"><value name="PIN"><shadow type="pins_digital" id="D)Xc9*d4kx+^dZ-bYzjb"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id=";_4MaL98h]t}2L]!R4S]"><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="Rqt,xFN-_*uphvdJm~q^"><value name="BOOL"><block type="inout_digital_read2" id="^}U:fN*nYHG1FG51IB[6"><value name="PIN"><shadow type="pins_digital" id="*~`3S%8rfAa!CE9E9Dg7"><field name="PIN">12</field></shadow></value></block></value></block></value></block></statement></block></statement></block></xml>