From 94ffccb4f639d454f57a7bf46fed0713526533a8 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 27 Sep 2013 23:04:26 -0700 Subject: [PATCH] Add package for PJ-037A barrel connector The usual Arduino power supply connector Signed-off-by: Keith Packard --- packages/Makefile | 3 ++- packages/PJ-037A.5c | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 packages/PJ-037A.5c diff --git a/packages/Makefile b/packages/Makefile index e665e4d..508d64c 100644 --- a/packages/Makefile +++ b/packages/Makefile @@ -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 index 0000000..d69c4af --- /dev/null +++ b/packages/PJ-037A.5c @@ -0,0 +1,28 @@ +/* + * Copyright © 2013 Keith Packard + * + * 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(); -- 2.47.2