data sheet for flash part on TeleGPS v3.0
[hw/altusmetrum] / packages / sod323.5c
1 /*
2  * Copyright © 2012 Keith Packard <keithp@keithp.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; version 2 of the License.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along
14  * with this program; if not, write to the Free Software Foundation, Inc.,
15  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16  */
17
18 load "footprint.5c"
19 import Footprint;
20
21 real pad_width = 0.63;
22 real pad_height = 0.83;
23
24 real package_width = 1.7;
25 real package_height = 1.25;
26
27 real pad_x_off = 1.6 / 2 + pad_width/2;
28
29 element_start("sod323");
30
31 real dot_off = -.3;
32
33 line(package_width/2 + dot_off, -package_height/2,
34      package_width/2 + dot_off, package_height/2);
35
36 pad_mm(-pad_x_off,
37        0,
38        pad_width,
39        pad_height,
40        "1", "1");
41
42 pad_mm(pad_x_off,
43        0,
44        pad_width,
45        pad_height,
46        "2", "2");
47
48 element_end();