Add package for PJ-037A barrel connector
authorKeith Packard <keithp@keithp.com>
Sat, 28 Sep 2013 06:04:26 +0000 (23:04 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 28 Sep 2013 06:04:26 +0000 (23:04 -0700)
The usual Arduino power supply connector

Signed-off-by: Keith Packard <keithp@keithp.com>
packages/Makefile
packages/PJ-037A.5c [new file with mode: 0644]

index e665e4d4433248a44ef7237e48ac004cc39834e2..508d64c1432210b6413dba92973baa2948515535 100644 (file)
@@ -45,7 +45,8 @@ FOOTPRINTS= \
        ufqfpn48.fp \
        saw.fp \
        tfsoj-8.fp \
-       bc4aa.fp
+       bc4aa.fp \
+       PJ-037A.fp
 
 .5c.fp:
        nickle $*.5c > $@
diff --git a/packages/PJ-037A.5c b/packages/PJ-037A.5c
new file mode 100644 (file)
index 0000000..d69c4af
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * Copyright © 2013 Keith Packard <keithp@keithp.com>
+ *
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ */
+
+load "footprint.5c"
+import Footprint;
+
+element_start("PJ-037A");
+
+pin_mm(0, 0, 3.16, 0.5, "2", "2");
+pin_mm(6, 0, 3.64, 0.5, "1", "1");
+
+rect(-7.7, -4.5, 14.5, 9);
+
+element_end();