xschem/xschem_library/devices/rgb_led.sym

65 lines
2.3 KiB
Plaintext
Raw Normal View History

v {xschem version=3.4.4 file_version=1.2
*
* This file is part of XSCHEM,
* a schematic capture and Spice/Vhdl/Verilog netlisting tool for circuit
* simulation.
* Copyright (C) 1998-2024 Stefan Frederik Schippers
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
}
2020-08-08 15:47:34 +02:00
G {type=diode
format="@spiceprefix@name @pinlist @model"
tedax_format="footprint @name @footprint
value @name @value
device @name @device
@comptag"
template="name=X1 model=XXX device=XXX"}
V {}
S {}
E {}
L 4 5 -30 30 -30 {}
L 4 -30 -30 -5 -30 {}
L 4 5 0 30 0 {}
L 4 -30 0 -5 0 {}
L 4 5 -10 5 10 {}
L 4 5 30 30 30 {}
L 4 -30 30 -5 30 {}
L 4 -20 -45 -20 45 {}
L 4 -20 45 20 45 {}
L 4 20 -45 20 45 {}
L 4 -20 -45 20 -45 {}
L 7 5 20 5 40 {}
L 12 5 -40 5 -20 {}
B 5 -32.5 -32.5 -27.5 -27.5 {name=b dir=inout pinnumber=1}
B 5 -32.5 -2.5 -27.5 2.5 {name=g dir=inout pinnumber=2}
B 5 -32.5 27.5 -27.5 32.5 {name=r dir=inout pinnumber=3}
B 5 27.5 27.5 32.5 32.5 {name=gr dir=inout pinnumber=4}
B 5 27.5 -2.5 32.5 2.5 {name=gg dir=inout pinnumber=5}
B 5 27.5 -32.5 32.5 -27.5 {name=gb dir=inout pinnumber=6}
P 7 4 -5 23.75 5 30 -5 36.25 -5 23.75 {}
P 11 4 -5 -6.25 5 0 -5 6.25 -5 -6.25 {}
P 12 4 -5 -36.25 5 -30 -5 -23.75 -5 -36.25 {}
T {@name} -17.5 -60 0 0 0.2 0.2 {}
T {@value} -17.5 -77.5 0 0 0.2 0.2 {}
T {@#0:pinnumber} -25 -46.25 0 1 0.2 0.2 {layer=13}
T {B} -15 -30 0 0 0.25 0.25 {}
T {G} -15 0 0 0 0.25 0.25 {}
T {R} -15 30 0 0 0.25 0.25 {}
T {@#1:pinnumber} -25 -16.25 0 1 0.2 0.2 {layer=13}
T {@#2:pinnumber} -25 13.75 0 1 0.2 0.2 {layer=13}
T {@#5:pinnumber} 25 -46.25 0 0 0.2 0.2 {layer=13}
T {@#4:pinnumber} 25 -16.25 0 0 0.2 0.2 {layer=13}
T {@#3:pinnumber} 25 13.75 0 0 0.2 0.2 {layer=13}