bancika / diy-layout-creator

multi platform circuit layout and schematic drawing tool
http://diy-fever.com
GNU General Public License v3.0
854 stars 99 forks source link

Add G-I-O transistor pinout #790

Open benjaminvdb opened 9 months ago

benjaminvdb commented 9 months ago

This is a tiny PR which adds a TO-220 transistor pinout which seems to be missing from DIYLC. It's the "G-I-O" pinout which is used by at least the LM7912 regulator.

Two remarks about this PR:

  1. I couldn't find a contribution guide and I'm not sure whether I should also include the updated JAR file. I decided to leave it out.
  2. I added the pinout to the end of the TransistorPinout enum as I assume this will allow for backwards compatibility of existing project files though I'm not sure if the chosen position is the most logical. I couldn't find a clear pattern in the sorting but this option seemed reasonable to me.