blob: fdcf7c02dbba8084afa0db30787334e259542ff4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
* Subcircuit ULN2004
.subckt ULN2004 net-_d1-pad2_ /com /com
* c:\fossee\esim\library\subcircuitlibrary\uln2004\uln2004.cir
.include D.lib
.include NPN.lib
q1 /com net-_q1-pad2_ net-_q1-pad3_ Q2N2222
q2 /com net-_q1-pad3_ gnd Q2N2222
r3 net-_q1-pad3_ gnd 3k
r2 net-_q1-pad2_ net-_q1-pad3_ 7.2k
d2 /com /com 1N4148
d3 gnd /com 1N4148
d1 gnd net-_d1-pad2_ 1N4148
c1 /com gnd 15p
r1 net-_d1-pad2_ net-_q1-pad2_ 10.5k
* Control Statements
.ends ULN2004
|