113 lines
12 KiB
Plaintext
113 lines
12 KiB
Plaintext
<!DOCTYPE KTechlab>
|
|
<document type="circuit">
|
|
<item z="4" id="and" y="156" type="ec/and" x="532" angle="0" flip="0">
|
|
<data id="numInput" value="2" type="number"/>
|
|
</item>
|
|
<item z="13" id="and__126" y="316" type="ec/and" x="380" angle="0" flip="0">
|
|
<data id="numInput" value="2" type="number"/>
|
|
</item>
|
|
<item z="14" id="and__127" y="364" type="ec/and" x="388" angle="0" flip="0">
|
|
<data id="numInput" value="2" type="number"/>
|
|
</item>
|
|
<item z="7" id="and__87" y="204" type="ec/and" x="540" angle="0" flip="0">
|
|
<data id="numInput" value="2" type="number"/>
|
|
</item>
|
|
<item z="9" id="bidir_led" y="196" type="ec/bidir_led" x="772" angle="0" flip="0">
|
|
<data id="0-color1" value="#f62a2a" type="color"/>
|
|
<data id="0-color2" value="#f62a2a" type="color"/>
|
|
</item>
|
|
<item z="15" id="bidir_led__128" y="356" type="ec/bidir_led" x="620" angle="0" flip="0">
|
|
<data id="0-color1" value="#f62a2a" type="color"/>
|
|
<data id="0-color2" value="#f62a2a" type="color"/>
|
|
</item>
|
|
<item z="0" id="fixed_voltage" y="132" type="ec/fixed_voltage" x="236" angle="0" flip="0">
|
|
<data id="voltage" value="5" type="number"/>
|
|
</item>
|
|
<item z="16" id="fixed_voltage__129" y="292" type="ec/fixed_voltage" x="84" angle="0" flip="0">
|
|
<data id="voltage" value="5" type="number"/>
|
|
</item>
|
|
<item z="10" id="ground" y="276" type="ec/ground" x="868" angle="270" flip="0"/>
|
|
<item z="11" id="ground__118" y="260" type="ec/ground" x="796" angle="270" flip="0"/>
|
|
<item z="17" id="ground__130" y="420" type="ec/ground" x="644" angle="270" flip="0"/>
|
|
<item z="5" id="not" y="244" type="ec/inverter" x="516" angle="0" flip="0"/>
|
|
<item z="12" id="not__104" y="188" type="ec/inverter" x="716" angle="0" flip="0"/>
|
|
<item z="18" id="not__131" y="404" type="ec/inverter" x="364" angle="0" flip="0"/>
|
|
<item z="20" id="not__133" y="428" type="ec/inverter" x="348" angle="0" flip="0"/>
|
|
<item z="6" id="not__72" y="268" type="ec/inverter" x="500" angle="0" flip="0"/>
|
|
<item z="8" id="or" y="188" type="ec/or" x="644" angle="0" flip="0">
|
|
<data id="numInput" value="2" type="number"/>
|
|
</item>
|
|
<item z="21" id="or__134" y="348" type="ec/or" x="492" angle="0" flip="0">
|
|
<data id="numInput" value="2" type="number"/>
|
|
</item>
|
|
<item z="1" id="resistor" y="132" type="ec/resistor" x="300" angle="0" flip="0">
|
|
<data id="resistance" value="100000" type="number"/>
|
|
</item>
|
|
<item z="22" id="resistor__135" y="292" type="ec/resistor" x="148" angle="0" flip="0">
|
|
<data id="resistance" value="100000" type="number"/>
|
|
</item>
|
|
<item z="2" id="spst_toggle" y="140" type="ec/spst_toggle" x="388" angle="0" flip="0">
|
|
<data id="button_text" value="" type="string"/>
|
|
<data id="bounce_period" value="0.005" type="number"/>
|
|
<data id="bounce" value="0" type="bool"/>
|
|
<button state="0" id="button"/>
|
|
</item>
|
|
<item z="3" id="spst_toggle__12" y="204" type="ec/spst_toggle" x="380" angle="0" flip="0">
|
|
<data id="button_text" value="" type="string"/>
|
|
<data id="bounce_period" value="0.005" type="number"/>
|
|
<data id="bounce" value="0" type="bool"/>
|
|
<button state="0" id="button"/>
|
|
</item>
|
|
<item z="23" id="spst_toggle__136" y="300" type="ec/spst_toggle" x="236" angle="0" flip="0">
|
|
<data id="button_text" value="" type="string"/>
|
|
<data id="bounce_period" value="0.005" type="number"/>
|
|
<data id="bounce" value="0" type="bool"/>
|
|
<button state="0" id="button"/>
|
|
</item>
|
|
<item z="24" id="spst_toggle__137" y="364" type="ec/spst_toggle" x="228" angle="0" flip="0">
|
|
<data id="button_text" value="" type="string"/>
|
|
<data id="bounce_period" value="0.005" type="number"/>
|
|
<data id="bounce" value="0" type="bool"/>
|
|
<button state="0" id="button"/>
|
|
</item>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector" start-node-is-child="1" start-node-parent="fixed_voltage" route="31,16,32,16,33,16,34,16," end-node-cid="n1" start-node-cid="p1" end-node-parent="resistor"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__100" start-node-is-child="1" start-node-parent="and__87" route="70,25,71,25,72,25,72,24,72,23,72,22,73,22,74,22,75,22,76,22," end-node-cid="in0" start-node-cid="p1" end-node-parent="or"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__120" start-node-is-child="1" start-node-parent="bidir_led" route="98,24,99,24,100,24,100,25,100,26,100,27,100,28,99,28,99,29,99,30," end-node-cid="p1" start-node-cid="p1" end-node-parent="ground__118"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__121" start-node-is-child="1" start-node-parent="not__104" route="87,23,86,23,85,23,84,23," end-node-cid="p1" start-node-cid="n1" end-node-parent="or"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__122" start-node-is-child="1" start-node-parent="not__104" route="91,23,92,23,92,24,93,24,94,24," end-node-cid="n1" start-node-cid="p1" end-node-parent="bidir_led"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__141" start-node-is-child="1" start-node-parent="fixed_voltage__129" route="12,36,13,36,14,36,15,36," end-node-cid="n1" start-node-cid="p1" end-node-parent="resistor__135"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__142" start-node-is-child="1" start-node-parent="and__127" route="51,45,52,45,53,45,53,44,53,43,53,42,54,42,55,42,56,42,57,42," end-node-cid="in0" start-node-cid="p1" end-node-parent="or__134"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__143" start-node-is-child="1" start-node-parent="bidir_led__128" route="79,44,80,44,81,44,81,45,81,46,81,47,81,48,80,48,80,49,80,50," end-node-cid="p1" start-node-cid="p1" end-node-parent="ground__130"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__138" id="connector__146" start-node-is-child="1" start-node-parent="spst_toggle__137" route="25,45,24,45,23,45,22,45,22,44,22,43,22,42,22,41,22,40,22,39,22,38,22,37,22,36," start-node-cid="n1"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__138" id="connector__147" start-node-is-child="1" start-node-parent="resistor__135" route="21,36,22,36," start-node-cid="p1"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__148" start-node-is-child="0" route="22,36,22,37,23,37,24,37,25,37,26,37," start-node-id="node1__138" end-node-cid="n1" end-node-parent="spst_toggle__136"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__139" id="connector__149" start-node-is-child="1" start-node-parent="not__131" route="43,50,42,50,41,50,40,50,39,50,38,50,37,50,36,50,35,50,34,50,34,49,34,48,34,47,34,46,34,45,34,44,34,43,34,42,34,41,34,40,34,39,34,38," start-node-cid="n1"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__139" id="connector__150" start-node-is-child="1" start-node-parent="spst_toggle__136" route="32,37,33,37,33,38,34,38," start-node-cid="p1"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__151" start-node-is-child="0" route="34,38,35,38,36,38,37,38,38,38,39,38,40,38,41,38,42,38,43,38,44,38," start-node-id="node1__139" end-node-cid="in0" end-node-parent="and__126"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__140" id="connector__152" start-node-is-child="1" start-node-parent="not__133" route="41,53,40,53,39,53,38,53,37,53,36,53,35,53,34,53,33,53,32,53,32,52,32,51,32,50,32,49,32,48,32,47,32,46,32,45,32,44,32,43," start-node-cid="n1"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__140" id="connector__153" start-node-is-child="1" start-node-parent="spst_toggle__137" route="31,45,32,45,32,44,32,43," start-node-cid="p1"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__154" start-node-is-child="0" route="32,43,32,42,32,41,32,40,33,40,34,40,35,40,36,40,37,40,38,40,39,40,40,40,41,40,42,40,43,40,44,40," start-node-id="node1__140" end-node-cid="in1" end-node-parent="and__126"/>
|
|
<connector manual-route="0" end-node-is-child="1" id="connector__155" start-node-is-child="1" start-node-parent="not__131" route="47,50,48,50,48,51,48,52,48,53,48,54,48,55,48,56,47,56,46,56,45,56,44,56,43,56,42,56,41,56,40,56,40,55,40,54,40,53,40,52,40,51,40,50,40,49,40,48,40,47,40,46,40,45,40,44,41,44,42,44,43,44,44,44,45,44," end-node-cid="in0" start-node-cid="p1" end-node-parent="and__127"/>
|
|
<connector manual-route="0" end-node-is-child="1" id="connector__156" start-node-is-child="1" start-node-parent="not__133" route="45,53,46,53,46,54,46,55,46,56,46,57,46,58,45,58,44,58,43,58,42,58,41,58,40,58,39,58,38,58,38,57,38,56,38,55,38,54,38,53,38,52,38,51,38,50,38,49,38,48,38,47,38,46,39,46,40,46,41,46,42,46,43,46,44,46,45,46," end-node-cid="in1" start-node-cid="p1" end-node-parent="and__127"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__157" start-node-is-child="1" start-node-parent="and__126" route="50,39,51,39,52,39,52,40,52,41,52,42,52,43,52,44,53,44,54,44,55,44,56,44,57,44," end-node-cid="in1" start-node-cid="p1" end-node-parent="or__134"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1" id="connector__16" start-node-is-child="1" start-node-parent="spst_toggle__12" route="44,25,43,25,42,25,41,25,41,24,41,23,41,22,41,21,41,20,41,19,41,18,41,17,41,16," start-node-cid="n1"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1" id="connector__17" start-node-is-child="1" start-node-parent="resistor" route="40,16,41,16," start-node-cid="p1"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__18" start-node-is-child="0" route="41,16,41,17,42,17,43,17,44,17,45,17," start-node-id="node1" end-node-cid="n1" end-node-parent="spst_toggle"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__183" start-node-is-child="1" start-node-parent="or__134" route="65,43,66,43,66,44,67,44,68,44,69,44,70,44,71,44,72,44,73,44,74,44,75,44," end-node-cid="n1" start-node-cid="p1" end-node-parent="bidir_led__128"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__75" id="connector__76" start-node-is-child="1" start-node-parent="not" route="62,30,61,30,60,30,59,30,58,30,57,30,56,30,55,30,54,30,53,30,53,29,53,28,53,27,53,26,53,25,53,24,53,23,53,22,53,21,53,20,53,19,53,18," start-node-cid="n1"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__75" id="connector__77" start-node-is-child="1" start-node-parent="spst_toggle" route="51,17,52,17,52,18,53,18," start-node-cid="p1"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__78" start-node-is-child="0" route="53,18,54,18,55,18,56,18,57,18,58,18,59,18,60,18,61,18,62,18,63,18," start-node-id="node1__75" end-node-cid="in0" end-node-parent="and"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__79" id="connector__80" start-node-is-child="1" start-node-parent="not__72" route="60,33,59,33,58,33,57,33,56,33,55,33,54,33,53,33,52,33,51,33,51,32,51,31,51,30,51,29,51,28,51,27,51,26,51,25,51,24,51,23," start-node-cid="n1"/>
|
|
<connector manual-route="1" end-node-is-child="0" end-node-id="node1__79" id="connector__81" start-node-is-child="1" start-node-parent="spst_toggle__12" route="50,25,51,25,51,24,51,23," start-node-cid="p1"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__82" start-node-is-child="0" route="51,23,51,22,51,21,51,20,52,20,53,20,54,20,55,20,56,20,57,20,58,20,59,20,60,20,61,20,62,20,63,20," start-node-id="node1__79" end-node-cid="in1" end-node-parent="and"/>
|
|
<connector manual-route="0" end-node-is-child="1" id="connector__91" start-node-is-child="1" start-node-parent="not" route="66,30,67,30,67,31,67,32,67,33,67,34,67,35,67,36,66,36,65,36,64,36,63,36,62,36,61,36,60,36,59,36,59,35,59,34,59,33,59,32,59,31,59,30,59,29,59,28,59,27,59,26,59,25,59,24,60,24,61,24,62,24,63,24,64,24," end-node-cid="in0" start-node-cid="p1" end-node-parent="and__87"/>
|
|
<connector manual-route="0" end-node-is-child="1" id="connector__92" start-node-is-child="1" start-node-parent="not__72" route="64,33,65,33,65,34,65,35,65,36,65,37,65,38,64,38,63,38,62,38,61,38,60,38,59,38,58,38,57,38,57,37,57,36,57,35,57,34,57,33,57,32,57,31,57,30,57,29,57,28,57,27,57,26,58,26,59,26,60,26,61,26,62,26,63,26,64,26," end-node-cid="in1" start-node-cid="p1" end-node-parent="and__87"/>
|
|
<connector manual-route="1" end-node-is-child="1" id="connector__99" start-node-is-child="1" start-node-parent="and" route="69,19,70,19,71,19,71,20,71,21,71,22,71,23,71,24,72,24,73,24,74,24,75,24,76,24," end-node-cid="in1" start-node-cid="p1" end-node-parent="or"/>
|
|
<node id="node1" y="132" x="332"/>
|
|
<node id="node1__138" y="292" x="180"/>
|
|
<node id="node1__139" y="308" x="276"/>
|
|
<node id="node1__140" y="348" x="260"/>
|
|
<node id="node1__75" y="148" x="428"/>
|
|
<node id="node1__79" y="188" x="412"/>
|
|
</document>
|