text:
package domain

import (
	"net/http"
	"strings"
)

const (
	actions  = "CRUD"
	protocol = "http://"

	// UserType defines a canonical user type name.
	UserType string = "users"

	// DevType defines a canonical device type name.
	DevType string = "devices"

	// ChanType defines a canonical channel type name.
	ChanType string = "channels"
)

// AccessRequest specifies a system request that needs to be authorized.
type AccessRequest struct {
	Action string
	Type   string
	Id     string
}

// Validate will determine whether an access request is valid or not. A request
// is considered valid if it has an action specified as either C (create), R
// (retrieve), U (update) or D (delete), and a type that can be either
// 'UserType', 'ChanType' or 'DevType'.
func (a *AccessRequest) Validate() bool {
	if len(a.Action) != 1 || !strings.Contains(actions, a.Action) {
		return false
	}

	return a.Type == ChanType || a.Type == DevType || a.Type == UserType
}

// SetAction sets an action mnemonic to one of C (create), R (retrieve), U
// (update) or D (delete) based on input HTTP method.
func (a *AccessRequest) SetAction(method string) error {
	switch strings.ToUpper(method) {
	case "GET":
		a.Action = "R"
	case "POST":
		a.Action = "C"
	case "PUT":
		a.Action = "U"
	case "DELETE":
		a.Action = "D"
	default:
		return &AuthError{Code: http.StatusBadRequest}
	}

	return nil
}

// SetIdentity sets a resource type and ID, as extracted from the provided URI.
// It is expected URI to have a form of http://<hostname>/<type>/<id>/<other>,
// with only the <hostname> and <type> being required parts.
func (a *AccessRequest) SetIdentity(uri string) error {
	uri = strings.TrimPrefix(uri, protocol)
	parts := strings.Split(uri, "/")

	if len(parts) < 2 {
		return &AuthError{Code: http.StatusBadRequest}
	}

	switch strings.ToLower(parts[1]) {
	case DevType:
		a.Type = DevType
	case ChanType:
		a.Type = ChanType
	case UserType:
		a.Type = UserType
	default:
		return &AuthError{Code: http.StatusBadRequest}
	}

	if len(parts) > 2 {
		a.Id = parts[2]
	}

	return nil
}

repository: drasko/mainflux-auth

repo_name: drasko/mainflux-auth


text:
package utils

import "reflect"

//func main() {
//	var m = map[string]interface{}{"one": 2222}
//	mv := reflect.ValueOf(m)
//	value := mv.MapIndex(reflect.ValueOf("one"))

//	fmt.Println(value.Kind())							//interface
//	fmt.Println(reflect.ValueOf(m["one"]).Kind())		//int
//	fmt.Println(AnyIndirect(value).Kind())				//int
//}

func AnyIndirect(v reflect.Value) reflect.Value {
	if v.Kind() != reflect.Ptr && v.Kind() != reflect.Interface {
		return v
	}
	return v.Elem()
}

func IsNil(value interface{}) bool {
	if value == nil {
		return true
	}

	v := reflect.ValueOf(value)
	return SafeIsNil(&v)
}

func SafeIsNil(value *reflect.Value) bool {
	if !value.IsValid() {
		return true
	}

	switch value.Kind() {
	case reflect.Chan, reflect.Func, reflect.Interface, reflect.Map, reflect.Ptr, reflect.Slice, reflect.UnsafePointer:
		return value.IsNil()
	default:
		return false
	}
}

license: MIT

repository: liumingmin/goutils

license_type: permissive

repo_name: liumingmin/goutils

branch_name: refs/heads/master

gha_license_id: MIT

gha_language: Go

extension: go


