Commit 64c91410 authored by Neil Gershenfeld's avatar Neil Gershenfeld
Browse files

wip

parent 7cf3513a
Pipeline #19234 passed with stage
in 1 second
......@@ -1353,6 +1353,40 @@ class header_serial_M(part):
self.pad.append(point(0,-.15,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'G'))
class header_serial_Frev(part):
#
# 4x1x0.1 serial cable header
# Sullins GEC36SBSN-M89
#
def __init__(self,value=''):
self.value = value
self.pad = [point(0,0,0)]
self.labels = []
#
# pin 1
#
self.shape = translate(pad_header,0,.15,0)
self.pad.append(point(0,.15,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'.G'))
#
# pin 2
#
self.shape = add(self.shape,translate(pad_header,0,.05,0))
self.pad.append(point(0,.05,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'5V'))
#
# pin 3
#
self.shape = add(self.shape,translate(pad_header,0,-.05,0))
self.pad.append(point(0,-.05,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'Tx'))
#
# pin 4
#
self.shape = add(self.shape,translate(pad_header,0,-0.15,0))
self.pad.append(point(0,-.15,0))
self.labels.append(self.text(self.pad[-1].x,self.pad[-1].y,self.pad[-1].z,'Rx'))
class header_serial_F(part):
#
# 4x1x0.1 serial cable header
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment