Files
mixly3/boards/default/arduino_avr/examples/01-输入输出/06-软件中断.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=".j3YgQW3wV=4`uA`I1Vr" x="0" y="0"><field name="VALUE">软件中断\n\nD4连接按钮D12连接LED。\n将看到按钮被按下LED灯亮灭切换。</field></block><block type="base_setup" id="WuzzT{pjb],,.!#NwDMc" x="0" y="125"><statement name="DO"><block type="controls_attachPinInterrupt" id="`Q`Sq,Y#;DsiRPRa{{qm"><field name="mode">FALLING</field><value name="PIN"><shadow type="pins_digital" id="f6g.$b*FoSiss5`D|SoK"><field name="PIN">4</field></shadow></value><statement name="DO"><block type="inout_digital_write2" id="n!Z0b=b+7rY{We`l8:Qo"><value name="PIN"><shadow type="pins_digital" id="j7NVjtcC2*$J_6A@H!CY"><field name="PIN">12</field></shadow></value><value name="STAT"><shadow xmlns="http://www.w3.org/1999/xhtml" type="inout_highlow" id="{d/Lz+v|.e%/5|AB8Ux="><field name="BOOL">HIGH</field></shadow><block type="logic_negate" id="VLna2#3*e}2[a!oD`Xn0"><value name="BOOL"><block type="inout_digital_read2" id=")9C^/1UhrVNCnd5VXQYE"><value name="PIN"><shadow type="pins_digital" id="kaL#=paLrfn)Z$?8FM+j"><field name="PIN">12</field></shadow></value></block></value></block></value></block></statement></block></statement></block></xml>