#!/usr/bin/python
-# Copyright 2007 by Bdale Garbee <bdale@gag.com>. GPLv2
+# Copyright 2008 by Bdale Garbee <bdale@gag.com>. GPLv2
#
# Program to emit PCB footprint for QFN36 package used by TI CC1111
#
def mm2mils100( mm ):
return int( mm / 25.4 * 1000.0 * 100.0 + 0.5 )
+print '# author: Bdale Garbee'
+print '# email: bdale@gag.com'
+print '# dist-license: GPL 2'
+print '# use-license: unlimited'
+
print 'Element[0x0 "QFN36" "" "" 0 0 0 0 0 100 0x0]'
print "("
print ' Pin[',\
mm2mils100(2 * viacol * CoreSquare / 5), \
mm2mils100(2 * viarow * CoreSquare / 5), \
- 1600, \
- 0, \
+ 2800, \
+ 1000, \
0, \
1500, \
- '"pin37" "37" 0x0000]'
+ '"pin37" "37" 0x0002]'
# break pad under chip into a grid to control the resist and paste masks
for viarow in range (-2, 3):