text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="8.3.2">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting keepoldvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.25" unitdist="mm" unit="mm" style="lines" multiple="1" display="yes" altdistance="0.025" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="2" name="Route2" color="1" fill="3" visible="no" active="no"/>
<layer number="3" name="Route3" color="4" fill="3" visible="no" active="no"/>
<layer number="4" name="Route4" color="1" fill="4" visible="no" active="no"/>
<layer number="5" name="Route5" color="4" fill="4" visible="no" active="no"/>
<layer number="6" name="Route6" color="1" fill="8" visible="no" active="no"/>
<layer number="7" name="Route7" color="4" fill="8" visible="no" active="no"/>
<layer number="8" name="Route8" color="1" fill="2" visible="no" active="no"/>
<layer number="9" name="Route9" color="4" fill="2" visible="no" active="no"/>
<layer number="10" name="Route10" color="1" fill="7" visible="no" active="no"/>
<layer number="11" name="Route11" color="4" fill="7" visible="no" active="no"/>
<layer number="12" name="Route12" color="1" fill="5" visible="no" active="no"/>
<layer number="13" name="Route13" color="4" fill="5" visible="no" active="no"/>
<layer number="14" name="Route14" color="1" fill="6" visible="no" active="no"/>
<layer number="15" name="Route15" color="4" fill="6" visible="no" active="no"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="yes" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="yes" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="yes"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="yes"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="yes"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="yes" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="yes" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/>
<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/>
<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/>
<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/>
<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/>
<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/>
<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/>
<layer number="90" name="Modules" color="5" fill="1" visible="no" active="no"/>
<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/>
<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/>
<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/>
<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/>
<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/>
<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/>
<layer number="99" name="SpiceOrder" color="5" fill="1" visible="no" active="no"/>
<layer number="100" name="help" color="7" fill="1" visible="no" active="yes"/>
<layer number="101" name="DOC" color="7" fill="1" visible="no" active="yes"/>
<layer number="102" name="bot_pads" color="7" fill="1" visible="no" active="yes"/>
<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/>
<layer number="104" name="S_DOKU" color="7" fill="1" visible="no" active="yes"/>
<layer number="105" name="Beschreib" color="9" fill="1" visible="no" active="yes"/>
<layer number="106" name="BGA-Top" color="4" fill="1" visible="no" active="yes"/>
<layer number="107" name="BD-Top" color="5" fill="1" visible="no" active="yes"/>
<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/>
<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/>
<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/>
<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="yes"/>
<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="yes"/>
<layer number="113" name="IDFDebug" color="4" fill="1" visible="no" active="yes"/>
<layer number="114" name="Badge_Outline" color="7" fill="1" visible="no" active="yes"/>
<layer number="115" name="ReferenceISLANDS" color="7" fill="1" visible="no" active="yes"/>
<layer number="116" name="Patch_BOT" color="7" fill="1" visible="no" active="yes"/>
<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/>
<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/>
<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/>
<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/>
<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/>
<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="129" name="Mask" color="7" fill="1" visible="no" active="yes"/>
<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/>
<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/>
<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="yes"/>
<layer number="150" name="Notes" color="7" fill="1" visible="no" active="yes"/>
<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/>
<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/>
<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/>
<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/>
<layer number="199" name="Contour" color="7" fill="1" visible="no" active="yes"/>
<layer number="200" name="200bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="201" name="201bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/>
<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/>
<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/>
<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/>
<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/>
<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/>
<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/>
<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/>
<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/>
<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/>
<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/>
<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/>
<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/>
<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/>
<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/>
<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="231" name="231bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="yes"/>
<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="yes"/>
<layer number="248" name="Housing" color="7" fill="1" visible="no" active="yes"/>
<layer number="249" name="Edge" color="7" fill="1" visible="no" active="yes"/>
<layer number="250" name="Descript" color="7" fill="1" visible="no" active="yes"/>
<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="yes"/>
<layer number="254" name="OrgLBR" color="7" fill="1" visible="no" active="yes"/>
<layer number="255" name="routoute" color="7" fill="1" visible="no" active="yes"/>
</layers>
<board>
<plain>
<wire x1="58.42" y1="57.15" x2="58.42" y2="-71.12" width="0" layer="20"/>
<wire x1="58.42" y1="-71.12" x2="57.15" y2="-72.39" width="0" layer="20"/>
<wire x1="57.15" y1="-72.39" x2="-57.15" y2="-72.39" width="0" layer="20"/>
<wire x1="-57.15" y1="-72.39" x2="-58.42" y2="-71.12" width="0" layer="20"/>
<wire x1="-58.42" y1="-71.12" x2="-58.42" y2="57.15" width="0" layer="20"/>
<wire x1="-58.42" y1="57.15" x2="-57.15" y2="58.42" width="0" layer="20"/>
<wire x1="-57.15" y1="58.42" x2="57.15" y2="58.42" width="0" layer="20"/>
<wire x1="57.15" y1="58.42" x2="58.42" y2="57.15" width="0" layer="20"/>
<hole x="-24.272" y="-1" drill="3.2639"/>
<hole x="24.272" y="1" drill="3.2639"/>
<text x="-40.064" y="-45.834" size="1.27" layer="21" font="vector" ratio="18" align="center">Rev. 1.1
CERN OHL v1.2
JPN, MWL@MIT
2017
</text>
<text x="-40.064" y="-34.834" size="1.27" layer="21" font="vector" ratio="18" align="center">64 Channel
Headstage Module
Test Board</text>
<wire x1="-48.064" y1="-48.834" x2="-48.064" y2="-40.834" width="0.254" layer="21"/>
<wire x1="-48.064" y1="-40.834" x2="-32.064" y2="-40.834" width="0.254" layer="21"/>
<wire x1="-32.064" y1="-40.834" x2="-32.064" y2="-48.834" width="0.254" layer="21"/>
<wire x1="-32.064" y1="-48.834" x2="-48.064" y2="-48.834" width="0.254" layer="21"/>
<wire x1="-49.564" y1="-38.334" x2="-49.564" y2="-31.334" width="0.254" layer="21"/>
<wire x1="-49.564" y1="-31.334" x2="-30.564" y2="-31.334" width="0.254" layer="21"/>
<wire x1="-30.564" y1="-31.334" x2="-30.564" y2="-38.334" width="0.254" layer="21"/>
<wire x1="-30.564" y1="-38.334" x2="-49.564" y2="-38.334" width="0.254" layer="21"/>
<text x="30.734" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">32-39</text>
<text x="28.194" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">40-47</text>
<text x="25.654" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">48-55</text>
<text x="23.114" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">56-63</text>
<text x="40.894" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">00-07</text>
<text x="38.354" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">08-15</text>
<text x="35.814" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">16-23</text>
<text x="33.274" y="-66.802" size="1.016" layer="21" font="vector" ratio="18" rot="R210" align="center-left">24-31</text>
<wire x1="1.905" y1="49.53" x2="1.905" y2="50.165" width="0.254" layer="21"/>
<wire x1="1.905" y1="50.165" x2="10.795" y2="50.165" width="0.254" layer="21"/>
<wire x1="10.795" y1="50.165" x2="10.795" y2="49.53" width="0.254" layer="21"/>
<wire x1="12.065" y1="49.53" x2="12.065" y2="50.165" width="0.254" layer="21"/>
<wire x1="12.065" y1="50.165" x2="20.955" y2="50.165" width="0.254" layer="21"/>
<wire x1="20.955" y1="50.165" x2="20.955" y2="49.53" width="0.254" layer="21"/>
<wire x1="1.905" y1="52.07" x2="1.905" y2="52.705" width="0.254" layer="21"/>
<wire x1="1.905" y1="52.705" x2="20.955" y2="52.705" width="0.254" layer="21"/>
<wire x1="20.955" y1="52.705" x2="20.955" y2="52.07" width="0.254" layer="21"/>
<text x="5.715" y="51.435" size="1.016" layer="21" font="vector" ratio="18" align="center">TT01</text>
<text x="16.51" y="51.435" size="1.016" layer="21" font="vector" ratio="18" align="center">TT00</text>
<text x="2.54" y="53.975" size="1.016" layer="21" font="vector" ratio="18" align="center-left">INTAN 40</text>
<text x="20.32" y="53.975" size="1.016" layer="21" font="vector" ratio="18" align="center-right">INTAN 47</text>
<wire x1="-23.495" y1="49.53" x2="-23.495" y2="50.165" width="0.254" layer="21"/>
<wire x1="-23.495" y1="50.165" x2="-14.605" y2="50.165" width="0.254" layer="21"/>
<wire x1="-14.605" y1="50.165" x2="-14.605" y2="49.53" width="0.254" layer="21"/>
<wire x1="-13.335" y1="49.53" x2="-13.335" y2="50.165" width="0.254" layer="21"/>
<wire x1="-13.335" y1="50.165" x2="-4.445" y2="50.165" width="0.254" layer="21"/>
<wire x1="-4.445" y1="50.165" x2="-4.445" y2="49.53" width="0.254" layer="21"/>
<wire x1="-23.495" y1="52.07" x2="-23.495" y2="52.705" width="0.254" layer="21"/>
<wire x1="-23.495" y1="52.705" x2="-4.445" y2="52.705" width="0.254" layer="21"/>
<wire x1="-4.445" y1="52.705" x2="-4.445" y2="52.07" width="0.254" layer="21"/>
<text x="-19.685" y="51.435" size="1.016" layer="21" font="vector" ratio="18" align="center">TT03</text>
<text x="-8.89" y="51.435" size="1.016" layer="21" font="vector" ratio="18" align="center">TT02</text>
<text x="-22.86" y="53.975" size="1.016" layer="21" font="vector" ratio="18" align="center-left">INTAN 32</text>
<text x="-5.08" y="53.975" size="1.016" layer="21" font="vector" ratio="18" align="center-right">INTAN 39</text>
<wire x1="-49.53" y1="1.905" x2="-50.165" y2="1.905" width="0.254" layer="21"/>
<wire x1="-50.165" y1="1.905" x2="-50.165" y2="10.795" width="0.254" layer="21"/>
<wire x1="-50.165" y1="10.795" x2="-49.53" y2="10.795" width="0.254" layer="21"/>
<wire x1="-49.53" y1="12.065" x2="-50.165" y2="12.065" width="0.254" layer="21"/>
<wire x1="-50.165" y1="12.065" x2="-50.165" y2="20.955" width="0.254" layer="21"/>
<wire x1="-50.165" y1="20.955" x2="-49.53" y2="20.955" width="0.254" layer="21"/>
<wire x1="-52.07" y1="1.905" x2="-52.705" y2="1.905" width="0.254" layer="21"/>
<wire x1="-52.705" y1="1.905" x2="-52.705" y2="20.955" width="0.254" layer="21"/>
<wire x1="-52.705" y1="20.955" x2="-52.07" y2="20.955" width="0.254" layer="21"/>
<text x="-51.435" y="5.715" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center">TT05</text>
<text x="-51.435" y="16.51" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center">TT04</text>
<text x="-53.975" y="2.54" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center-left">INTAN 24</text>
<text x="-53.975" y="20.32" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center-right">INTAN 31</text>
<wire x1="-49.53" y1="-23.495" x2="-50.165" y2="-23.495" width="0.254" layer="21"/>
<wire x1="-50.165" y1="-23.495" x2="-50.165" y2="-14.605" width="0.254" layer="21"/>
<wire x1="-50.165" y1="-14.605" x2="-49.53" y2="-14.605" width="0.254" layer="21"/>
<wire x1="-49.53" y1="-13.335" x2="-50.165" y2="-13.335" width="0.254" layer="21"/>
<wire x1="-50.165" y1="-13.335" x2="-50.165" y2="-4.445" width="0.254" layer="21"/>
<wire x1="-50.165" y1="-4.445" x2="-49.53" y2="-4.445" width="0.254" layer="21"/>
<wire x1="-52.07" y1="-23.495" x2="-52.705" y2="-23.495" width="0.254" layer="21"/>
<wire x1="-52.705" y1="-23.495" x2="-52.705" y2="-4.445" width="0.254" layer="21"/>
<wire x1="-52.705" y1="-4.445" x2="-52.07" y2="-4.445" width="0.254" layer="21"/>
<text x="-51.435" y="-19.685" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center">TT07</text>
<text x="-51.435" y="-8.89" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center">TT06</text>
<text x="-53.975" y="-22.86" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center-left">INTAN 16</text>
<text x="-53.975" y="-5.08" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center-right">INTAN 23</text>
<wire x1="-1.905" y1="-49.53" x2="-1.905" y2="-50.165" width="0.254" layer="21"/>
<wire x1="-1.905" y1="-50.165" x2="-10.795" y2="-50.165" width="0.254" layer="21"/>
<wire x1="-10.795" y1="-50.165" x2="-10.795" y2="-49.53" width="0.254" layer="21"/>
<wire x1="-12.065" y1="-49.53" x2="-12.065" y2="-50.165" width="0.254" layer="21"/>
<wire x1="-12.065" y1="-50.165" x2="-20.955" y2="-50.165" width="0.254" layer="21"/>
<wire x1="-20.955" y1="-50.165" x2="-20.955" y2="-49.53" width="0.254" layer="21"/>
<wire x1="-1.905" y1="-52.07" x2="-1.905" y2="-52.705" width="0.254" layer="21"/>
<wire x1="-1.905" y1="-52.705" x2="-20.955" y2="-52.705" width="0.254" layer="21"/>
<wire x1="-20.955" y1="-52.705" x2="-20.955" y2="-52.07" width="0.254" layer="21"/>
<text x="-5.715" y="-51.435" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center">TT09</text>
<text x="-16.51" y="-51.435" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center">TT08</text>
<text x="-2.54" y="-53.975" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center-left">INTAN 8</text>
<text x="-20.32" y="-53.975" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center-right">INTAN 15</text>
<wire x1="23.495" y1="-49.53" x2="23.495" y2="-50.165" width="0.254" layer="21"/>
<wire x1="23.495" y1="-50.165" x2="14.605" y2="-50.165" width="0.254" layer="21"/>
<wire x1="14.605" y1="-50.165" x2="14.605" y2="-49.53" width="0.254" layer="21"/>
<wire x1="13.335" y1="-49.53" x2="13.335" y2="-50.165" width="0.254" layer="21"/>
<wire x1="13.335" y1="-50.165" x2="4.445" y2="-50.165" width="0.254" layer="21"/>
<wire x1="4.445" y1="-50.165" x2="4.445" y2="-49.53" width="0.254" layer="21"/>
<wire x1="23.495" y1="-52.07" x2="23.495" y2="-52.705" width="0.254" layer="21"/>
<wire x1="23.495" y1="-52.705" x2="4.445" y2="-52.705" width="0.254" layer="21"/>
<wire x1="4.445" y1="-52.705" x2="4.445" y2="-52.07" width="0.254" layer="21"/>
<text x="19.685" y="-51.435" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center">TT11</text>
<text x="8.89" y="-51.435" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center">TT10</text>
<text x="22.86" y="-53.975" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center-left">INTAN 0</text>
<text x="5.08" y="-53.975" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center-right">INTAN 7</text>
<wire x1="49.53" y1="-1.905" x2="50.165" y2="-1.905" width="0.254" layer="21"/>
<wire x1="50.165" y1="-1.905" x2="50.165" y2="-10.795" width="0.254" layer="21"/>
<wire x1="50.165" y1="-10.795" x2="49.53" y2="-10.795" width="0.254" layer="21"/>
<wire x1="49.53" y1="-12.065" x2="50.165" y2="-12.065" width="0.254" layer="21"/>
<wire x1="50.165" y1="-12.065" x2="50.165" y2="-20.955" width="0.254" layer="21"/>
<wire x1="50.165" y1="-20.955" x2="49.53" y2="-20.955" width="0.254" layer="21"/>
<wire x1="52.07" y1="-1.905" x2="52.705" y2="-1.905" width="0.254" layer="21"/>
<wire x1="52.705" y1="-1.905" x2="52.705" y2="-20.955" width="0.254" layer="21"/>
<wire x1="52.705" y1="-20.955" x2="52.07" y2="-20.955" width="0.254" layer="21"/>
<text x="51.435" y="-5.715" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">TT13</text>
<text x="51.435" y="-16.51" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">TT12</text>
<text x="53.975" y="-2.54" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center-left">INTAN 56</text>
<text x="53.975" y="-20.32" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center-right">INTAN 63</text>
<wire x1="49.53" y1="23.495" x2="50.165" y2="23.495" width="0.254" layer="21"/>
<wire x1="50.165" y1="23.495" x2="50.165" y2="14.605" width="0.254" layer="21"/>
<wire x1="50.165" y1="14.605" x2="49.53" y2="14.605" width="0.254" layer="21"/>
<wire x1="49.53" y1="13.335" x2="50.165" y2="13.335" width="0.254" layer="21"/>
<wire x1="50.165" y1="13.335" x2="50.165" y2="4.445" width="0.254" layer="21"/>
<wire x1="50.165" y1="4.445" x2="49.53" y2="4.445" width="0.254" layer="21"/>
<wire x1="52.07" y1="23.495" x2="52.705" y2="23.495" width="0.254" layer="21"/>
<wire x1="52.705" y1="23.495" x2="52.705" y2="4.445" width="0.254" layer="21"/>
<wire x1="52.705" y1="4.445" x2="52.07" y2="4.445" width="0.254" layer="21"/>
<text x="51.435" y="19.685" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">TT15</text>
<text x="51.435" y="8.89" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">TT14</text>
<text x="53.975" y="22.86" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center-left">INTAN 48</text>
<text x="53.975" y="5.08" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center-right">INTAN 55</text>
<text x="-22.86" y="-28.321" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">GND</text>
<text x="-28.321" y="-2.54" size="1.016" layer="21" font="vector" ratio="18" align="center">GND</text>
<text x="-28.321" y="22.86" size="1.016" layer="21" font="vector" ratio="18" align="center">GND</text>
<text x="-2.54" y="28.575" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">GND</text>
<text x="22.86" y="28.702" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center">GND</text>
<text x="28.575" y="2.54" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center">GND</text>
<text x="28.321" y="-22.86" size="1.016" layer="21" font="vector" ratio="18" rot="R180" align="center">GND</text>
<text x="2.54" y="-28.321" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">GND</text>
<text x="2.54" y="-61.595" size="1.016" layer="21" font="vector" ratio="18" rot="R270" align="center">-80dB</text>
<text x="12.7" y="-61.595" size="1.016" layer="21" font="vector" ratio="18" rot="R90" align="center">-40dB</text>
<wire x1="36.068" y1="-40.132" x2="36.068" y2="-44.45" width="0.254" layer="21"/>
<wire x1="37.719" y1="-44.45" x2="36.068" y2="-44.45" width="0.254" layer="21"/>
<wire x1="36.068" y1="-44.45" x2="36.068" y2="-46.736" width="0.254" layer="21"/>
<wire x1="34.798" y1="-46.736" x2="37.338" y2="-46.736" width="0.254" layer="21"/>
<wire x1="35.433" y1="-47.371" x2="36.703" y2="-47.371" width="0.254" layer="21"/>
<wire x1="35.7505" y1="-48.006" x2="36.3855" y2="-48.006" width="0.254" layer="21"/>
<wire x1="42.164" y1="-40.3225" x2="42.164" y2="-42.2275" width="0.254" layer="21"/>
<wire x1="53.594" y1="-40.3225" x2="53.594" y2="-42.2275" width="0.254" layer="21"/>
<wire x1="7.62" y1="-59.055" x2="7.62" y2="-58.42" width="0.254" layer="21"/>
<polygon width="0.254" layer="21">
<vertex x="16.8275" y="-57.785"/>
<vertex x="16.8275" y="-59.055"/>
<vertex x="17.78" y="-58.42"/>
</polygon>
<wire x1="15.24" y1="-63.5" x2="17.78" y2="-63.5" width="0.254" layer="21"/>
<wire x1="13.97" y1="-66.04" x2="16.51" y2="-66.04" width="0.254" layer="21"/>
<wire x1="14.605" y1="-66.675" x2="15.875" y2="-66.675" width="0.254" layer="21"/>
<wire x1="14.9225" y1="-67.31" x2="15.5575" y2="-67.31" width="0.254" layer="21"/>
<wire x1="15.24" y1="-66.04" x2="15.24" y2="-63.5" width="0.254" layer="21"/>
<wire x1="7.62" y1="-58.42" x2="16.8275" y2="-58.42" width="0.254" layer="21"/>
<text x="17.145" y="-60.96" size="1.016" layer="21" font="vector" ratio="18" align="center">NC</text>
<polygon width="0.254" layer="21">
<vertex x="16.8275" y="-62.865"/>
<vertex x="16.8275" y="-64.135"/>
<vertex x="17.78" y="-63.5"/>
</polygon>
<wire x1="47.752" y1="-40.132" x2="47.752" y2="-44.45" width="0.254" layer="21"/>
<wire x1="49.403" y1="-44.45" x2="47.752" y2="-44.45" width="0.254" layer="21"/>
<wire x1="47.752" y1="-44.45" x2="47.752" y2="-46.736" width="0.254" layer="21"/>
<wire x1="46.482" y1="-46.736" x2="49.022" y2="-46.736" width="0.254" layer="21"/>
<wire x1="47.117" y1="-47.371" x2="48.387" y2="-47.371" width="0.254" layer="21"/>
<wire x1="47.4345" y1="-48.006" x2="48.0695" y2="-48.006" width="0.254" layer="21"/>
<text x="31.75" y="-70.866" size="1.016" layer="21" font="vector" ratio="18" align="center">INTAN INPUT CHANNEL</text>
<wire x1="-9.4" y1="0.4" x2="-8.6" y2="-0.4" width="0.254" layer="21"/>
<wire x1="-8.6" y1="-0.4" x2="-8.6" y2="-1.6" width="0.254" layer="21"/>
<wire x1="-8.6" y1="-1.6" x2="-9.4" y2="-2.4" width="0.254" layer="21"/>
<wire x1="9.4" y1="0.4" x2="8.6" y2="-0.4" width="0.254" layer="21"/>
<wire x1="8.6" y1="-0.4" x2="8.6" y2="-1.6" width="0.254" layer="21"/>
<wire x1="8.6" y1="-1.6" x2="9.4" y2="-2.4" width="0.254" layer="21"/>
<wire x1="9.4" y1="-2.4" x2="-9.4" y2="-2.4" width="0.254" layer="21" curve="-163.057711"/>
<wire x1="-9.4" y1="0.4" x2="9.4" y2="0.4" width="0.254" layer="21" curve="-163.057711"/>
<text x="-38.98" y="31.19" size="1.016" layer="21" font="vector" ratio="18" align="center">GND</text>
<text x="3.9248375" y="6.539521875" size="1.27" layer="21" font="vector" ratio="18" rot="R332.5" align="center">-</text>
<text x="4.87536875" y="5.962709375" size="1.27" layer="21" font="vector" ratio="18" rot="R325" align="center">6</text>
<text x="5.742484375" y="5.266790625" size="1.27" layer="21" font="vector" ratio="18" rot="R317.5" align="center">4</text>
<text x="2.90715625" y="6.987321875" size="1.27" layer="21" font="vector" ratio="18" rot="R340" align="center">E</text>
<text x="-4.567025" y="6.16880625" size="1.27" layer="21" font="vector" ratio="18" rot="R32.5" align="center">E</text>
<text x="-3.592221875" y="6.70359375" size="1.27" layer="21" font="vector" ratio="18" rot="R25" align="center">A</text>
<text x="-2.555975" y="7.106578125" size="1.27" layer="21" font="vector" ratio="18" rot="R17.5" align="center">D</text>
<text x="-5.463671875" y="5.511359375" size="1.27" layer="21" font="vector" ratio="18" rot="R40" align="center">H</text>
<text x="-0.370740625" y="7.491859375" size="1.27" layer="21" font="vector" ratio="18" rot="R2.5" align="center">T</text>
<text x="0.740853125" y="7.467596875" size="1.27" layer="21" font="vector" ratio="18" rot="R355" align="center">A</text>
<text x="1.83975" y="7.29846875" size="1.27" layer="21" font="vector" ratio="18" rot="R347.5" align="center">G</text>
<text x="-1.475984375" y="7.370815625" size="1.27" layer="21" font="vector" ratio="18" rot="R10" align="center">S</text>
<text x="-22.05" y="20.155" size="1.016" layer="21" font="vector" ratio="18" rot="R45" align="center">EXT</text>
<text x="-15.05" y="13.405" size="1.016" layer="21" font="vector" ratio="18" rot="R45" align="center">INT</text>
<wire x1="-31.25" y1="39.25" x2="-29.75" y2="39.25" width="0.254" layer="21"/>
<wire x1="-29.75" y1="39.25" x2="-28.25" y2="40.25" width="0.254" layer="21"/>
<wire x1="-28.25" y1="40.25" x2="-28.25" y2="39.25" width="0.254" layer="21"/>
<wire x1="-28.25" y1="39.25" x2="-28.25" y2="38.25" width="0.254" layer="21"/>
<wire x1="-28.25" y1="38.25" x2="-29.75" y2="39.25" width="0.254" layer="21"/>
<wire x1="-29.75" y1="40.25" x2="-29.75" y2="39.25" width="0.254" layer="21"/>
<wire x1="-29.75" y1="39.25" x2="-29.75" y2="38.25" width="0.254" layer="21"/>
<wire x1="-28.25" y1="39.25" x2="-27" y2="39.25" width="0.254" layer="21"/>
<wire x1="33.5" y1="-39.25" x2="33.5" y2="-38.5" width="0.254" layer="21"/>
<wire x1="32.5" y1="-37.75" x2="33.5" y2="-37.75" width="0.254" layer="21"/>
<wire x1="33.5" y1="-37.75" x2="34.5" y2="-37.75" width="0.254" layer="21"/>
<wire x1="32.5" y1="-38.5" x2="33.5" y2="-38.5" width="0.254" layer="21"/>
<wire x1="33.5" y1="-38.5" x2="34.5" y2="-38.5" width="0.254" layer="21"/>
<wire x1="33.5" y1="-37.75" x2="33.5" y2="-37" width="0.254" layer="21"/>
<wire x1="33.5" y1="-43.25" x2="33" y2="-43" width="0.254" layer="21"/>
<wire x1="33" y1="-43" x2="34" y2="-42.5" width="0.254" layer="21"/>
<wire x1="34" y1="-42.5" x2="33" y2="-42" width="0.254" layer="21"/>
<wire x1="33" y1="-42" x2="34" y2="-41.5" width="0.254" layer="21"/>
<wire x1="34" y1="-41.5" x2="33.5" y2="-41.25" width="0.254" layer="21"/>
<wire x1="33.5" y1="-41.25" x2="33.5" y2="-40.75" width="0.254" layer="21"/>
<wire x1="33.5" y1="-43.75" x2="33.5" y2="-43.25" width="0.254" layer="21"/>
</plain>
<libraries>
<library name="jonnew">
<description><html>
<head>
<title>Jonnew's Eagle Library</title>
</head>
<body>
<h3>
<span style="font-family:arial,helvetica,sans-serif;">Jonnew's Eagle Library&nbsp;</span></h3>
<ul>
<li>
<strong><span style="font-family:arial,helvetica,sans-serif;">Cyclops</span></strong></li>
<li>
<strong><span style="font-family:arial,helvetica,sans-serif;">Puggle</span></strong></li>
<li>
<strong><span style="font-family:arial,helvetica,sans-serif;">Open Ephys</span></strong></li>
<li>
<strong><span style="font-family:arial,helvetica,sans-serif;">Etc.&nbsp;</span></strong></li>
<li>
</body>
</html></description>
<packages>
<package name="RNX8-0.1">
<wire x1="-1.27" y1="0.635" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="1.27" x2="-1.27" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-0.635" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
<pad name="C" x="0" y="0" drill="1.016" shape="square" rot="R90"/>
<pad name="1" x="2.54" y="0" drill="1.016" rot="R90"/>
<pad name="2" x="5.08" y="0" drill="1.016" rot="R90"/>
<text x="-1.27" y="2.54" size="1.27" layer="25" font="vector" ratio="18">>NAME</text>
<text x="-1.27" y="-3.81" size="1.27" layer="27" font="vector" ratio="18">>VALUE</text>
<rectangle x1="2.286" y1="-0.254" x2="2.794" y2="0.254" layer="51"/>
<rectangle x1="-0.254" y1="-0.254" x2="0.254" y2="0.254" layer="51"/>
<rectangle x1="4.826" y1="-0.254" x2="5.334" y2="0.254" layer="51"/>
<wire x1="-0.635" y1="1.27" x2="20.955" y2="1.27" width="0.1524" layer="21"/>
<wire x1="20.955" y1="1.27" x2="21.59" y2="0.635" width="0.1524" layer="21"/>
<wire x1="21.59" y1="0.635" x2="21.59" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="21.59" y1="-0.635" x2="20.955" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="20.955" y1="-1.27" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
<pad name="4" x="10.16" y="0" drill="1.016" rot="R90"/>
<rectangle x1="9.906" y1="-0.254" x2="10.414" y2="0.254" layer="51"/>
<pad name="5" x="12.7" y="0" drill="1.016" rot="R90"/>
<rectangle x1="12.446" y1="-0.254" x2="12.954" y2="0.254" layer="51"/>
<pad name="6" x="15.24" y="0" drill="1.016" rot="R90"/>
<rectangle x1="14.986" y1="-0.254" x2="15.494" y2="0.254" layer="51"/>
<pad name="7" x="17.78" y="0" drill="1.016" rot="R90"/>
<rectangle x1="17.526" y1="-0.254" x2="18.034" y2="0.254" layer="51"/>
<pad name="8" x="20.32" y="0" drill="1.016" rot="R90"/>
<rectangle x1="20.066" y1="-0.254" x2="20.574" y2="0.254" layer="51"/>
<pad name="3" x="7.62" y="0" drill="1.016" rot="R90"/>
<rectangle x1="7.366" y1="-0.254" x2="7.874" y2="0.254" layer="51"/>
</package>
<package name="JP3">
<wire x1="-1.27" y1="-1.524" x2="-1.27" y2="1.524" width="0.1524" layer="21"/>
<wire x1="6.096" y1="1.778" x2="4.064" y2="1.778" width="0.1524" layer="21"/>
<wire x1="3.81" y1="1.524" x2="4.064" y2="1.778" width="0.1524" layer="21"/>
<wire x1="6.096" y1="-1.778" x2="4.064" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="3.81" y1="-1.524" x2="4.064" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="6.096" y1="-1.778" x2="6.35" y2="-1.524" width="0.1524" layer="21"/>
<wire x1="6.096" y1="1.778" x2="6.35" y2="1.524" width="0.1524" layer="21"/>
<wire x1="3.556" y1="1.778" x2="3.81" y2="1.524" width="0.1524" layer="21"/>
<wire x1="3.556" y1="1.778" x2="1.524" y2="1.778" width="0.1524" layer="21"/>
<wire x1="1.27" y1="1.524" x2="1.524" y2="1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="1.778" x2="1.27" y2="1.524" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="1.524" x2="-1.016" y2="1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="1.778" x2="-1.016" y2="1.778" width="0.1524" layer="21"/>
<wire x1="3.556" y1="-1.778" x2="3.81" y2="-1.524" width="0.1524" layer="21"/>
<wire x1="1.27" y1="-1.524" x2="1.524" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="-1.778" x2="1.27" y2="-1.524" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-1.524" x2="-1.016" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="3.556" y1="-1.778" x2="1.524" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="-1.778" x2="-1.016" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="6.35" y1="1.524" x2="6.35" y2="-1.524" width="0.1524" layer="21"/>
<rectangle x1="-0.3048" y1="-0.3048" x2="0.3048" y2="0.3048" layer="51"/>
<rectangle x1="2.2352" y1="-0.3048" x2="2.8448" y2="0.3048" layer="51"/>
<rectangle x1="4.7752" y1="-0.3048" x2="5.3848" y2="0.3048" layer="51"/>
<pad name="1" x="0" y="0" drill="0.9144" shape="long" rot="R90"/>
<pad name="2" x="2.54" y="0" drill="0.9144" shape="long" rot="R90"/>
<pad name="3" x="5.08" y="0" drill="0.9144" shape="long" rot="R90"/>
<text x="-1.27" y="2.54" size="1.016" layer="21" font="vector" ratio="18">>NAME</text>
<text x="-1.27" y="-3.81" size="1.016" layer="27" font="vector" ratio="18">>VALUE</text>
</package>
<package name="0805">
<wire x1="-0.9652" y1="0.635" x2="0.9652" y2="0.635" width="0.1016" layer="51"/>
<wire x1="0.9652" y1="-0.635" x2="-0.9652" y2="-0.635" width="0.1016" layer="51"/>
<wire x1="-1.778" y1="1.016" x2="1.778" y2="1.016" width="0.127" layer="21"/>
<wire x1="1.778" y1="1.016" x2="1.778" y2="-1.016" width="0.127" layer="21"/>
<wire x1="1.778" y1="-1.016" x2="-1.778" y2="-1.016" width="0.127" layer="21"/>
<wire x1="-1.778" y1="-1.016" x2="-1.778" y2="1.016" width="0.127" layer="21"/>
<smd name="1" x="-1.0414" y="0" dx="0.9652" dy="1.524" layer="1"/>
<smd name="2" x="1.0414" y="0" dx="0.9652" dy="1.524" layer="1"/>
<text x="-1.778" y="1.27" size="1.016" layer="25" font="vector" ratio="18">>NAME</text>
<text x="-2.032" y="-2.286" size="1.016" layer="27" font="vector" ratio="18">>VALUE</text>
<rectangle x1="-1.016" y1="-0.635" x2="-0.6096" y2="0.635" layer="51"/>
<rectangle x1="0.6096" y1="-0.635" x2="1.016" y2="0.635" layer="51"/>
</package>
<package name="ADE_DIP8-SPST">
<wire x1="-10.16" y1="-2.54" x2="10.16" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="10.16" y1="2.54" x2="10.16" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="10.16" y1="2.54" x2="-10.16" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-10.16" y1="-2.54" x2="-10.16" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-9.652" y1="2.032" x2="-8.128" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-8.128" y1="-2.032" x2="-9.652" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-8.128" y1="2.032" x2="-8.128" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-9.652" y1="-2.032" x2="-9.652" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-7.112" y1="2.032" x2="-5.588" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-5.588" y1="-2.032" x2="-7.112" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-5.588" y1="2.032" x2="-5.588" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-7.112" y1="-2.032" x2="-7.112" y2="2.032" width="0.1524" layer="21"/>
<text x="-9.017" y="-1.27" size="1.016" layer="21" font="vector" ratio="18">1</text>
<text x="-10.668" y="-2.286" size="1.016" layer="25" font="vector" ratio="18" rot="R90">>NAME</text>
<text x="11.43" y="-2.54" size="1.016" layer="27" font="vector" ratio="18" rot="R90">>VALUE</text>
<rectangle x1="-9.652" y1="0.508" x2="-8.128" y2="2.032" layer="21"/>
<rectangle x1="-7.112" y1="0.508" x2="-5.588" y2="2.032" layer="21"/>
<pad name="5" x="1.27" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="4" x="-1.27" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="3" x="-3.81" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="2" x="-6.35" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="1" x="-8.89" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="6" x="3.81" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="7" x="6.35" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="8" x="8.89" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="9" x="8.89" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="10" x="6.35" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="11" x="3.81" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="12" x="1.27" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="13" x="-1.27" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="14" x="-3.81" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="15" x="-6.35" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="16" x="-8.89" y="3.81" drill="0.8" shape="octagon" rot="R180"/>
<wire x1="-4.572" y1="2.032" x2="-3.048" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="-2.032" x2="-4.572" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="2.032" x2="-3.048" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-4.572" y1="-2.032" x2="-4.572" y2="2.032" width="0.1524" layer="21"/>
<rectangle x1="-4.572" y1="0.508" x2="-3.048" y2="2.032" layer="21"/>
<wire x1="-2.032" y1="2.032" x2="-0.508" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-0.508" y1="-2.032" x2="-2.032" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-0.508" y1="2.032" x2="-0.508" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-2.032" y1="-2.032" x2="-2.032" y2="2.032" width="0.1524" layer="21"/>
<rectangle x1="-2.032" y1="0.508" x2="-0.508" y2="2.032" layer="21"/>
<wire x1="0.508" y1="2.032" x2="2.032" y2="2.032" width="0.1524" layer="21"/>
<wire x1="2.032" y1="-2.032" x2="0.508" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="2.032" y1="2.032" x2="2.032" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="0.508" y1="-2.032" x2="0.508" y2="2.032" width="0.1524" layer="21"/>
<rectangle x1="0.508" y1="0.508" x2="2.032" y2="2.032" layer="21"/>
<wire x1="3.048" y1="2.032" x2="4.572" y2="2.032" width="0.1524" layer="21"/>
<wire x1="4.572" y1="-2.032" x2="3.048" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="4.572" y1="2.032" x2="4.572" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="3.048" y1="-2.032" x2="3.048" y2="2.032" width="0.1524" layer="21"/>
<rectangle x1="3.048" y1="0.508" x2="4.572" y2="2.032" layer="21"/>
<wire x1="5.588" y1="2.032" x2="7.112" y2="2.032" width="0.1524" layer="21"/>
<wire x1="7.112" y1="-2.032" x2="5.588" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="7.112" y1="2.032" x2="7.112" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="5.588" y1="-2.032" x2="5.588" y2="2.032" width="0.1524" layer="21"/>
<rectangle x1="5.588" y1="0.508" x2="7.112" y2="2.032" layer="21"/>
<wire x1="8.128" y1="2.032" x2="9.652" y2="2.032" width="0.1524" layer="21"/>
<wire x1="9.652" y1="-2.032" x2="8.128" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="9.652" y1="2.032" x2="9.652" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="8.128" y1="-2.032" x2="8.128" y2="2.032" width="0.1524" layer="21"/>
<rectangle x1="8.128" y1="0.508" x2="9.652" y2="2.032" layer="21"/>
<text x="-10.16" y="3.81" size="1.016" layer="21" font="vector" ratio="18" align="center-right">ON</text>
</package>
<package name="JP2">
<wire x1="-1.27" y1="-1.524" x2="-1.27" y2="1.524" width="0.1524" layer="21"/>
<wire x1="3.556" y1="1.778" x2="3.81" y2="1.524" width="0.1524" layer="21"/>
<wire x1="3.556" y1="1.778" x2="1.524" y2="1.778" width="0.1524" layer="21"/>
<wire x1="1.27" y1="1.524" x2="1.524" y2="1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="1.778" x2="1.27" y2="1.524" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="1.524" x2="-1.016" y2="1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="1.778" x2="-1.016" y2="1.778" width="0.1524" layer="21"/>
<wire x1="3.556" y1="-1.778" x2="3.81" y2="-1.524" width="0.1524" layer="21"/>
<wire x1="1.27" y1="-1.524" x2="1.524" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="-1.778" x2="1.27" y2="-1.524" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-1.524" x2="-1.016" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="3.556" y1="-1.778" x2="1.524" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="1.016" y1="-1.778" x2="-1.016" y2="-1.778" width="0.1524" layer="21"/>
<wire x1="3.81" y1="1.524" x2="3.81" y2="-1.524" width="0.1524" layer="21"/>
<rectangle x1="-0.3048" y1="-0.3048" x2="0.3048" y2="0.3048" layer="51"/>
<rectangle x1="2.2352" y1="-0.3048" x2="2.8448" y2="0.3048" layer="51"/>
<pad name="1" x="0" y="0" drill="0.9144" shape="long" rot="R90"/>
<pad name="2" x="2.54" y="0" drill="0.9144" shape="long" rot="R90"/>
<text x="-1.27" y="2.54" size="1.016" layer="21" font="vector" ratio="18">>NAME</text>
<text x="-1.27" y="-3.81" size="1.016" layer="27" font="vector" ratio="18">>VALUE</text>
</package>
<package name="P1-20">
<description><b>TEST PAD</b></description>
<circle x="0" y="0" radius="1.016" width="0.1524" layer="51"/>
<pad name="TP" x="0" y="0" drill="2.0066" diameter="3.1496" shape="octagon"/>
<text x="0" y="0" size="0.0254" layer="27">>VALUE</text>
<rectangle x1="-0.3302" y1="-0.3302" x2="0.3302" y2="0.3302" layer="51"/>
<text x="-1.524" y="2.032" size="1.016" layer="25" font="vector" ratio="18">>NAME</text>
<text x="-1.524" y="-3.048" size="1" layer="27" font="vector" ratio="18">>VALUE</text>
</package>
<package name="4-40_PLATED">
<pad name="P$1" x="0" y="0" drill="3.2639" diameter="6.35"/>
</package>
<package name="206-124_DIP8-SPDT">
<wire x1="-10.16" y1="-2.54" x2="10.16" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="10.16" y1="2.54" x2="10.16" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="10.16" y1="2.54" x2="-10.16" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-10.16" y1="-2.54" x2="-10.16" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-9.652" y1="0.762" x2="-8.128" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-8.128" y1="-2.032" x2="-9.652" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-8.128" y1="0.762" x2="-8.128" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-9.652" y1="-2.032" x2="-9.652" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-7.112" y1="0.762" x2="-5.588" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-5.588" y1="-2.032" x2="-7.112" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-5.588" y1="0.762" x2="-5.588" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-7.112" y1="-2.032" x2="-7.112" y2="0.762" width="0.1524" layer="21"/>
<text x="-8.89" y="-1.27" size="1.016" layer="21" font="vector" ratio="18" align="center">1</text>
<text x="-11.43" y="6.35" size="1.016" layer="25" font="vector" ratio="18">>NAME</text>
<text x="-5.08" y="6.35" size="1.016" layer="27" font="vector" ratio="18">>VALUE</text>
<rectangle x1="-9.652" y1="-0.762" x2="-8.128" y2="0.762" layer="21"/>
<rectangle x1="-7.112" y1="-0.762" x2="-5.588" y2="0.762" layer="21"/>
<pad name="5" x="1.27" y="3.81" drill="0.8" shape="octagon"/>
<pad name="4" x="-1.27" y="3.81" drill="0.8" shape="octagon"/>
<pad name="3" x="-3.81" y="3.81" drill="0.8" shape="octagon"/>
<pad name="2" x="-6.35" y="3.81" drill="0.8" shape="octagon"/>
<pad name="1" x="-8.89" y="3.81" drill="0.8" shape="octagon"/>
<pad name="6" x="3.81" y="3.81" drill="0.8" shape="octagon"/>
<pad name="7" x="6.35" y="3.81" drill="0.8" shape="octagon"/>
<pad name="8" x="8.89" y="3.81" drill="0.8" shape="octagon"/>
<pad name="-" x="8.89" y="-3.81" drill="0.8" shape="octagon" rot="R180"/>
<pad name="+" x="-8.89" y="-3.81" drill="0.8" shape="octagon" rot="R180"/>
<wire x1="-4.572" y1="0.762" x2="-3.048" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="-2.032" x2="-4.572" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="0.762" x2="-3.048" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-4.572" y1="-2.032" x2="-4.572" y2="0.762" width="0.1524" layer="21"/>
<rectangle x1="-4.572" y1="-0.762" x2="-3.048" y2="0.762" layer="21"/>
<wire x1="-2.032" y1="0.762" x2="-0.508" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-0.508" y1="-2.032" x2="-2.032" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-0.508" y1="0.762" x2="-0.508" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="-2.032" y1="-2.032" x2="-2.032" y2="0.762" width="0.1524" layer="21"/>
<rectangle x1="-2.032" y1="-0.762" x2="-0.508" y2="0.762" layer="21"/>
<wire x1="0.508" y1="0.762" x2="2.032" y2="0.762" width="0.1524" layer="21"/>
<wire x1="2.032" y1="-2.032" x2="0.508" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="2.032" y1="0.762" x2="2.032" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="0.508" y1="-2.032" x2="0.508" y2="0.762" width="0.1524" layer="21"/>
<rectangle x1="0.508" y1="-0.762" x2="2.032" y2="0.762" layer="21"/>
<wire x1="3.048" y1="0.762" x2="4.572" y2="0.762" width="0.1524" layer="21"/>
<wire x1="4.572" y1="-2.032" x2="3.048" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="4.572" y1="0.762" x2="4.572" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="3.048" y1="-2.032" x2="3.048" y2="0.762" width="0.1524" layer="21"/>
<rectangle x1="3.048" y1="-0.762" x2="4.572" y2="0.762" layer="21"/>
<wire x1="5.588" y1="0.762" x2="7.112" y2="0.762" width="0.1524" layer="21"/>
<wire x1="7.112" y1="-2.032" x2="5.588" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="7.112" y1="0.762" x2="7.112" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="5.588" y1="-2.032" x2="5.588" y2="0.762" width="0.1524" layer="21"/>
<rectangle x1="5.588" y1="-0.762" x2="7.112" y2="0.762" layer="21"/>
<text x="-11.43" y="-2.54" size="1.6764" layer="21" font="vector" ratio="18" align="center">-</text>
<text x="-11.43" y="2.54" size="1.6764" layer="21" font="vector" ratio="18" align="center">+</text>
<text x="-11.43" y="0" size="1.4224" layer="21" font="vector" ratio="18" align="center">O</text>
<wire x1="5.588" y1="2.032" x2="7.112" y2="2.032" width="0.1524" layer="21"/>
<wire x1="5.588" y1="-0.762" x2="5.588" y2="2.032" width="0.1524" layer="21"/>
<wire x1="7.112" y1="2.032" x2="7.112" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="3.048" y1="2.032" x2="4.572" y2="2.032" width="0.1524" layer="21"/>
<wire x1="3.048" y1="-0.762" x2="3.048" y2="2.032" width="0.1524" layer="21"/>
<wire x1="4.572" y1="2.032" x2="4.572" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="0.508" y1="2.032" x2="2.032" y2="2.032" width="0.1524" layer="21"/>
<wire x1="0.508" y1="-0.762" x2="0.508" y2="2.032" width="0.1524" layer="21"/>
<wire x1="2.032" y1="2.032" x2="2.032" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="-2.032" y1="2.032" x2="-0.508" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-2.032" y1="-0.762" x2="-2.032" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-0.508" y1="2.032" x2="-0.508" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="-4.572" y1="2.032" x2="-3.048" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-4.572" y1="-0.762" x2="-4.572" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-3.048" y1="2.032" x2="-3.048" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="-7.112" y1="2.032" x2="-5.588" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-7.112" y1="-0.762" x2="-7.112" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-5.588" y1="2.032" x2="-5.588" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="-9.652" y1="2.032" x2="-8.128" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-9.652" y1="-0.762" x2="-9.652" y2="2.032" width="0.1524" layer="21"/>
<wire x1="-8.128" y1="2.032" x2="-8.128" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="8.128" y1="0.762" x2="9.652" y2="0.762" width="0.1524" layer="21"/>
<wire x1="9.652" y1="-2.032" x2="8.128" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="9.652" y1="0.762" x2="9.652" y2="-2.032" width="0.1524" layer="21"/>
<wire x1="8.128" y1="-2.032" x2="8.128" y2="0.762" width="0.1524" layer="21"/>
<rectangle x1="8.128" y1="-0.762" x2="9.652" y2="0.762" layer="21"/>
<wire x1="8.128" y1="2.032" x2="9.652" y2="2.032" width="0.1524" layer="21"/>
<wire x1="8.128" y1="-0.762" x2="8.128" y2="2.032" width="0.1524" layer="21"/>
<wire x1="9.652" y1="2.032" x2="9.652" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="12.5" y1="-5" x2="12.5" y2="5" width="0.127" layer="21"/>
<wire x1="12.5" y1="5" x2="-12.5" y2="5" width="0.127" layer="21"/>
<wire x1="-12.5" y1="5" x2="-12.5" y2="-5" width="0.127" layer="21"/>
<wire x1="-12.5" y1="-5" x2="12.5" y2="-5" width="0.127" layer="21"/>
</package>
<package name="DF40-70REC">
<circle x="-7.4234" y="0.5542" radius="0.227184375" width="0.127" layer="21"/>
<text x="-8.89" y="2.54" size="0.889" layer="25" font="vector" ratio="18">>NAME</text>
<text x="-8.89" y="-3.81" size="0.889" layer="27" font="vector" ratio="18">>VALUE</text>
<smd name="1" x="-6.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="2" x="-6.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="3" x="-6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="4" x="-5.6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="5" x="-5.2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="6" x="-4.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="7" x="-4.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="8" x="-4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="9" x="-3.6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="10" x="-3.2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="11" x="-2.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="12" x="-2.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="13" x="-2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="14" x="-1.6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="15" x="-1.2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="16" x="-0.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="17" x="-0.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="18" x="0" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="19" x="0.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="20" x="0.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="21" x="1.2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="22" x="1.6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="23" x="2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="24" x="2.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="25" x="2.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="26" x="3.2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="27" x="3.6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="28" x="4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="29" x="4.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="30" x="4.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="31" x="5.2" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="32" x="5.6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="33" x="6" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="34" x="6.4" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="35" x="6.8" y="1.17" dx="0.2" dy="1.14" layer="1"/>
<smd name="36" x="6.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="37" x="6.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="38" x="6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="39" x="5.6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="40" x="5.2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="41" x="4.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="42" x="4.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="43" x="4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="44" x="3.6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="45" x="3.2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="46" x="2.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="47" x="2.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="48" x="2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="49" x="1.6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="50" x="1.2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="51" x="0.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="52" x="0.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="53" x="0" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="54" x="-0.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="55" x="-0.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="56" x="-1.2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="57" x="-1.6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="58" x="-2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="59" x="-2.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="60" x="-2.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="61" x="-3.2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="62" x="-3.6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="63" x="-4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="64" x="-4.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="65" x="-4.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="66" x="-5.2" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="67" x="-5.6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="68" x="-6" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="69" x="-6.4" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<smd name="70" x="-6.8" y="-1.17" dx="0.2" dy="1.14" layer="1" rot="R180"/>
<wire x1="-8.3" y1="-1.44" x2="-8.3" y2="1.44" width="0.127" layer="21"/>
<wire x1="-8.3" y1="1.44" x2="-7.2" y2="1.44" width="0.127" layer="21"/>
<wire x1="7.2" y1="1.44" x2="8.3" y2="1.44" width="0.127" layer="21"/>
<wire x1="8.3" y1="1.44" x2="8.3" y2="-1.44" width="0.127" layer="21"/>
<wire x1="8.3" y1="-1.44" x2="7.2" y2="-1.44" width="0.127" layer="21"/>
<wire x1="-7.2" y1="-1.44" x2="-8.3" y2="-1.44" width="0.127" layer="21"/>
<wire x1="-8" y1="1.1" x2="-8" y2="-1.1" width="0.127" layer="21"/>
<wire x1="8" y1="-1.1" x2="8" y2="1.1" width="0.127" layer="21"/>
<wire x1="-8" y1="1.1" x2="-7.2" y2="1.1" width="0.127" layer="21"/>
<wire x1="-8" y1="-1.1" x2="-7.2" y2="-1.1" width="0.127" layer="21"/>
<wire x1="8" y1="1.1" x2="7.2" y2="1.1" width="0.127" layer="21"/>
<wire x1="8" y1="-1.1" x2="7.2" y2="-1.1" width="0.127" layer="21"/>
<rectangle x1="-8.4" y1="-1.7" x2="8.4" y2="1.7" layer="39"/>
</package>
<package name="LXZ1">
<smd name="A" x="0.5" y="0" dx="2" dy="0.45" layer="1" rot="R90"/>
<smd name="C" x="-0.5" y="0" dx="2" dy="0.45" layer="1" rot="R90"/>
<wire x1="-0.9" y1="-0.9" x2="-0.9" y2="0.9" width="0.127" layer="21"/>
<wire x1="-0.1" y1="0.9" x2="0.1" y2="0.9" width="0.127" layer="21"/>
<wire x1="-0.1" y1="-0.9" x2="0.1" y2="-0.9" width="0.127" layer="21"/>
<wire x1="0.9" y1="0.9" x2="0.9" y2="-0.9" width="0.127" layer="21"/>
<text x="-1.27" y="1.27" size="1.016" layer="25" font="vector" ratio="18">>NAME</text>
<text x="-1.27" y="-2.54" size="1.016" layer="27" font="vector" ratio="18">>VALUE</text>
</package>
</packages>
</library>
<library name="josh">
<packages>
<package name="BNC_RIGHT_ANGLE">
<wire x1="-2.54" y1="-6.35" x2="12.7" y2="-6.35" width="0.127" layer="21"/>
<wire x1="12.7" y1="-6.35" x2="12.7" y2="5.08" width="0.127" layer="21"/>
<wire x1="12.7" y1="5.08" x2="10.16" y2="5.08" width="0.127" layer="21"/>
<wire x1="10.16" y1="5.08" x2="0" y2="5.08" width="0.127" layer="21"/>
<wire x1="0" y1="5.08" x2="-2.54" y2="5.08" width="0.127" layer="21"/>
<wire x1="-2.54" y1="5.08" x2="-2.54" y2="-6.35" width="0.127" layer="21"/>
<wire x1="0" y1="5.08" x2="0" y2="11.43" width="0.127" layer="21"/>
<wire x1="0" y1="11.43" x2="1.27" y2="11

extension: brd