<?xml version="1.0"?>
<net name="blink" type="iopt-flow">
  <signal id="led" x="385" y="55" mode="output" type="boolean" dynamic="type" value="0" io_pin="24"/>
  <arc id="a008" type="read" source="c001.Led" target="led"/>
  <component id="c001" class="local/blink_event.xml" x="280" y="55" width="100" height="40" rot="0" implementation="iopt-flow" target="default">
    <name off_x="-50" off_y="-25" text="blink_event"/>
    <source_model file="files/blink_event.xml"/>
    <input id="c001.click" name="click" off_x="-50" off_y="0" type="boolean"/>
    <output id="c001.Led" name="Led" off_x="50" off_y="0" type="boolean"/>
  </component>
  <component id="c1" class="local/blink_interface.xml" x="280" y="135" width="100" height="40" rot="0" implementation="iopt-flow" target="default">
    <name off_x="-50" off_y="-25" text="blink_interface"/>
    <source_model file="files/blink_interface.xml"/>
    <input id="c1.message" name="message" off_x="-50" off_y="0" type="boolean"/>
    <output id="c1.Pressed" name="Pressed" off_x="50" off_y="0" type="boolean"/>
  </component>
  <event id="Click" x="65" y="65" mode="input" io_pin="23"/>
  <operation id="op1" x="150" y="55" rot="0" shape="arrow" size="25" locked="true">
    <name text="" off_x="-12" off_y="-5"/>
    <input id="op1.Pressed" name="Pressed" type="boolean" dynamic="name" off_x="-25" off_y="-10"/>
    <input id="op1.Click" name="Click" type="event" dynamic="name" off_x="-25" off_y="10" min="0" max="1" frac="0"/>
    <output id="op1.out" name="out" type="boolean" off_x="25" off_y="0" min="0" max="1" frac="0">
      <expression>
        <text>Pressed OR Click</text>
        <operand type="signal" idRef="Pressed"/>
        <operator type="or"/>
        <operand type="signal" idRef="Click"/>
      </expression>
    </output>
  </operation>
  <arc id="a005" type="read" source="Click" target="op1.Click"/>
  <arc id="a001" type="read" source="c1.Pressed" target="op1.Pressed" view="symbolic"/>
  <arc id="a002" type="read" source="c001.Led" target="c1.message" view="symbolic"/>
  <arc id="a003" type="read" source="op1.out" target="c001.click"/>
</net>
