Warning, /sdk/ktechlab/examples/transistors/switch.circuit is written in an unsupported language. File is not indexed.
0001 <!DOCTYPE KTechlab> 0002 <document type="circuit" > 0003 <item x="36" y="44" z="0" type="ec/battery" id="cell" flip="0" angle="270" > 0004 <data value="9" type="number" id="voltage" /> 0005 </item> 0006 <item x="276" y="108" z="2" type="ec/led" id="led" flip="0" angle="90" > 0007 <data value="1e-15" type="number" id="I_S" /> 0008 <data value="1" type="number" id="N" /> 0009 <data value="4.7" type="number" id="V_B" /> 0010 <data value="#f62a2a" type="color" id="0-color" /> 0011 </item> 0012 <item x="268" y="60" z="4" type="ec/npnbjt" id="npnbjt" flip="0" angle="0" > 0013 <data value="100" type="number" id="B_F" /> 0014 <data value="1" type="number" id="B_R" /> 0015 <data value="1e-16" type="number" id="I_S" /> 0016 <data value="1" type="number" id="N_F" /> 0017 <data value="1" type="number" id="N_R" /> 0018 </item> 0019 <item x="204" y="60" z="3" type="ec/ptm_switch" id="ptm_switch" flip="0" angle="0" > 0020 <data value="" type="string" id="button_text" /> 0021 <data value="0.005" type="number" id="bounce_period" /> 0022 <data value="0" type="bool" id="bounce" /> 0023 <button id="button" state="0" /> 0024 </item> 0025 <item x="124" y="60" z="1" type="ec/resistor" id="resistor" flip="0" angle="0" > 0026 <data value="10000" type="number" id="resistance" /> 0027 </item> 0028 <item x="276" y="164" z="5" type="ec/resistor" id="resistor__17" flip="0" angle="90" > 0029 <data value="470" type="number" id="resistance" /> 0030 </item> 0031 <connector start-node-is-child="1" manual-route="1" end-node-parent="resistor" route="22,7,21,7,20,7,19,7,18,7," end-node-cid="p1" start-node-parent="ptm_switch" start-node-cid="n1" id="connector" end-node-is-child="1" /> 0032 <connector start-node-is-child="1" manual-route="0" end-node-parent="ptm_switch" route="31,7,30,7,29,7,28,7," end-node-cid="p1" start-node-parent="npnbjt" start-node-cid="b" id="connector__12" end-node-is-child="1" /> 0033 <connector start-node-is-child="1" manual-route="1" end-node-parent="led" route="34,9,34,10,34,11," end-node-cid="n1" start-node-parent="npnbjt" start-node-cid="e" id="connector__16" end-node-is-child="1" /> 0034 <connector start-node-is-child="1" manual-route="0" end-node-parent="led" route="34,17,34,16,34,15," end-node-cid="p1" start-node-parent="resistor__17" start-node-cid="n1" id="connector__20" end-node-is-child="1" /> 0035 <connector start-node-is-child="1" manual-route="1" end-node-parent="cell" route="34,23,34,24,33,24,32,24,31,24,30,24,29,24,28,24,27,24,26,24,25,24,24,24,23,24,22,24,21,24,20,24,19,24,18,24,17,24,16,24,15,24,14,24,13,24,12,24,11,24,10,24,9,24,8,24,7,24,6,24,5,24,4,24,4,23,4,22,4,21,4,20,4,19,4,18,4,17,4,16,4,15,4,14,4,13,4,12,4,11,4,10,4,9,4,8,4,7," end-node-cid="n1" start-node-parent="resistor__17" start-node-cid="p1" id="connector__21" end-node-is-child="1" /> 0036 <connector start-node-is-child="1" manual-route="0" end-node-id="node1" route="12,7,11,7,11,6,11,5,11,4,11,3,11,2," start-node-parent="resistor" start-node-cid="n1" id="connector__23" end-node-is-child="0" /> 0037 <connector start-node-is-child="1" manual-route="0" end-node-id="node1" route="34,5,34,4,34,3,34,2,33,2,32,2,31,2,30,2,29,2,28,2,27,2,26,2,25,2,24,2,23,2,22,2,21,2,20,2,19,2,18,2,17,2,16,2,15,2,14,2,13,2,12,2,11,2," start-node-parent="npnbjt" start-node-cid="c" id="connector__24" end-node-is-child="0" /> 0038 <connector start-node-is-child="0" manual-route="0" start-node-id="node1" end-node-parent="cell" route="11,2,10,2,9,2,8,2,7,2,6,2,5,2,4,2,4,3," end-node-cid="p1" id="connector__25" end-node-is-child="1" /> 0039 <node x="92" y="20" id="node1" /> 0040 </document>