← Back to community index
# contributor·Active

Anas - @techmannih @mohan-bee @! Rushabh | Linu...

mention mention mention please anyone can fix this

Started by AnasJun 19, 202627 messages

Discussion

Last active 23 days ago · plain text
Anas
I see this issue after updating schematic-symbols in core
! Rushabh | Linux Shill
will take a look
! Rushabh | Linux Shill
For an NPN transistor, the pin numbering depends on the specific transistor model and package. There is no universal pin order.
! Rushabh | Linux Shill
What should we follow <@1067854999889137715>
! Rushabh | Linux Shill
1 = Emitter, 2 = Base, 3 = Collector seems to be the most commonly used
! Rushabh | Linux Shill
<@756504518417711104>
Anas
yeah thats what core/props follow
Anas
So make sure schematic-symbols are following same pattern
! Rushabh | Linux Shill
core follow different pattern ```ts initPorts() { const pinAliases = { pin1: ["collector", "c"], pin2: ["emitter", "e"], pin3: ["base", "b"], } ```
mohan-bee
maybe we need to update core to match with props. also symbols they are mapped incorrectly. pin1: emitter, pin2: collector, pin3: base.
! Rushabh | Linux Shill
yes
! Rushabh | Linux Shill
schematic-symbols and core both need to be changed ig
! Rushabh | Linux Shill
https://github.com/tscircuit/schematic-symbols/pull/429
! Rushabh | Linux Shill
<@1067854999889137715>
! Rushabh | Linux Shill
we follow this rn for npn but not pnp
! Rushabh | Linux Shill
we can just fix pnp to follow the same ig currently pnp
! Rushabh | Linux Shill
https://github.com/tscircuit/schematic-symbols/pull/430
! Rushabh | Linux Shill
<@756504518417711104>
! Rushabh | Linux Shill
now we need to fix the same in core
! Rushabh | Linux Shill
https://github.com/tscircuit/props/pull/698
techmannih
<@452450065941004289>, make sure you get a review from Rishabh or Seve. Previously We got stuck on this once before and that creates a lot of issues iirc
! Rushabh | Linux Shill
the updated schematic-symbol aligne with this image
! Rushabh | Linux Shill
in order to update the core we need to update to props first
! Rushabh | Linux Shill
https://github.com/tscircuit/props/pull/698 <@809856037376491570> can you take a look
! Rushabh | Linux Shill
<@809856037376491570>

Want to add to the conversation?

Reply in Discord so your notes stay connected to the source.
Continue in Discord ↗