text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.1">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting keepoldvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.05" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" 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="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="yes" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="yes" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="yes" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="yes" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="yes" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="yes" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="yes" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="yes" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" 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="yes" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="yes" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="yes" 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="yes" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="yes" 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="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="7" fill="1" visible="no" active="no"/>
<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/>
<layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/>
<layer number="102" name="Vscore" color="7" fill="1" visible="yes" active="yes"/>
<layer number="103" name="fp3" color="7" fill="1" visible="yes" active="yes"/>
<layer number="104" name="Name" color="7" fill="1" visible="yes" active="yes"/>
<layer number="105" name="Beschreib" color="9" fill="1" visible="yes" active="yes"/>
<layer number="106" name="BGA-Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="107" name="BD-Top" color="5" fill="1" visible="yes" active="yes"/>
<layer number="108" name="fp8" color="7" fill="1" visible="yes" active="yes"/>
<layer number="109" name="fp9" color="7" fill="1" visible="yes" active="yes"/>
<layer number="110" name="fp0" color="7" fill="1" visible="yes" active="yes"/>
<layer number="111" name="LPC17xx" color="7" fill="1" visible="yes" active="yes"/>
<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="113" name="IDFDebug" color="4" fill="1" visible="yes" active="yes"/>
<layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/>
<layer number="121" name="_tsilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="122" name="_bsilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="123" name="tTestmark" color="7" fill="1" visible="yes" active="yes"/>
<layer number="124" name="bTestmark" color="7" fill="1" visible="yes" active="yes"/>
<layer number="125" name="_tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="126" name="_bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="127" name="_tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="128" name="_bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="131" name="tAdjust" color="7" fill="1" visible="yes" active="yes"/>
<layer number="132" name="bAdjust" color="7" fill="1" visible="yes" active="yes"/>
<layer number="144" name="Drill_legend" color="7" fill="1" visible="yes" active="yes"/>
<layer number="150" name="Notes" color="7" fill="1" visible="yes" active="yes"/>
<layer number="151" name="HeatSink" color="7" fill="1" visible="yes" active="yes"/>
<layer number="152" name="_bDocu" color="7" fill="1" visible="yes" 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="yes" active="yes"/>
<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/>
<layer number="201" name="201bmp" color="2" fill="1" visible="no" active="no"/>
<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/>
<layer number="203" name="203bmp" color="4" fill="10" visible="yes" active="yes"/>
<layer number="204" name="204bmp" color="5" fill="10" visible="yes" active="yes"/>
<layer number="205" name="205bmp" color="6" fill="10" visible="yes" active="yes"/>
<layer number="206" name="206bmp" color="7" fill="10" visible="yes" active="yes"/>
<layer number="207" name="207bmp" color="8" fill="10" visible="yes" active="yes"/>
<layer number="208" name="208bmp" color="9" fill="10" visible="yes" active="yes"/>
<layer number="209" name="209bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="210" name="210bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="211" name="211bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="212" name="212bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="213" name="213bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="214" name="214bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="215" name="215bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="216" name="216bmp" color="7" fill="1" visible="yes" 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="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/>
<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/>
<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/>
<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/>
<layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/>
</layers>
<board>
<plain>
<wire x1="0" y1="0" x2="100.000053125" y2="0" width="0" layer="20"/>
<wire x1="100.000053125" y1="0" x2="100.000053125" y2="45.39" width="0" layer="20"/>
<wire x1="100.000053125" y1="45.39" x2="0" y2="45.39" width="0" layer="20"/>
<wire x1="0" y1="45.39" x2="0" y2="0" width="0" layer="20"/>
<text x="7.62" y="25.4" size="1.778" layer="25" font="vector" rot="R90">http://v.st/
2015-11-02</text>
<rectangle x1="0" y1="0" x2="1.27" y2="45.72" layer="16"/>
<rectangle x1="99.06" y1="0" x2="100.33" y2="45.72" layer="16"/>
<rectangle x1="0" y1="0" x2="1.27" y2="45.72" layer="1"/>
<rectangle x1="0" y1="0" x2="1.27" y2="45.72" layer="29"/>
<rectangle x1="0" y1="0" x2="1.27" y2="45.72" layer="30"/>
<rectangle x1="99.06" y1="0" x2="100.33" y2="45.72" layer="30"/>
<rectangle x1="99.06" y1="0" x2="100.33" y2="45.72" layer="29"/>
<rectangle x1="99.06" y1="0" x2="100.33" y2="45.72" layer="1"/>
<text x="18.415" y="4.445" size="1.778" layer="25" font="vector">B</text>
<text x="9.525" y="3.81" size="1.778" layer="25" font="vector">Y</text>
<text x="4.445" y="3.81" size="1.778" layer="25" font="vector">X</text>
<text x="85.09" y="18.415" size="1.27" layer="26" font="vector" rot="MR0">+3</text>
<text x="85.09" y="20.955" size="1.27" layer="26" font="vector" rot="MR0">A0</text>
<text x="85.09" y="23.495" size="1.27" layer="26" font="vector" rot="MR0">A1</text>
<text x="85.09" y="26.035" size="1.27" layer="26" font="vector" rot="MR0">A2</text>
<text x="85.09" y="28.575" size="1.27" layer="26" font="vector" rot="MR0">A3</text>
<text x="85.09" y="31.115" size="1.27" layer="26" font="vector" rot="MR0">A4</text>
<text x="85.09" y="33.655" size="1.27" layer="26" font="vector" rot="MR0">A5</text>
<text x="86.36" y="15.875" size="1.27" layer="26" font="vector" rot="MR0">GND</text>
</plain>
<libraries>
<library name="rcl">
<packages>
<package name="E1,8-4">
<description>ELECTROLYTIC CAPACITOR

grid 1.8 mm, diameter 4 mm</description>
<wire x1="-1.524" y1="0" x2="-0.762" y2="0" width="0.1524" layer="51"/>
<wire x1="-0.762" y1="0" x2="-0.762" y2="-1.016" width="0.1524" layer="51"/>
<wire x1="-0.762" y1="-1.016" x2="-0.254" y2="-1.016" width="0.1524" layer="51"/>
<wire x1="-0.254" y1="-1.016" x2="-0.254" y2="1.016" width="0.1524" layer="51"/>
<wire x1="-0.254" y1="1.016" x2="-0.762" y2="1.016" width="0.1524" layer="51"/>
<wire x1="-0.762" y1="1.016" x2="-0.762" y2="0" width="0.1524" layer="51"/>
<wire x1="0.635" y1="0" x2="1.524" y2="0" width="0.1524" layer="51"/>
<wire x1="-1.016" y1="1.397" x2="-0.508" y2="1.397" width="0.1524" layer="21"/>
<wire x1="-0.762" y1="1.143" x2="-0.762" y2="1.651" width="0.1524" layer="21"/>
<circle x="0" y="0" radius="2.032" width="0.1524" layer="21"/>
<pad name="-" x="0.889" y="0" drill="0.7112" diameter="1.1684" shape="octagon"/>
<pad name="+" x="-0.889" y="0" drill="0.7112" diameter="1.1684"/>
<text x="2.159" y="0.762" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="2.159" y="-1.778" size="1.27" layer="27" ratio="10">>VALUE</text>
<rectangle x1="0.254" y1="-1.016" x2="0.762" y2="1.016" layer="51"/>
</package>
</packages>
</library>
<library name="adafruit">
<packages>
<package name="C025-024X044">
<description>CAPACITOR

grid 2.5 mm, outline 2.4 x 4.4 mm</description>
<wire x1="-2.159" y1="-0.635" x2="-2.159" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-2.159" y1="0.635" x2="-1.651" y2="1.143" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.159" y1="-0.635" x2="-1.651" y2="-1.143" width="0.1524" layer="21" curve="90"/>
<wire x1="1.651" y1="1.143" x2="-1.651" y2="1.143" width="0.1524" layer="21"/>
<wire x1="2.159" y1="-0.635" x2="2.159" y2="0.635" width="0.1524" layer="21"/>
<wire x1="1.651" y1="-1.143" x2="-1.651" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="1.651" y1="1.143" x2="2.159" y2="0.635" width="0.1524" layer="21" curve="-90"/>
<wire x1="1.651" y1="-1.143" x2="2.159" y2="-0.635" width="0.1524" layer="21" curve="90"/>
<wire x1="-0.3048" y1="0.762" x2="-0.3048" y2="-0.762" width="0.3048" layer="21"/>
<wire x1="0.3302" y1="0.762" x2="0.3302" y2="-0.762" width="0.3048" layer="21"/>
<wire x1="1.27" y1="0" x2="0.3302" y2="0" width="0.1524" layer="51"/>
<wire x1="-1.27" y1="0" x2="-0.3048" y2="0" width="0.1524" layer="51"/>
<pad name="1" x="-1.27" y="0" drill="0.8128" diameter="1.4224" shape="octagon"/>
<pad name="2" x="1.27" y="0" drill="0.8128" diameter="1.4224" shape="octagon"/>
<text x="-1.778" y="1.397" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-1.778" y="-2.667" size="1.27" layer="27" ratio="10">>VALUE</text>
</package>
<package name="DIL14">
<description>Dual In Line Package</description>
<wire x1="8.89" y1="2.921" x2="-8.89" y2="2.921" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="-2.921" x2="8.89" y2="-2.921" width="0.1524" layer="21"/>
<wire x1="8.89" y1="2.921" x2="8.89" y2="-2.921" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="2.921" x2="-8.89" y2="1.016" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="-2.921" x2="-8.89" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="1.016" x2="-8.89" y2="-1.016" width="0.1524" layer="21" curve="-180"/>
<pad name="1" x="-7.62" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="2" x="-5.08" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="7" x="7.62" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="8" x="7.62" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="3" x="-2.54" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="4" x="0" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="6" x="5.08" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="5" x="2.54" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="9" x="5.08" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="10" x="2.54" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="11" x="0" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="12" x="-2.54" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="13" x="-5.08" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="14" x="-7.62" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<text x="-9.271" y="-3.048" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text>
<text x="-6.731" y="-0.635" size="1.27" layer="27" ratio="10">>VALUE</text>
</package>
<package name="0204V">
<description>RESISTOR

type 0204, grid 2.5 mm</description>
<wire x1="-1.27" y1="0" x2="1.27" y2="0" width="0.508" layer="51"/>
<wire x1="-0.127" y1="0" x2="0.127" y2="0" width="0.508" layer="21"/>
<circle x="-1.27" y="0" radius="0.889" width="0.1524" layer="51"/>
<circle x="-1.27" y="0" radius="0.635" width="0.0508" layer="51"/>
<pad name="1" x="-1.27" y="0" drill="0.8128" shape="octagon"/>
<pad name="2" x="1.27" y="0" drill="0.8128" shape="octagon"/>
<text x="-2.1336" y="1.1684" size="1.27" layer="25" ratio="12">>NAME</text>
<text x="-2.1336" y="-2.3114" size="1.27" layer="27" ratio="12">>VALUE</text>
</package>
<package name="1X06">
<description>PIN HEADER</description>
<wire x1="0.635" y1="1.27" x2="1.905" y2="1.27" width="0.1524" layer="21"/>
<wire x1="1.905" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
<wire x1="2.54" y1="0.635" x2="2.54" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="2.54" y1="-0.635" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="2.54" y1="0.635" x2="3.175" y2="1.27" width="0.1524" layer="21"/>
<wire x1="3.175" y1="1.27" x2="4.445" y2="1.27" width="0.1524" layer="21"/>
<wire x1="4.445" y1="1.27" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
<wire x1="5.08" y1="0.635" x2="5.08" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="5.08" y1="-0.635" x2="4.445" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="4.445" y1="-1.27" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="3.175" y1="-1.27" x2="2.54" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-2.54" y1="0.635" x2="-1.905" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="1.27" x2="-0.635" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="1.27" x2="0" y2="0.635" width="0.1524" layer="21"/>
<wire x1="0" y1="0.635" x2="0" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="0" y1="-0.635" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="-1.27" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="-1.27" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="0.635" y1="1.27" x2="0" y2="0.635" width="0.1524" layer="21"/>
<wire x1="0" y1="-0.635" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="1.905" y1="-1.27" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-6.985" y1="1.27" x2="-5.715" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-5.715" y1="1.27" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-5.08" y1="0.635" x2="-5.08" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-5.08" y1="-0.635" x2="-5.715" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-5.08" y1="0.635" x2="-4.445" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="1.27" x2="-3.175" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-3.175" y1="1.27" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-2.54" y1="0.635" x2="-2.54" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-2.54" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-3.175" y1="-1.27" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="-1.27" x2="-5.08" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-7.62" y1="0.635" x2="-7.62" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-6.985" y1="1.27" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-7.62" y1="-0.635" x2="-6.985" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-5.715" y1="-1.27" x2="-6.985" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="5.715" y1="1.27" x2="6.985" y2="1.27" width="0.1524" layer="21"/>
<wire x1="6.985" y1="1.27" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
<wire x1="7.62" y1="0.635" x2="7.62" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="7.62" y1="-0.635" x2="6.985" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="5.715" y1="1.27" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
<wire x1="5.08" y1="-0.635" x2="5.715" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="6.985" y1="-1.27" x2="5.715" y2="-1.27" width="0.1524" layer="21"/>
<pad name="1" x="-6.35" y="0" drill="1.016" shape="octagon" rot="R90"/>
<pad name="2" x="-3.81" y="0" drill="1.016" shape="octagon" rot="R90"/>
<pad name="3" x="-1.27" y="0" drill="1.016" shape="octagon" rot="R90"/>
<pad name="4" x="1.27" y="0" drill="1.016" shape="octagon" rot="R90"/>
<pad name="5" x="3.81" y="0" drill="1.016" shape="octagon" rot="R90"/>
<pad name="6" x="6.35" y="0" drill="1.016" shape="octagon" rot="R90"/>
<text x="-7.6962" y="1.8288" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-7.62" y="-3.175" size="1.27" layer="27">>VALUE</text>
<rectangle x1="3.556" y1="-0.254" x2="4.064" y2="0.254" layer="51"/>
<rectangle x1="1.016" y1="-0.254" x2="1.524" y2="0.254" layer="51"/>
<rectangle x1="-1.524" y1="-0.254" x2="-1.016" y2="0.254" layer="51"/>
<rectangle x1="-4.064" y1="-0.254" x2="-3.556" y2="0.254" layer="51"/>
<rectangle x1="-6.604" y1="-0.254" x2="-6.096" y2="0.254" layer="51"/>
<rectangle x1="6.096" y1="-0.254" x2="6.604" y2="0.254" layer="51"/>
</package>
<package name="1X03">
<description>PIN HEADER</description>
<wire x1="-3.175" y1="1.27" x2="-1.905" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="1.27" x2="-1.27" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="0.635" x2="-1.27" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-0.635" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="0.635" x2="-0.635" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="1.27" x2="0.635" y2="1.27" 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="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"/>
<wire x1="0.635" y1="-1.27" x2="-0.635" y2="-1.27" 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="-3.81" y1="0.635" x2="-3.81" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-3.175" y1="1.27" x2="-3.81" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-3.81" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="-1.27" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="1.27" y1="0.635" x2="1.905" y2="1.27" width="0.1524" layer="21"/>
<wire x1="1.905" y1="1.27" x2="3.175" y2="1.27" width="0.1524" layer="21"/>
<wire x1="3.175" y1="1.27" x2="3.81" y2="0.635" width="0.1524" layer="21"/>
<wire x1="3.81" y1="0.635" x2="3.81" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="3.81" y1="-0.635" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="3.175" y1="-1.27" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="1.905" y1="-1.27" x2="1.27" y2="-0.635" width="0.1524" layer="21"/>
<pad name="1" x="-2.54" y="0" drill="1.016" rot="R90"/>
<pad name="2" x="0" y="0" drill="1.016" rot="R90"/>
<pad name="3" x="2.54" y="0" drill="1.016" rot="R90"/>
<text x="-3.8862" y="1.8288" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-3.81" y="-3.175" size="1.27" layer="27">>VALUE</text>
<rectangle x1="-0.254" y1="-0.254" x2="0.254" y2="0.254" layer="51"/>
<rectangle x1="-2.794" y1="-0.254" x2="-2.286" y2="0.254" layer="51"/>
<rectangle x1="2.286" y1="-0.254" x2="2.794" y2="0.254" layer="51"/>
</package>
<package name="LED5MM">
<description>LED

5 mm, round</description>
<wire x1="2.54" y1="-1.905" x2="2.54" y2="1.905" width="0.2032" layer="21"/>
<wire x1="2.54" y1="-1.905" x2="2.54" y2="1.905" width="0.254" layer="21" curve="-286.260205" cap="flat"/>
<wire x1="-1.143" y1="0" x2="0" y2="1.143" width="0.1524" layer="51" curve="-90" cap="flat"/>
<wire x1="0" y1="-1.143" x2="1.143" y2="0" width="0.1524" layer="51" curve="90" cap="flat"/>
<wire x1="-1.651" y1="0" x2="0" y2="1.651" width="0.1524" layer="51" curve="-90" cap="flat"/>
<wire x1="0" y1="-1.651" x2="1.651" y2="0" width="0.1524" layer="51" curve="90" cap="flat"/>
<wire x1="-2.159" y1="0" x2="0" y2="2.159" width="0.1524" layer="51" curve="-90" cap="flat"/>
<wire x1="0" y1="-2.159" x2="2.159" y2="0" width="0.1524" layer="51" curve="90" cap="flat"/>
<circle x="0" y="0" radius="2.54" width="0.1524" layer="21"/>
<pad name="A" x="-1.27" y="0" drill="0.8128" diameter="1.6764" shape="octagon"/>
<pad name="K" x="1.27" y="0" drill="0.8128" diameter="1.6764" shape="octagon"/>
<text x="3.175" y="0.5334" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="3.2004" y="-1.8034" size="1.27" layer="27" ratio="10">>VALUE</text>
</package>
<package name="1X08-CLEANBIG">
<pad name="1" x="-8.89" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<pad name="2" x="-6.35" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<pad name="3" x="-3.81" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<pad name="4" x="-1.27" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<pad name="5" x="1.27" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<pad name="6" x="3.81" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<pad name="7" x="6.35" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<pad name="8" x="8.89" y="0" drill="1.016" diameter="1.778" shape="octagon" rot="R90"/>
<text x="-10.2362" y="1.8288" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-10.16" y="-3.175" size="1.27" layer="27">>VALUE</text>
<rectangle x1="6.096" y1="-0.254" x2="6.604" y2="0.254" layer="51"/>
<rectangle x1="3.556" y1="-0.254" x2="4.064" y2="0.254" layer="51"/>
<rectangle x1="1.016" y1="-0.254" x2="1.524" y2="0.254" layer="51"/>
<rectangle x1="-1.524" y1="-0.254" x2="-1.016" y2="0.254" layer="51"/>
<rectangle x1="-4.064" y1="-0.254" x2="-3.556" y2="0.254" layer="51"/>
<rectangle x1="-6.604" y1="-0.254" x2="-6.096" y2="0.254" layer="51"/>
<rectangle x1="-9.144" y1="-0.254" x2="-8.636" y2="0.254" layer="51"/>
<rectangle x1="8.636" y1="-0.254" x2="9.144" y2="0.254" layer="51"/>
</package>
<package name="0204/7">
<description>RESISTOR

type 0204, grid 7.5 mm</description>
<wire x1="3.81" y1="0" x2="2.921" y2="0" width="0.508" layer="51"/>
<wire x1="-3.81" y1="0" x2="-2.921" y2="0" width="0.508" layer="51"/>
<wire x1="-2.54" y1="0.762" x2="-2.286" y2="1.016" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.54" y1="-0.762" x2="-2.286" y2="-1.016" width="0.1524" layer="21" curve="90"/>
<wire x1="2.286" y1="-1.016" x2="2.54" y2="-0.762" width="0.1524" layer="21" curve="90"/>
<wire x1="2.286" y1="1.016" x2="2.54" y2="0.762" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.54" y1="-0.762" x2="-2.54" y2="0.762" width="0.1524" layer="21"/>
<wire x1="-2.286" y1="1.016" x2="-1.905" y2="1.016" width="0.1524" layer="21"/>
<wire x1="-1.778" y1="0.889" x2="-1.905" y2="1.016" width="0.1524" layer="21"/>
<wire x1="-2.286" y1="-1.016" x2="-1.905" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="-1.778" y1="-0.889" x2="-1.905" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="1.778" y1="0.889" x2="1.905" y2="1.016" width="0.1524" layer="21"/>
<wire x1="1.778" y1="0.889" x2="-1.778" y2="0.889" width="0.1524" layer="21"/>
<wire x1="1.778" y1="-0.889" x2="1.905" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="1.778" y1="-0.889" x2="-1.778" y2="-0.889" width="0.1524" layer="21"/>
<wire x1="2.286" y1="1.016" x2="1.905" y2="1.016" width="0.1524" layer="21"/>
<wire x1="2.286" y1="-1.016" x2="1.905" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="2.54" y1="-0.762" x2="2.54" y2="0.762" width="0.1524" layer="21"/>
<pad name="1" x="-3.81" y="0" drill="0.8128" diameter="1.6764" shape="octagon"/>
<pad name="2" x="3.81" y="0" drill="0.8128" diameter="1.6764" shape="octagon"/>
<text x="-2.54" y="1.2954" size="0.9906" layer="25" ratio="12">>NAME</text>
<text x="-1.6256" y="-0.4826" size="0.9906" layer="27" ratio="12">>VALUE</text>
<rectangle x1="2.54" y1="-0.254" x2="2.921" y2="0.254" layer="21"/>
<rectangle x1="-2.921" y1="-0.254" x2="-2.54" y2="0.254" layer="21"/>
</package>
<package name="TC33X">
<wire x1="-1.45" y1="1.75" x2="-1.45" y2="-1.65" width="0.254" layer="51"/>
<wire x1="-1.45" y1="-1.65" x2="1.45" y2="-1.65" width="0.254" layer="51"/>
<wire x1="1.45" y1="-1.65" x2="1.45" y2="1.75" width="0.254" layer="51"/>
<wire x1="1.45" y1="1.75" x2="-1.45" y2="1.75" width="0.254" layer="51"/>
<wire x1="-1.45" y1="-0.4" x2="-1.45" y2="1.75" width="0.254" layer="21"/>
<wire x1="-1.45" y1="1.75" x2="-0.85" y2="1.75" width="0.254" layer="21"/>
<wire x1="1.45" y1="-0.4" x2="1.45" y2="1.75" width="0.254" layer="21"/>
<wire x1="1.45" y1="1.75" x2="0.85" y2="1.75" width="0.254" layer="21"/>
<circle x="0" y="0" radius="1.15" width="0.1016" layer="51"/>
<smd name="2" x="0" y="1.5" dx="1.5" dy="1.6" layer="1"/>
<smd name="1" x="-1" y="-1.825" dx="1.2" dy="1.2" layer="1"/>
<smd name="3" x="1" y="-1.825" dx="1.2" dy="1.2" layer="1"/>
<text x="-1.905" y="-1.905" size="1.27" layer="25" rot="R90">>NAME</text>
<text x="3.175" y="-1.905" size="1.27" layer="27" rot="R90">>VALUE</text>
<rectangle x1="-1.15" y1="-0.15" x2="1.15" y2="0.15" layer="51"/>
<rectangle x1="-0.15" y1="-1.15" x2="0.15" y2="1.15" layer="51"/>
</package>
</packages>
</library>
<library name="Teensy3.0 2">
<packages>
<package name="TEENSY_3.0_BASIC-PGM">
<pad name="GND" x="-7.62" y="16.51" drill="0.9652"/>
<pad name="0" x="-7.62" y="13.97" drill="0.9652"/>
<pad name="1" x="-7.62" y="11.43" drill="0.9652"/>
<pad name="2" x="-7.62" y="8.89" drill="0.9652"/>
<pad name="3" x="-7.62" y="6.35" drill="0.9652"/>
<pad name="4" x="-7.62" y="3.81" drill="0.9652"/>
<pad name="5" x="-7.62" y="1.27" drill="0.9652"/>
<pad name="6" x="-7.62" y="-1.27" drill="0.9652"/>
<pad name="7" x="-7.62" y="-3.81" drill="0.9652"/>
<pad name="8" x="-7.62" y="-6.35" drill="0.9652"/>
<pad name="9" x="-7.62" y="-8.89" drill="0.9652"/>
<pad name="10" x="-7.62" y="-11.43" drill="0.9652"/>
<pad name="11" x="-7.62" y="-13.97" drill="0.9652"/>
<pad name="12" x="-7.62" y="-16.51" drill="0.9652"/>
<pad name="VBAT" x="-5.08" y="-16.51" drill="0.9652"/>
<pad name="3.3V1" x="-2.54" y="-16.51" drill="0.9652"/>
<pad name="GND1" x="0" y="-16.51" drill="0.9652"/>
<pad name="13" x="7.62" y="-16.51" drill="0.9652"/>
<pad name="14/A0" x="7.62" y="-13.97" drill="0.9652"/>
<pad name="15/A1" x="7.62" y="-11.43" drill="0.9652"/>
<pad name="16/A2" x="7.62" y="-8.89" drill="0.9652"/>
<pad name="17/A3" x="7.62" y="-6.35" drill="0.9652"/>
<pad name="18/A4" x="7.62" y="-3.81" drill="0.9652"/>
<pad name="19/A5" x="7.62" y="-1.27" drill="0.9652"/>
<pad name="20/A6" x="7.62" y="1.27" drill="0.9652"/>
<pad name="21/A7" x="7.62" y="3.81" drill="0.9652"/>
<pad name="22/A8" x="7.62" y="6.35" drill="0.9652"/>
<pad name="23/A9" x="7.62" y="8.89" drill="0.9652"/>
<pad name="3.3V" x="7.62" y="11.43" drill="0.9652"/>
<pad name="AGND" x="7.62" y="13.97" drill="0.9652"/>
<pad name="VIN" x="7.62" y="16.51" drill="0.9652"/>
<wire x1="-8.89" y1="17.78" x2="8.89" y2="17.78" width="0.127" layer="51"/>
<wire x1="8.89" y1="17.78" x2="8.89" y2="-17.78" width="0.127" layer="51"/>
<wire x1="8.89" y1="-17.78" x2="-8.89" y2="-17.78" width="0.127" layer="51"/>
<wire x1="-8.89" y1="-17.78" x2="-8.89" y2="17.78" width="0.127" layer="51"/>
<wire x1="-1.27" y1="16.51" x2="1.27" y2="16.51" width="0.2032" layer="21"/>
<wire x1="1.27" y1="16.51" x2="1.27" y2="17.78" width="0.2032" layer="21"/>
<wire x1="1.27" y1="17.78" x2="8.89" y2="17.78" width="0.2032" layer="21"/>
<wire x1="8.89" y1="17.78" x2="8.89" y2="-17.78" width="0.2032" layer="21"/>
<wire x1="8.89" y1="-17.78" x2="-8.89" y2="-17.78" width="0.2032" layer="21"/>
<wire x1="-8.89" y1="-17.78" x2="-8.89" y2="17.78" width="0.2032" layer="21"/>
<wire x1="-8.89" y1="17.78" x2="-1.27" y2="17.78" width="0.2032" layer="21"/>
<wire x1="-1.27" y1="17.78" x2="-1.27" y2="16.51" width="0.2032" layer="21"/>
<text x="-2.54" y="13.97" size="1.27" layer="25" font="vector">>NAME</text>
<text x="-3.81" y="-13.97" size="1.27" layer="27" font="vector">>VALUE</text>
<pad name="RESET" x="5.08" y="-16.51" drill="0.9652"/>
</package>
</packages>
</library>
<library name="nh-ic">
<description>Integrated circuits

Some packages copied from ref-packages.lbr.

<author>Created by Nils Hintze &lt;n.hintze@elektronikpage.net&gt;</author></description>
<packages>
<package name="DIL14">
<description>Dual In Line Package</description>
<wire x1="8.89" y1="2.921" x2="-8.89" y2="2.921" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="-2.921" x2="8.89" y2="-2.921" width="0.1524" layer="21"/>
<wire x1="8.89" y1="2.921" x2="8.89" y2="-2.921" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="2.921" x2="-8.89" y2="1.016" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="-2.921" x2="-8.89" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="-8.89" y1="1.016" x2="-8.89" y2="-1.016" width="0.1524" layer="21" curve="-180"/>
<pad name="1" x="-7.62" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="2" x="-5.08" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="7" x="7.62" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="8" x="7.62" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="3" x="-2.54" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="4" x="0" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="6" x="5.08" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="5" x="2.54" y="-3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="9" x="5.08" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="10" x="2.54" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="11" x="0" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="12" x="-2.54" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="13" x="-5.08" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<pad name="14" x="-7.62" y="3.81" drill="0.8128" shape="long" rot="R90"/>
<text x="-9.271" y="-3.048" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text>
<text x="-6.731" y="-0.635" size="1.27" layer="27" ratio="10">>VALUE</text>
</package>
</packages>
</library>
<library name="maxim">
<packages>
<package name="SOT23">
<description>SMALL OUTLINE TRANSISTOR

reflow soldering</description>
<wire x1="-1.973" y1="1.983" x2="1.973" y2="1.983" width="0.0508" layer="39"/>
<wire x1="1.973" y1="-1.983" x2="-1.973" y2="-1.983" width="0.0508" layer="39"/>
<wire x1="-1.973" y1="-1.983" x2="-1.973" y2="1.983" width="0.0508" layer="39"/>
<wire x1="1.973" y1="1.983" x2="1.973" y2="-1.983" width="0.0508" layer="39"/>
<wire x1="1.422" y1="0.66" x2="1.422" y2="-0.66" width="0.1524" layer="51"/>
<wire x1="1.422" y1="-0.66" x2="-1.422" y2="-0.66" width="0.1524" layer="51"/>
<wire x1="-1.422" y1="-0.66" x2="-1.422" y2="0.66" width="0.1524" layer="51"/>
<wire x1="-1.422" y1="0.66" x2="1.422" y2="0.66" width="0.1524" layer="51"/>
<smd name="3" x="0" y="1.1" dx="1" dy="1.4" layer="1"/>
<smd name="2" x="0.95" y="-1.1" dx="1" dy="1.4" layer="1"/>
<smd name="1" x="-0.95" y="-1.1" dx="1" dy="1.4" layer="1"/>
<text x="-1.905" y="1.905" size="1.27" layer="25">>NAME</text>
<text x="-1.905" y="-3.175" size="1.27" layer="27">>VALUE</text>
<rectangle x1="-0.2286" y1="0.7112" x2="0.2286" y2="1.2954" layer="51"/>
<rectangle x1="0.7112" y1="-1.2954" x2="1.1684" y2="-0.7112" layer="51"/>
<rectangle x1="-1.1684" y1="-1.2954" x2="-0.7112" y2="-0.7112" layer="51"/>
<rectangle x1="-0.5001" y1="-0.3" x2="0.5001" y2="0.3" layer="35"/>
</package>
</packages>
</library>
<library name="con-lstb">
<description>Pin Headers

Naming:

MA = male

# contacts - # rows

W = angled

<author>Created by librarian@cadsoft.de</author></description>
<packages>
<package name="MA03-2">
<description>PIN HEADER</description>
<wire x1="-3.175" y1="2.54" x2="-1.905" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="2.54" x2="-1.27" y2="1.905" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="1.905" x2="-0.635" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="2.54" x2="0.635" y2="2.54" width="0.1524" layer="21"/>
<wire x1="0.635" y1="2.54" x2="1.27" y2="1.905" width="0.1524" layer="21"/>
<wire x1="-3.175" y1="2.54" x2="-3.81" y2="1.905" width="0.1524" layer="21"/>
<wire x1="1.27" y1="1.905" x2="1.905" y2="2.54" width="0.1524" layer="21"/>
<wire x1="1.905" y1="2.54" x2="3.175" y2="2.54" width="0.1524" layer="21"/>
<wire x1="3.175" y1="2.54" x2="3.81" y2="1.905" width="0.1524" layer="21"/>
<wire x1="3.81" y1="1.905" x2="3.81" y2="-1.905" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-1.905" x2="-1.905" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="1.27" y1="-1.905" x2="0.635" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="0.635" y1="-2.54" x2="-0.635" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="-2.54" x2="-1.27" y2="-1.905" width="0.1524" layer="21"/>
<wire x1="-3.81" y1="1.905" x2="-3.81" y2="-1.905" width="0.1524" layer="21"/>
<wire x1="-3.81" y1="-1.905" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="-2.54" x2="-3.175" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="3.81" y1="-1.905" x2="3.175" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="3.175" y1="-2.54" x2="1.905" y2="-2.54" width="0.1524" layer="21"/>
<wire x1="1.905" y1="-2.54" x2="1.27" y2="-1.905" width="0.1524" layer="21"/>
<pad name="1" x="-2.54" y="-1.27" drill="1.016"/>
<pad name="3" x="0" y="-1.27" drill="1.016" shape="octagon"/>
<pad name="5" x="2.54" y="-1.27" drill="1.016" shape="octagon"/>
<pad name="2" x="-2.54" y="1.27" drill="1.016" shape="octagon"/>
<pad name="4" x="0" y="1.27" drill="1.016" shape="octagon"/>
<pad name="6" x="2.54" y="1.27" drill="1.016" shape="octagon"/>
<text x="-3.175" y="-4.191" size="1.27" layer="21" ratio="10">1</text>
<text x="-3.81" y="2.921" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="4.064" y="0.635" size="1.27" layer="21" ratio="10">6</text>
<text x="-1.27" y="-4.191" size="1.27" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-0.254" y1="-1.524" x2="0.254" y2="-1.016" layer="51"/>
<rectangle x1="-2.794" y1="-1.524" x2="-2.286" y2="-1.016" layer="51"/>
<rectangle x1="2.286" y1="-1.524" x2="2.794" y2="-1.016" layer="51"/>
<rectangle x1="-2.794" y1="1.016" x2="-2.286" y2="1.524" layer="51"/>
<rectangle x1="-0.254" y1="1.016" x2="0.254" y2="1.524" layer="51"/>
<rectangle x1="2.286" y1="1.016" x2="2.794" y2="1.524" layer="51"/>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
</classes>
<designrules name="default">
<description language="de">EAGLE Design Rules

Die Standard-Design-Rules sind so gewählt, dass sie für
die meisten Anwendungen passen. Sollte ihre Platine
besondere Anforderungen haben, treffen Sie die erforderlichen
Einstellungen hier und speichern die Design Rules unter
einem neuen Namen ab.</description>
<description language="en">EAGLE Design Rules

The default Design Rules have been set to cover
a wide range of applications. Your particular design
may have different requirements, so please make the
necessary adjustments and save your customized
design rules under a new name.</description>
<param name="layerSetup" value="(1*16)"/>
<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/>
<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/>
<param name="mdWireWire" value="8mil"/>
<param name="mdWirePad" value="8mil"/>
<param name="mdWireVia" value="8mil"/>
<param name="mdPadPad" value="8mil"/>
<param name="mdPadVia" value="8mil"/>
<param name="mdViaVia" value="8mil"/>
<param name="mdSmdPad" value="8mil"/>
<param name="mdSmdVia" value="8mil"/>
<param name="mdSmdSmd" value="8mil"/>
<param name="mdViaViaSameLayer" value="8mil"/>
<param name="mnLayersViaInSmd" value="2"/>
<param name="mdCopperDimension" value="40mil"/>
<param name="mdDrill" value="8mil"/>
<param name="mdSmdStop" value="0mil"/>
<param name="msWidth" value="10mil"/>
<param name="msDrill" value="24mil"/>
<param name="msMicroVia" value="9.99mm"/>
<param name="msBlindViaRatio" value="0.5"/>
<param name="rvPadTop" value="0.25"/>
<param name="rvPadInner" value="0.25"/>
<param name="rvPadBottom" value="0.25"/>
<param name="rvViaOuter" value="0.25"/>
<param name="rvViaInner" value="0.25"/>
<param name="rvMicroViaOuter" value="0.25"/>
<param name="rvMicroViaInner" value="0.25"/>
<param name="rlMinPadTop" value="10mil"/>
<param name="rlMaxPadTop" value="20mil"/>
<param name="rlMinPadInner" value="10mil"/>
<param name="rlMaxPadInner" value="20mil"/>
<param name="rlMinPadBottom" value="10mil"/>
<param name="rlMaxPadBottom" value="20mil"/>
<param name="rlMinViaOuter" value="8mil"/>
<param name="rlMaxViaOuter" value="20mil"/>
<param name="rlMinViaInner" value="8mil"/>
<param name="rlMaxViaInner" value="20mil"/>
<param name="rlMinMicroViaOuter" value="4mil"/>
<param name="rlMaxMicroViaOuter" value="20mil"/>
<param name="rlMinMicroViaInner" value="4mil"/>
<param name="rlMaxMicroViaInner" value="20mil"/>
<param name="psTop" value="-1"/>
<param name="psBottom" value="-1"/>
<param name="psFirst" value="-1"/>
<param name="psElongationLong" value="100"/>
<param name="psElongationOffset" value="100"/>
<param name="mvStopFrame" value="1"/>
<param name="mvCreamFrame" value="0"/>
<param name="mlMinStopFrame" value="4mil"/>
<param name="mlMaxStopFrame" value="4mil"/>
<param name="mlMinCreamFrame" value="0mil"/>
<param name="mlMaxCreamFrame" value="0mil"/>
<param name="mlViaStopLimit" value="0mil"/>
<param name="srRoundness" value="0"/>
<param name="srMinRoundness" value="0mil"/>
<param name="srMaxRoundness" value="0mil"/>
<param name="slThermalIsolate" value="10mil"/>
<param name="slThermalsForVias" value="0"/>
<param name="dpMaxLengthDifference" value="10mm"/>
<param name="dpGapFactor" value="2.5"/>
<param name="checkAngle" value="0"/>
<param name="checkFont" value="1"/>
<param name="checkRestrict" value="1"/>
<param name="checkStop" value="0"/>
<param name="checkValues" value="0"/>
<param name="checkNames" value="1"/>
<param name="checkWireStubs" value="1"/>
<param name="checkPolygonWidth" value="0"/>
<param name="useDiameter" value="13"/>
<param name="maxErrors" value="50"/>
</designrules>
<autorouter>
<pass name="Default">
<param name="RoutingGrid" value="50mil"/>
<param name="AutoGrid" value="1"/>
<param name="Efforts" value="0"/>
<param name="TopRouterVariant" value="1"/>
<param name="tpViaShape" value="round"/>
<param name="PrefDir.1" value="|"/>
<param name="PrefDir.2" value="0"/>
<param name="PrefDir.3" value="0"/>
<param name="PrefDir.4" value="0"/>
<param name="PrefDir.5" value="0"/>
<param name="PrefDir.6" value="0"/>
<param name="PrefDir.7" value="0"/>
<param name="PrefDir.8" value="0"/>
<param name="PrefDir.9" value="0"/>
<param name="PrefDir.10" value="0"/>
<param name="PrefDir.11" value="0"/>
<param name="PrefDir.12" value="0"/>
<param name="PrefDir.13" value="0"/>
<param name="PrefDir.14" value="0"/>
<param name="PrefDir.15" value="0"/>
<param name="PrefDir.16" value="-"/>
<param name="cfVia" value="8"/>
<param name="cfNonPref" value="5"/>
<param name="cfChangeDir" value="2"/>
<param name="cfOrthStep" value="2"/>
<param name="cfDiagStep" value="3"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="1"/>
<param name="cfMalusStep" value="1"/>
<param name="cfPadImpact" value="4"/>
<param name="cfSmdImpact" value="4"/>
<param name="cfBusImpact" value="0"/>
<param name="cfHugging" value="3"/>
<param name="cfAvoid" value="4"/>
<param name="cfPolygon" value="10"/>
<param name="cfBase.1" value="0"/>
<param name="cfBase.2" value="1"/>
<param name="cfBase.3" value="1"/>
<param name="cfBase.4" value="1"/>
<param name="cfBase.5" value="1"/>
<param name="cfBase.6" value="1"/>
<param name="cfBase.7" value="1"/>
<param name="cfBase.8" value="1"/>
<param name="cfBase.9" value="1"/>
<param name="cfBase.10" value="1"/>
<param name="cfBase.11" value="1"/>
<param name="cfBase.12" value="1"/>
<param name="cfBase.13" value="1"/>
<param name="cfBase.14" value="1"/>
<param name="cfBase.15" value="1"/>
<param name="cfBase.16" value="0"/>
<param name="mnVias" value="20"/>
<param name="mnSegments" value="9999"/>
<param name="mnExtdSteps" value="9999"/>
<param name="mnRipupLevel" value="10"/>
<param name="mnRipupSteps" value="100"/>
<param name="mnRipupTotal" value="100"/>
</pass>
<pass name="Follow-me" refer="Default" active="yes">
</pass>
<pass name="Busses" refer="Default" active="yes">
<param name="cfNonPref" value="4"/>
<param name="cfBusImpact" value="4"/>
<param name="cfHugging" value="0"/>
<param name="mnVias" value="0"/>
</pass>
<pass name="Route" refer="Default" active="yes">
</pass>
<pass name="Optimize1" refer="Default" active="yes">
<param name="cfVia" value="99"/>
<param name="cfExtdStep" value="10"/>
<param name="cfHugging" value="1"/>
<param name="mnExtdSteps" value="1"/>
<param name="mnRipupLevel" value="0"/>
</pass>
<pass name="Optimize2" refer="Optimize1" active="yes">
<param name="cfNonPref" value="0"/>
<param name="cfChangeDir" value="6"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="2"/>
<param name="cfMalusStep" value="2"/>
<param name="cfPadImpact" value="2"/>
<param name="cfSmdImpact" value="2"/>
<param name="cfHugging" value="0"/>
</pass>
<pass name="Optimize3" refer="Optimize2" active="yes">
<param name="cfChangeDir" value="8"/>
<param name="cfPadImpact" value="0"/>
<param name="cfSmdImpact" value="0"/>
</pass>
<pass name="Optimize4" refer="Optimize3" active="yes">
<param name="cfChangeDir" value="25"/>
</pass>
</autorouter>
<elements>
<element name="C1" library="rcl" package="E1,8-4" value="4.7uF" x="63.5" y="5.08" smashed="yes" rot="R90">
<attribute name="NAME" x="60.579" y="2.032" size="1.27" layer="25" ratio="10"/>
</element>
<element name="C2" library="rcl" package="E1,8-4" value="4.7uF" x="63.5" y="17.78" smashed="yes" rot="R90">
<attribute name="NAME" x="64.008" y="19.939" size="1.27" layer="25" ratio="10" rot="R90"/>
</element>
<element name="C3" library="rcl" package="E1,8-4" value="4.7uF" x="63.5" y="11.43" smashed="yes" rot="R90">
<attribute name="NAME" x="62.738" y="7.239" size="1.27" layer="25" ratio="10" rot="R90"/>
</element>
<element name="C6" library="adafruit" package="C025-024X044" value="0.1uF" x="59.69" y="17.78" smashed="yes" rot="R90">
<attribute name="NAME" x="60.198" y="20.447" size="1.27" layer="25" ratio="10" rot="R90"/>
</element>
<element name="C7" library="adafruit" package="C025-024X044" value="0.1uF" x="10.16" y="17.78" smashed="yes" rot="R90">
<attribute name="NAME" x="8.763" y="16.002" size="1.27" layer="25" ratio="10" rot="R90"/>
</element>
<element name="C9" library="adafruit" package="C025-024X044" value="0.1uF" x="59.69" y="12.7" smashed="yes" rot="R90">
<attribute name="NAME" x="60.198" y="7.747" size="1.27" layer="25" ratio="10" rot="R90"/>
</element>
<element name="C10" library="adafruit" package="C025-024X044" value="0.1uF" x="10.16" y="12.7" smashed="yes" rot="R90">
<attribute name="NAME" x="8.763" y="10.922" size="1.27" layer="25" ratio="10" rot="R90"/>
</element>
<element name="C11" library="adafruit" package="C025-024X044" value="0.1uF" x="11.43" y="36.83" smashed="yes" rot="R270">
<attribute name="NAME" x="10.922" y="34.163" size="1.27" layer="25" ratio="10" rot="R270"/>
</element>
<element name="C13" library="adafruit" package="C025-024X044" value="0.1uF" x="73.66" y="5.08" smashed="yes" rot="R90">
<attribute name="NAME" x="72.263" y="3.302" size="1.27" layer="25" ratio="10" rot="R90"/>
</element>
<element name="U$1" library="Teensy3.0 2" package="TEENSY_3.0_BASIC-PGM" value="TEENSY_3.0_BASIC-PGM" x="86.36" y="20.32" smashed="yes" rot="R180"/>
<element name="IC3" library="adafruit" package="DIL14" value="QUAD_OPAMPP" x="45.72" y="15.24" smashed="yes" rot="R180">
<attribute name="NAME" x="34.671" y="18.288" size="1.27" layer="25" ratio="10" rot="R270"/>
</element>
<element name="IC10" library="nh-ic" package="DIL14" value="MCP4922-E/P" x="22.86" y="36.83" smashed="yes" rot="R180">
<attribute name="NAME" x="32.131" y="39.878" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="29.591" y="37.465" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="IC9" library="adafruit" package="DIL14" value="QUAD_OPAMPP" x="21.59" y="15.24" smashed="yes" rot="R180">
<attribute name="NAME" x="30.861" y="18.288" size="1.27" layer="25" ratio="10" rot="R270"/>
</element>
<element name="R11" library="adafruit" package="0204V" value="10k" x="27.94" y="24.13" smashed="yes"/>
<element name="R13" library="adafruit" package="0204V" value="10k" x="27.94" y="6.35" smashed="yes">
<attribute name="NAME" x="21.9964" y="4.9784" size="1.27" layer="25" ratio="12"/>
</element>
<element name="R14" library="adafruit" package="0204V" value="10k" x="27.94" y="3.81" smashed="yes" rot="R180">
<attribute name="NAME" x="24.9936" y="3.9116" size="1.27" layer="25" ratio="12" rot="R180"/>
</element>
<element name="R15" library="adafruit" package="0204V" value="10k" x="27.94" y="26.67" smashed="yes" rot="R180">
<attribute name="NAME" x="24.9936" y="26.7716" size="1.27" layer="25" ratio="12" rot="R180"/>
</element>
<element name="R18" library="adafruit" package="0204V" value="75r" x="6.35" y="20.32" smashed="yes" rot="R270">
<attribute name="NAME" x="4.9784" y="17.3736" size="1.27" layer="25" ratio="12" rot="R270"/>
</element>
<element name="R19" library="adafruit" package="0204V" value="75r" x="11.43" y="7.62" smashed="yes" rot="R270">
<attribute name="NAME" x="8.7884" y="9.1186" size="1.27" layer="25" ratio="12" rot="R270"/>
</element>
<element name="IC5" library="maxim" package="SOT23" value="MAX6105" x="46.99" y="25.4" smashed="yes">
<attribute name="VALUE" x="48.26" y="26.67" size="1.27" layer="27"/>
</element>
<element name="C16" library="adafruit" package="C025-024X044" value="1.0uF" x="49.53" y="21.59" smashed="yes">
<attribute name="NAME" x="52.832" y="21.082" size="1.27" layer="25" ratio="10"/>
</element>
<element name="C17" library="adafruit" package="C025-024X044" value="1.0uF" x="52.07" y="26.035" smashed="yes" rot="R180">
<attribute name="NAME" x="57.658" y="25.908" size="1.27" layer="25" ratio="10" rot="R180"/>
</element>
<element name="VECTREX" library="adafruit" package="1X06" value="" x="12.7" y="2.54" smashed="yes">
<attribute name="VALUE" x="5.08" y="-0.635" size="1.27" layer="27"/>
</element>
<element name="IC2.5" library="maxim" package="SOT23" value="MAX6102" x="40.64" y="25.4" smashed="yes" rot="R180">
<attribute name="VALUE" x="38.735" y="26.035" size="1.27" layer="27" rot="R180"/>
</element>
<element name="C14" library="adafruit" package="C025-024X044" value="1.0uF" x="41.91" y="21.59" smashed="yes" rot="R180">
<attribute name="NAME" x="44.958" y="24.638" size="1.27" layer="25" ratio="10" rot="R180"/>
</element>
<element name="C15" library="adafruit" package="C025-024X044" value="1.0uF" x="36.83" y="21.59" smashed="yes">
<attribute name="NAME" x="35.052" y="22.987" size="1.27" layer="25" ratio="10"/>
</element>
<element name="JP4" library="adafruit" package="1X03" value="" x="48.26" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="51.435" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="JP5" library="adafruit" package="1X03" value="" x="50.8" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="53.975" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="JP6" library="adafruit" package="1X03" value="" x="53.34" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="56.515" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="JP7" library="adafruit" package="1X03" value="" x="55.88" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="59.055" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="LED1" library="adafruit" package="LED5MM" value="" x="80.01" y="41.91" smashed="yes" rot="R180">
<attribute name="VALUE" x="76.8096" y="43.7134" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="LED2" library="adafruit" package="LED5MM" value="" x="86.36" y="41.91" smashed="yes" rot="R180">
<attribute name="VALUE" x="83.1596" y="43.7134" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="LED3" library="adafruit" package="LED5MM" value="" x="92.71" y="41.91" smashed="yes" rot="R180">
<attribute name="VALUE" x="89.5096" y="43.7134" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="R3" library="adafruit" package="0204V" value="400R" x="85.09" y="11.43" smashed="yes" rot="R180">
<attribute name="NAME" x="89.7636" y="12.1666" size="1.27" layer="25" ratio="12" rot="R180"/>
</element>
<element name="R4" library="adafruit" package="0204V" value="400R" x="85.09" y="8.89" smashed="yes" rot="R180">
<attribute name="NAME" x="89.7636" y="9.6266" size="1.27" layer="25" ratio="12" rot="R180"/>
</element>
<element name="R5" library="adafruit" package="0204V" value="400R" x="85.09" y="6.35" smashed="yes" rot="R180">
<attribute name="NAME" x="89.7636" y="7.0866" size="1.27" layer="25" ratio="12" rot="R180"/>
</element>
<element name="JP1" library="adafruit" package="1X08-CLEANBIG" value="" x="81.28" y="25.4" smashed="yes" rot="R90">
<attribute name="NAME" x="79.4512" y="15.1638" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="84.455" y="15.24" size="1.27" layer="27" rot="R90"/>
</element>
<element name="IC2" library="nh-ic" package="DIL14" value="MCP4922-E/P" x="63.5" y="36.83" smashed="yes" rot="R180">
<attribute name="NAME" x="72.771" y="39.878" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="70.231" y="37.465" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="R1" library="adafruit" package="0204V" value="10k" x="21.59" y="27.94" smashed="yes">
<attribute name="NAME" x="16.9164" y="27.2034" size="1.27" layer="25" ratio="12"/>
</element>
<element name="R2" library="adafruit" package="0204V" value="10k" x="19.05" y="30.48" smashed="yes">
<attribute name="NAME" x="14.3764" y="29.7434" size="1.27" layer="25" ratio="12"/>
</element>
<element name="R6" library="adafruit" package="0204V" value="10k" x="33.02" y="29.21" smashed="yes" rot="R270">
<attribute name="NAME" x="31.9786" y="28.6766" size="1.27" layer="25" ratio="12" rot="R180"/>
</element>
<element name="R7" library="adafruit" package="0204V" value="10k" x="29.21" y="30.48" smashed="yes">
<attribute name="NAME" x="24.5364" y="29.7434" size="1.27" layer="25" ratio="12"/>
</element>
<element name="R10" library="adafruit" package="0204V" value="10k" x="15.24" y="21.59" smashed="yes">
<attribute name="NAME" x="9.9314" y="20.8534" size="1.27" layer="25" ratio="12"/>
</element>
<element name="R12" library="adafruit" package="0204V" value="10k" x="15.24" y="8.89" smashed="yes">
<attribute name="NAME" x="17.5514" y="8.1534" size="1.27" layer="25" ratio="12"/>
</element>
<element name="JP2" library="adafruit" package="1X03" value="" x="43.18" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="46.355" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="JP3" library="adafruit" package="1X03" value="" x="40.64" y="6.35" smashed="yes" rot="R270">
<attribute name="VALUE" x="37.465" y="10.16" size="1.27" layer="27" rot="R270"/>
</element>
<element name="JP8" library="adafruit" package="1X03" value="" x="38.1" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="41.275" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="JP9" library="adafruit" package="1X03" value="" x="35.56" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="38.735" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="SV1" library="con-lstb" package="MA03-2" value="" x="38.1" y="30.48" smashed="yes">
<attribute name="MF" value="" x="38.1" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="MPN" value="" x="38.1" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="NAME" x="34.29" y="33.401" size="1.27" layer="25" ratio="10"/>
<attribute name="OC_FARNELL" value="unknown" x="38.1" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="OC_NEWARK" value="unknown" x="38.1" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="VALUE" x="36.83" y="26.289" size="1.27" layer="27" ratio="10"/>
</element>
<element name="SV2" library="con-lstb" package="MA03-2" value="" x="45.72" y="30.48" smashed="yes">
<attribute name="MF" value="" x="45.72" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="MPN" value="" x="45.72" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="NAME" x="41.91" y="33.401" size="1.27" layer="25" ratio="10"/>
<attribute name="OC_FARNELL" value="unknown" x="45.72" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="OC_NEWARK" value="unknown" x="45.72" y="30.48" size="1.778" layer="27" display="off"/>
<attribute name="VALUE" x="44.45" y="26.289" size="1.27" layer="27" ratio="10"/>
</element>
<element name="JP10" library="adafruit" package="1X03" value="" x="45.72" y="6.35" smashed="yes" rot="R90">
<attribute name="VALUE" x="48.895" y="2.54" size="1.27" layer="27" rot="R90"/>
</element>
<element name="R16" library="adafruit" package="0204/7" value="" x="25.4" y="21.59" smashed="yes" rot="R180">
<attribute name="NAME" x="26.67" y="22.1996" size="0.9906" layer="25" ratio="12" rot="R180"/>
<attribute name="VALUE" x="27.0256" y="22.0726" size="0.9906" layer="27" ratio="12" rot="R180"/>
</element>
<element name="R17" library="adafruit" package="0204/7" value="" x="25.4" y="8.89" smashed="yes" rot="R180">
<attribute name="NAME" x="26.67" y="9.4996" size="0.9906" layer="25" ratio="12" rot="R180"/>
<attribute name="VALUE" x="27.0256" y="9.3726" size="0.9906" layer="27" ratio="12" rot="R180"/>
</element>
<element name="R20" library="adafruit" package="0204/7" value="" x="56.515" y="15.24" smashed="yes" rot="R270">
<attribute name="NAME" x="55.88" y="20.3454" size="0.9906" layer="25" ratio="12"/>
<attribute name="VALUE" x="56.0324" y="16.8656" size="0.9906" layer="27" ratio="12" rot="R270"/>
</element>
<element name="TM1" library="adafruit" package="TC33X" value="" x="15.24" y="25.4" smashed="yes" rot="R90">
<attribute name="NAME" x="12.7" y="26.035" size="1.27" layer="25" rot="R180"/>
<attribute name="VALUE" x="17.145" y="28.575" size="1.27" layer="27" rot="R180"/>
</element>
<element name="TM2" library="adafruit" package="TC33X" value="" x="15.875" y="6.35" smashed="yes" rot="R270">
<attribute name="NAME" x="18.415" y="5.715" size="1.27" layer="25"/>
<attribute name="VALUE" x="13.97" y="3.175" size="1.27" layer="27"/>
</element>
</elements>
<signals>
<signal name="AGND">
<contactref element="U$1" pad="AGND"/>
<contactref element="C2" pad="-"/>
<contactref element="C3" pad="+"/>
<contactref element="C6" pad="2"/>
<contactref element="C7" pad="2"/>
<contactref element="C9" pad="1"/>
<contactref element="C10" pad="1"/>
<contactref element="C16" pad="2"/>
<contactref element="C17" pad="2"/>
<contactref element="VECTREX" pad="4"/>
<contactref element="VECTREX" pad="6"/>
<contactref element="VECTREX" pad="2"/>
<contactref element="IC5" pad="3"/>
<contactref element="IC2.5" pad="3"/>
<contactref element="C14" pad="2"/>
<contactref element="C15" pad="2"/>
<contactref element="IC10" pad="8"/>
<contactref element="IC10" pad="12"/>
<contactref element="IC2" pad="12"/>
<contactref element="IC2" pad="8"/>
<contactref element="R2" pad="1"/>
<contactref element="R7" pad="1"/>
<contactref element="SV2" pad="2"/>
<contactref element="SV2" pad="1"/>
<polygon width="0.4064" layer="16">
<vertex x="1.27" y="36.83"/>
<vertex x="73.66" y="36.83"/>
<vertex x="73.66" y="8.89"/>
<vertex x="59.69" y="8.89"/>
<vertex x="59.69" y="0"/>
<vertex x="1.27" y="0"/>
</polygon>
<polygon width="0.4064" layer="1">
<vertex x="1.27" y="36.83"/>
<vertex x="73.66" y="36.83"/>
<vertex x="73.66" y="8.89"/>
<vertex x="59.69" y="8.89"/>
<vertex x="59.69" y="0"/>
<vertex x="1.27" y="0"/>
</polygon>
<contactref element="JP10" pad="3"/>
<contactref element="JP10" pad="1"/>
<contactref element="JP10" pad="2"/>
<contactref element="C11" pad="2"/>
<wire x1="78.74" y1="6.35" x2="77.47" y2="6.35" width="1.016" layer="1"/>
<wire x1="77.47" y1="6.35" x2="76.835" y2="6.985" width="1.016" layer="1"/>
<wire x1="76.835" y1="6.985" x2="76.835" y2="13.335" width="1.016" layer="1"/>
<wire x1="76.835" y1="13.335" x2="76.2" y2="13.97" width="1.016" layer="1"/>
<via x="3.81" y="2.54" extent="1-16" drill="0.6" shape="square"/>
<contactref element="IC9" pad="5"/>
<contactref element="IC9" pad="10"/>
<wire x1="55.88" y1="33.02" x2="66.04" y2="33.02" width="0" layer="19" extent="1-1"/>
<wire x1="50.8" y1="26.035" x2="55.88" y2="33.02" width="0" layer="19" extent="1-1"/>
<wire x1="46.99" y1="26.5" x2="50.8" y2="26.035" width="0" layer="19" extent="1-1"/>
<wire x1="50.8" y1="21.59" x2="50.8" y2="26.035" width="0" layer="19" extent="1-1"/>
<wire x1="43.18" y1="29.21" x2="46.99" y2="26.5" width="0" layer="19" extent="1-1"/>
<wire x1="43.18" y1="31.75" x2="43.18" y2="29.21" width="0" layer="19" extent="1-1"/>
<wire x1="40.64" y1="24.3" x2="43.18" y2="29.21" width="0" layer="19" extent="1-1"/>
<wire x1="40.64" y1="21.59" x2="40.64" y2="24.3" width="0" layer="19" extent="1-1"/>
<wire x1="38.1" y1="21.59" x2="40.64" y2="21.59" width="0" layer="19" extent="1-1"/>
<wire x1="59.69" y1="19.05" x2="50.8" y2="21.59" width="0" layer="19" extent="1-1"/>
<wire x1="63.5" y1="18.669" x2="59.69" y2="19.05" width="0" layer="19" extent="1-1"/>
<wire x1="59.69" y1="11.43" x2="59.69" y2="19.05" width="0" layer="19" extent="1-1"/>
<wire x1="63.5" y1="10.541" x2="59.69" y2="11.43" width="0" layer="19" extent="1-1"/>
<wire x1="76.2" y1="13.97" x2="63.5" y2="10.541" width="0" layer="19" extent="1-1"/>
<wire x1="27.94" y1="30.48" x2="38.1" y2="21.59" width="0" layer="19" extent="1-1"/>
<wire x1="25.4" y1="33.02" x2="27.94" y2="30.48" width="0" layer="19" extent="1-1"/>
<wire x1="17.78" y1="30.48" x2="25.4" y2="33.02" width="0" layer="19" extent="1-1"/>
<wire x1="15.24" y1="33.02" x2="17.78" y2="30.48" width="0" layer="19" extent="1-1"/>
<wire x1="11.43" y1="35.56" x2="15.24" y2="33.02" width="0" layer="19" extent="1-1"/>
<wire x1="19.05" y1="19.05" x2="17.78" y2="30.48" width="0" layer="19" extent="1-1"/>
<wire x1="19.05" y1="11.43" x2="19.05" y2="19.05" width="0" layer="19" extent="1-1"/>
<wire x1="10.16" y1="19.05" x2="19.05" y2="19.05" width="0" layer="19" extent="1-1"/>
<wire x1="10.16" y1="11.43" x2="10.16" y2="19.05" width="0" layer="19" extent="1-1"/>
<wire x1="19.05" y1="2.54" x2="19.05" y2="11.43" width="0" layer="19" extent="1-1"/>
<wire x1="13.97" y1="2.54" x2="19.05" y2="2.54" width="0" layer="19" extent="1-1"/>
<wire x1="8.89" y1="2.54" x2="13.97" y2="2.54" width="0" layer="19" extent="1-1"/>
<wire x1="3.81" y1="2.54" x2="8.89" y2="2.54" width="0" layer="19" extent="1-1"/>
<wire x1="45.72" y1="8.89" x2="50.8" y2="21.59" width="0" layer="19" extent="1-1"/>
<wire x1="45.72" y1="6.35" x2="45.72" y2="8.89" width="0" layer="19" extent="1-1"/>
<wire x1="45.72" y1="3.81" x2="45.72" y2="6.35" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="VBAT">
<contactref element="U$1" pad="VBAT"/>
</signal>
<signal name="+12V">
<contactref element="C2" pad="+"/>
<contactref element="C6" pad="1"/>
<contactref element="C7" pad="1"/>
<contactref element="IC3" pad="4"/>
<contactref element="IC9" pad="4"/>
<contactref element="IC5" pad="1"/>
<contactref element="IC2.5" pad="1"/>
<wire x1="10.16" y1="16.51" x2="21.59" y2

repository: chichiwoof/LaserProjector

repo_name: chichiwoof/LaserProjector

extension: brd


text:
="16.51" width="1.27" layer="16"/>
<wire x1="21.59" y1="16.51" x2="45.72" y2="16.51" width="1.27" layer="16"/>
<wire x1="45.72" y1="16.51" x2="59.69" y2="16.51" width="1.27" layer="16"/>
<wire x1="45.72" y1="19.05" x2="45.72" y2="16.51" width="1.27" layer="16"/>
<wire x1="21.59" y1="19.05" x2="21.59" y2="16.51" width="1.27" layer="16"/>
<wire x1="59.69" y1="16.51" x2="63.5" y2="16.51" width="1.27" layer="16"/>
<wire x1="63.5" y1="16.891" x2="63.5" y2="16.51" width="1.27" layer="16"/>
<wire x1="46.04" y1="24.3" x2="45.72" y2="25.25" width="1.27" layer="1"/>
<wire x1="45.72" y1="25.25" x2="45.72" y2="19.05" width="1.27" layer="1"/>
<wire x1="45.72" y1="25.25" x2="44.47" y2="26.5" width="1.27" layer="1"/>
<wire x1="44.47" y1="26.5" x2="41.59" y2="26.5" width="1.27" layer="1"/>
</signal>
<signal name="-12V">
<contactref element="C3" pad="-"/>
<contactref element="C9" pad="2"/>
<contactref element="C10" pad="2"/>
<contactref element="IC3" pad="11"/>
<contactref element="IC9" pad="11"/>
<wire x1="10.16" y1="13.97" x2="21.59" y2="13.97" width="1.27" layer="16"/>
<wire x1="21.59" y1="13.97" x2="45.72" y2="13.97" width="1.27" layer="16"/>
<wire x1="45.72" y1="13.97" x2="59.69" y2="13.97" width="1.27" layer="16"/>
<wire x1="45.72" y1="11.43" x2="45.72" y2="13.97" width="1.27" layer="16"/>
<wire x1="21.59" y1="11.43" x2="21.59" y2="13.97" width="1.27" layer="16"/>
<wire x1="59.69" y1="13.97" x2="63.5" y2="13.97" width="1.27" layer="16"/>
<wire x1="63.5" y1="13.97" x2="64.77" y2="12.7" width="1.27" layer="16"/>
<wire x1="64.77" y1="12.7" x2="66.04" y2="11.43" width="1.27" layer="16"/>
<wire x1="63.5" y1="12.319" x2="63.881" y2="12.7" width="1.27" layer="16"/>
<wire x1="63.881" y1="12.7" x2="64.77" y2="12.7" width="1.27" layer="16"/>
</signal>
<signal name="GND">
<contactref element="C1" pad="-"/>
<contactref element="U$1" pad="GND"/>
<contactref element="U$1" pad="GND1"/>
<contactref element="LED1" pad="K"/>
<contactref element="LED3" pad="K"/>
<contactref element="LED2" pad="K"/>
<contactref element="JP1" pad="1"/>
<polygon width="0.254" layer="16" spacing="0.6096">
<vertex x="1.27" y="44.45"/>
<vertex x="99.06" y="44.45"/>
<vertex x="99.06" y="-1.27"/>
<vertex x="60.96" y="-1.27"/>
<vertex x="60.96" y="7.62"/>
<vertex x="74.93" y="7.62"/>
<vertex x="74.93" y="37.465"/>
<vertex x="1.27" y="37.465"/>
</polygon>
<contactref element="C13" pad="2"/>
<polygon width="0.254" layer="1" spacing="0.6096">
<vertex x="1.27" y="44.45"/>
<vertex x="99.06" y="44.45"/>
<vertex x="99.06" y="-1.27"/>
<vertex x="60.96" y="-1.27"/>
<vertex x="60.96" y="7.62"/>
<vertex x="74.295" y="7.62"/>
<vertex x="74.295" y="37.465"/>
<vertex x="1.27" y="37.465"/>
</polygon>
<via x="11.43" y="40.64" extent="1-16" drill="0.6" shape="square"/>
<via x="43.18" y="40.64" extent="1-16" drill="0.6" shape="square"/>
<wire x1="85.09" y1="41.91" x2="91.44" y2="41.91" width="0" layer="19" extent="1-1"/>
<wire x1="86.36" y1="36.83" x2="85.09" y2="41.91" width="0" layer="19" extent="1-1"/>
<wire x1="78.74" y1="41.91" x2="85.09" y2="41.91" width="0" layer="19" extent="1-1"/>
<wire x1="81.28" y1="16.51" x2="86.36" y2="36.83" width="0" layer="19" extent="1-1"/>
<wire x1="73.66" y1="6.35" x2="81.28" y2="16.51" width="0" layer="19" extent="1-1"/>
<wire x1="63.5" y1="5.969" x2="73.66" y2="6.35" width="0" layer="19" extent="1-1"/>
<wire x1="93.98" y1="3.81" x2="81.28" y2="16.51" width="0" layer="19" extent="1-1"/>
<wire x1="43.18" y1="40.64" x2="78.74" y2="41.91" width="0" layer="19" extent="1-1"/>
<wire x1="11.43" y1="40.64" x2="43.18" y2="40.64" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="DACX">
<contactref element="IC10" pad="10"/>
<contactref element="R2" pad="2"/>
<contactref element="R1" pad="1"/>
<contactref element="SV1" pad="6"/>
<contactref element="SV1" pad="5"/>
<wire x1="20.32" y1="33.02" x2="20.32" y2="30.48" width="1.27" layer="1"/>
<wire x1="20.32" y1="30.48" x2="20.32" y2="27.94" width="1.27" layer="1"/>
<wire x1="40.64" y1="29.21" x2="40.64" y2="31.75" width="1.27" layer="1"/>
<wire x1="20.32" y1="33.02" x2="20.32" y2="35.56" width="1.27" layer="1"/>
<wire x1="20.32" y1="35.56" x2="40.64" y2="35.56" width="1.27" layer="1"/>
<wire x1="40.64" y1="35.56" x2="40.64" y2="31.75" width="1.27" layer="1"/>
</signal>
<signal name="X+">
<contactref element="R18" pad="2"/>
<contactref element="VECTREX" pad="1"/>
<wire x1="6.35" y1="2.54" x2="6.35" y2="19.05" width="1.27" layer="1"/>
</signal>
<signal name="Y+">
<contactref element="R19" pad="2"/>
<contactref element="VECTREX" pad="3"/>
<wire x1="11.43" y1="6.35" x2="11.43" y2="2.54" width="1.27" layer="1"/>
</signal>
<signal name="+5V">
<contactref element="C1" pad="+"/>
<contactref element="U$1" pad="VIN"/>
<contactref element="IC10" pad="1"/>
<contactref element="IC2" pad="1"/>
<wire x1="63.881" y1="3.81" x2="63.5" y2="4.191" width="1.27" layer="1" curve="-90"/>
<wire x1="76.835" y1="3.81" x2="78.74" y2="3.81" width="1.016" layer="16"/>
<contactref element="C13" pad="1"/>
<contactref element="C11" pad="1"/>
<wire x1="73.66" y1="3.81" x2="78.74" y2="3.81" width="1.016" layer="1"/>
<wire x1="71.12" y1="40.64" x2="71.12" y2="38.1" width="1.27" layer="16"/>
<wire x1="71.12" y1="38.1" x2="30.48" y2="38.1" width="1.27" layer="16"/>
<wire x1="30.48" y1="38.1" x2="30.48" y2="40.64" width="1.27" layer="16"/>
<wire x1="11.43" y1="38.1" x2="30.48" y2="38.1" width="1.27" layer="16"/>
<wire x1="76.835" y1="3.81" x2="75.565" y2="3.81" width="1.27" layer="16"/>
<wire x1="75.565" y1="3.81" x2="75.565" y2="35.56" width="1.27" layer="16"/>
<wire x1="75.565" y1="35.56" x2="73.025" y2="38.1" width="1.27" layer="16"/>
<wire x1="73.025" y1="38.1" x2="71.12" y2="38.1" width="1.27" layer="16"/>
<wire x1="73.66" y1="3.81" x2="63.881" y2="3.81" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="VREF5">
<contactref element="IC10" pad="13"/>
<contactref element="IC3" pad="1"/>
<contactref element="C17" pad="1"/>
<contactref element="IC3" pad="2"/>
<contactref element="IC10" pad="11"/>
<contactref element="IC2" pad="13"/>
<contactref element="IC2" pad="11"/>
<wire x1="63.5" y1="35.56" x2="53.34" y2="35.56" width="1.27" layer="16"/>
<wire x1="27.94" y1="35.56" x2="22.86" y2="35.56" width="1.27" layer="16"/>
<wire x1="22.86" y1="35.56" x2="22.86" y2="33.02" width="1.27" layer="16"/>
<wire x1="27.94" y1="33.02" x2="27.94" y2="35.56" width="1.27" layer="16"/>
<wire x1="63.5" y1="35.56" x2="68.58" y2="35.56" width="1.27" layer="16"/>
<wire x1="68.58" y1="35.56" x2="68.58" y2="33.02" width="1.27" layer="16"/>
<wire x1="63.5" y1="33.02" x2="63.5" y2="35.56" width="1.27" layer="16"/>
<wire x1="53.34" y1="19.05" x2="53.34" y2="26.035" width="1.27" layer="16"/>
<wire x1="50.8" y1="19.05" x2="53.34" y2="19.05" width="1.27" layer="16"/>
<wire x1="53.34" y1="35.56" x2="53.34" y2="26.035" width="1.27" layer="16"/>
<wire x1="27.94" y1="35.56" x2="53.34" y2="35.56" width="1.27" layer="16"/>
</signal>
<signal name="DACY">
<contactref element="IC10" pad="14"/>
<contactref element="R7" pad="2"/>
<contactref element="R6" pad="1"/>
<contactref element="SV1" pad="4"/>
<contactref element="SV1" pad="3"/>
<wire x1="30.48" y1="33.02" x2="30.48" y2="30.48" width="1.27" layer="1"/>
<wire x1="30.48" y1="30.48" x2="33.02" y2="30.48" width="1.27" layer="1"/>
<wire x1="30.48" y1="33.02" x2="31.115" y2="33.655" width="1.27" layer="1"/>
<wire x1="31.115" y1="33.655" x2="36.195" y2="33.655" width="1.27" layer="1"/>
<wire x1="36.195" y1="33.655" x2="38.1" y2="31.75" width="1.27" layer="1"/>
<wire x1="38.1" y1="31.75" x2="38.1" y2="29.21" width="1.27" layer="1"/>
</signal>
<signal name="A6">
<contactref element="U$1" pad="20/A6"/>
</signal>
<signal name="SCK">
<contactref element="IC10" pad="4"/>
<contactref element="U$1" pad="13"/>
<contactref element="IC2" pad="4"/>
<wire x1="78.74" y1="36.83" x2="72.39" y2="43.18" width="0.8128" layer="16"/>
<wire x1="72.39" y1="43.18" x2="63.5" y2="43.18" width="0.8128" layer="16"/>
<wire x1="63.5" y1="43.18" x2="22.86" y2="43.18" width="0.8128" layer="16"/>
<wire x1="22.86" y1="43.18" x2="22.86" y2="40.64" width="0.8128" layer="16"/>
<wire x1="63.5" y1="40.64" x2="63.5" y2="43.18" width="0.8128" layer="16"/>
</signal>
<signal name="DIN">
<contactref element="IC10" pad="5"/>
<contactref element="U$1" pad="11"/>
<contactref element="IC2" pad="5"/>
<wire x1="20.32" y1="40.64" x2="20.32" y2="43.18" width="0.8128" layer="1"/>
<wire x1="20.32" y1="43.18" x2="60.96" y2="43.18" width="0.8128" layer="1"/>
<wire x1="60.96" y1="40.64" x2="60.96" y2="43.18" width="0.8128" layer="1"/>
<wire x1="60.96" y1="43.18" x2="74.93" y2="43.18" width="0.8128" layer="1"/>
<wire x1="74.93" y1="43.18" x2="78.74" y2="39.37" width="0.8128" layer="1"/>
<wire x1="78.74" y1="39.37" x2="81.915" y2="39.37" width="0.8128" layer="1"/>
<wire x1="81.915" y1="39.37" x2="83.185" y2="38.1" width="0.8128" layer="1"/>
<wire x1="83.185" y1="38.1" x2="83.185" y2="34.925" width="0.8128" layer="1"/>
<wire x1="83.185" y1="34.925" x2="83.82" y2="34.29" width="0.8128" layer="1"/>
<wire x1="83.82" y1="34.29" x2="93.98" y2="34.29" width="0.8128" layer="1"/>
</signal>
<signal name="!SS1">
<contactref element="U$1" pad="6"/>
<contactref element="IC10" pad="3"/>
<wire x1="93.98" y1="21.59" x2="91.44" y2="21.59" width="0.6096" layer="1"/>
<wire x1="91.44" y1="21.59" x2="82.55" y2="30.48" width="0.6096" layer="1"/>
<wire x1="82.55" y1="30.48" x2="77.47" y2="30.48" width="0.3048" layer="1"/>
<wire x1="77.47" y1="30.48" x2="74.93" y2="33.02" width="0.6096" layer="1"/>
<wire x1="74.93" y1="33.02" x2="74.93" y2="36.195" width="0.6096" layer="1"/>
<wire x1="74.93" y1="36.195" x2="73.66" y2="37.465" width="0.6096" layer="1"/>
<wire x1="73.66" y1="37.465" x2="54.61" y2="37.465" width="0.6096" layer="1"/>
<wire x1="54.61" y1="37.465" x2="53.34" y2="38.735" width="0.6096" layer="1"/>
<wire x1="53.34" y1="38.735" x2="26.035" y2="38.735" width="0.6096" layer="1"/>
<wire x1="26.035" y1="38.735" x2="25.4" y2="39.37" width="0.6096" layer="1"/>
<wire x1="25.4" y1="39.37" x2="25.4" y2="40.64" width="0.6096" layer="1"/>
</signal>
<signal name="!SS0">
<contactref element="U$1" pad="10"/>
<contactref element="IC2" pad="3"/>
<wire x1="93.98" y1="31.75" x2="83.82" y2="31.75" width="0.6096" layer="1"/>
<wire x1="83.82" y1="31.75" x2="82.55" y2="33.02" width="0.6096" layer="1"/>
<wire x1="82.55" y1="33.02" x2="77.47" y2="33.02" width="0.3048" layer="1"/>
<wire x1="77.47" y1="33.02" x2="76.2" y2="34.29" width="0.6096" layer="1"/>
<wire x1="76.2" y1="34.29" x2="76.2" y2="36.83" width="0.6096" layer="1"/>
<wire x1="76.2" y1="36.83" x2="74.295" y2="38.735" width="0.6096" layer="1"/>
<wire x1="74.295" y1="38.735" x2="66.675" y2="38.735" width="0.6096" layer="1"/>
<wire x1="66.675" y1="38.735" x2="66.04" y2="39.37" width="0.6096" layer="1"/>
<wire x1="66.04" y1="39.37" x2="66.04" y2="40.64" width="0.6096" layer="1"/>
</signal>
<signal name="N$8">
<contactref element="R11" pad="2"/>
<contactref element="IC9" pad="1"/>
<contactref element="R16" pad="1"/>
<wire x1="29.21" y1="19.05" x2="29.21" y2="21.59" width="1.27" layer="1"/>
<wire x1="29.21" y1="21.59" x2="29.21" y2="24.13" width="1.27" layer="1"/>
</signal>
<signal name="N$10">
<contactref element="R11" pad="1"/>
<contactref element="R15" pad="2"/>
<contactref element="IC9" pad="2"/>
<wire x1="26.67" y1="19.05" x2="26.67" y2="24.13" width="1.27" layer="1"/>
<wire x1="26.67" y1="24.13" x2="26.67" y2="26.67" width="1.27" layer="1"/>
</signal>
<signal name="N$15">
<contactref element="R13" pad="2"/>
<contactref element="IC9" pad="14"/>
<contactref element="R17" pad="1"/>
<wire x1="29.21" y1="11.43" x2="29.21" y2="8.89" width="1.27" layer="1"/>
<wire x1="29.21" y1="8.89" x2="29.21" y2="6.35" width="1.27" layer="1"/>
</signal>
<signal name="N$3">
<contactref element="IC5" pad="2"/>
<contactref element="C16" pad="1"/>
<contactref element="IC3" pad="3"/>
<wire x1="47.94" y1="24.3" x2="48.26" y2="25.25" width="1.27" layer="1"/>
<wire x1="48.26" y1="25.25" x2="48.26" y2="21.59" width="1.27" layer="1"/>
<wire x1="48.26" y1="21.59" x2="48.26" y2="19.05" width="1.27" layer="1"/>
</signal>
<signal name="N$1">
<contactref element="IC3" pad="5"/>
<contactref element="IC2.5" pad="2"/>
<contactref element="C14" pad="1"/>
<wire x1="43.18" y1="19.05" x2="43.18" y2="21.59" width="1.27" layer="1"/>
<wire x1="39.69" y1="26.5" x2="38.25" y2="26.67" width="1.27" layer="1"/>
<wire x1="38.25" y1="26.67" x2="38.1" y2="26.67" width="1.27" layer="1"/>
<via x="38.1" y="26.67" extent="1-16" drill="0.6" shape="square"/>
<wire x1="43.18" y1="21.59" x2="43.18" y2="26.67" width="1.27" layer="16"/>
<wire x1="43.18" y1="26.67" x2="38.1" y2="26.67" width="1.27" layer="16"/>
</signal>
<signal name="VREF2.5">
<contactref element="IC3" pad="6"/>
<contactref element="IC3" pad="7"/>
<contactref element="C15" pad="1"/>
<contactref element="R15" pad="1"/>
<contactref element="R14" pad="1"/>
<contactref element="SV1" pad="2"/>
<contactref element="SV1" pad="1"/>
<wire x1="35.56" y1="21.59" x2="35.56" y2="19.05" width="1.27" layer="1"/>
<wire x1="35.56" y1="19.05" x2="35.56" y2="12.7" width="1.27" layer="1"/>
<wire x1="38.1" y1="19.05" x2="40.64" y2="19.05" width="1.27" layer="1"/>
<wire x1="35.56" y1="29.21" x2="35.56" y2="31.75" width="1.27" layer="1"/>
<wire x1="35.56" y1="12.7" x2="33.02" y2="10.16" width="1.27" layer="1"/>
<wire x1="33.02" y1="10.16" x2="33.02" y2="6.35" width="1.27" layer="1"/>
<wire x1="33.02" y1="6.35" x2="29.21" y2="3.81" width="1.27" layer="1"/>
<wire x1="35.56" y1="21.59" x2="30.48" y2="26.67" width="1.27" layer="16"/>
<wire x1="30.48" y1="26.67" x2="29.21" y2="26.67" width="1.27" layer="16"/>
<wire x1="35.56" y1="29.21" x2="35.56" y2="21.59" width="1.27" layer="1"/>
<wire x1="38.1" y1="19.05" x2="35.56" y2="19.05" width="1.27" layer="1"/>
</signal>
<signal name="N$4">
<contactref element="IC3" pad="13"/>
<contactref element="JP5" pad="3"/>
<contactref element="JP5" pad="2"/>
<contactref element="JP5" pad="1"/>
<wire x1="50.8" y1="11.43" x2="50.8" y2="8.89" width="1.27" layer="1"/>
<wire x1="50.8" y1="8.89" x2="50.8" y2="6.35" width="1.27" layer="1"/>
<wire x1="50.8" y1="6.35" x2="50.8" y2="3.81" width="1.27" layer="1"/>
</signal>
<signal name="YFB">
<contactref element="R13" pad="1"/>
<contactref element="R14" pad="2"/>
<contactref element="IC9" pad="13"/>
<wire x1="26.67" y1="11.43" x2="26.67" y2="6.35" width="1.27" layer="1"/>
<wire x1="26.67" y1="6.35" x2="26.67" y2="3.81" width="1.27" layer="1"/>
</signal>
<signal name="N$5">
<contactref element="IC3" pad="12"/>
<contactref element="JP4" pad="1"/>
<contactref element="JP4" pad="2"/>
<contactref element="JP4" pad="3"/>
<wire x1="48.26" y1="11.43" x2="48.26" y2="8.89" width="1.27" layer="1"/>
<wire x1="48.26" y1="8.89" x2="48.26" y2="6.35" width="1.27" layer="1"/>
<wire x1="48.26" y1="6.35" x2="48.26" y2="3.81" width="1.27" layer="1"/>
</signal>
<signal name="N$6">
<contactref element="IC3" pad="14"/>
<contactref element="JP6" pad="3"/>
<contactref element="JP6" pad="2"/>
<contactref element="JP6" pad="1"/>
<wire x1="53.34" y1="3.81" x2="53.34" y2="6.35" width="1.27" layer="1"/>
<wire x1="53.34" y1="6.35" x2="53.34" y2="8.89" width="1.27" layer="1"/>
<wire x1="53.34" y1="8.89" x2="53.34" y2="11.43" width="1.27" layer="1"/>
</signal>
<signal name="N$7">
<contactref element="LED1" pad="A"/>
<contactref element="R3" pad="1"/>
<wire x1="81.28" y1="41.91" x2="82.55" y2="40.64" width="0.4064" layer="16"/>
<wire x1="82.55" y1="40.64" x2="85.09" y2="40.64" width="0.4064" layer="16"/>
<wire x1="85.09" y1="40.64" x2="87.63" y2="38.1" width="0.4064" layer="16"/>
<wire x1="87.63" y1="38.1" x2="87.63" y2="35.56" width="0.4064" layer="16"/>
<wire x1="87.63" y1="35.56" x2="90.17" y2="33.02" width="0.4064" layer="16"/>
<wire x1="90.17" y1="33.02" x2="90.17" y2="13.97" width="0.4064" layer="16"/>
<wire x1="90.17" y1="13.97" x2="87.63" y2="11.43" width="0.4064" layer="16"/>
<wire x1="87.63" y1="11.43" x2="86.36" y2="11.43" width="0.4064" layer="16"/>
</signal>
<signal name="N$11">
<contactref element="LED2" pad="A"/>
<contactref element="R4" pad="1"/>
<wire x1="86.36" y1="8.89" x2="87.63" y2="8.89" width="0.4064" layer="16"/>
<wire x1="87.63" y1="8.89" x2="90.805" y2="12.065" width="0.4064" layer="16"/>
<wire x1="90.805" y1="12.065" x2="90.805" y2="34.29" width="0.4064" layer="16"/>
<wire x1="90.805" y1="34.29" x2="90.17" y2="34.925" width="0.4064" layer="16"/>
<wire x1="90.17" y1="34.925" x2="90.17" y2="39.37" width="0.4064" layer="16"/>
<wire x1="90.17" y1="39.37" x2="87.63" y2="41.91" width="0.4064" layer="16"/>
</signal>
<signal name="N$12">
<contactref element="LED3" pad="A"/>
<contactref element="R5" pad="1"/>
<wire x1="93.98" y1="41.91" x2="93.98" y2="40.64" width="0.4064" layer="16"/>
<wire x1="93.98" y1="40.64" x2="92.71" y2="39.37" width="0.4064" layer="16"/>
<wire x1="92.71" y1="39.37" x2="92.71" y2="34.29" width="0.4064" layer="16"/>
<wire x1="92.71" y1="34.29" x2="91.44" y2="33.02" width="0.4064" layer="16"/>
<wire x1="91.44" y1="33.02" x2="91.44" y2="10.16" width="0.4064" layer="16"/>
<wire x1="91.44" y1="10.16" x2="87.63" y2="6.35" width="0.4064" layer="16"/>
<wire x1="87.63" y1="6.35" x2="86.36" y2="6.35" width="0.4064" layer="16"/>
</signal>
<signal name="LED3">
<contactref element="R5" pad="2"/>
<contactref element="U$1" pad="23/A9"/>
<wire x1="78.74" y1="11.43" x2="83.82" y2="6.35" width="0.4064" layer="1"/>
</signal>
<signal name="LED2">
<contactref element="R4" pad="2"/>
<contactref element="U$1" pad="22/A8"/>
<wire x1="78.74" y1="13.97" x2="83.82" y2="8.89" width="0.4064" layer="1"/>
</signal>
<signal name="LED1">
<contactref element="R3" pad="2"/>
<contactref element="U$1" pad="21/A7"/>
<wire x1="78.74" y1="16.51" x2="83.82" y2="11.43" width="0.4064" layer="1"/>
</signal>
<signal name="A0">
<contactref element="U$1" pad="14/A0"/>
<contactref element="JP1" pad="8"/>
<wire x1="78.74" y1="34.29" x2="81.28" y2="34.29" width="0.4064" layer="1"/>
</signal>
<signal name="A1">
<contactref element="U$1" pad="15/A1"/>
<contactref element="JP1" pad="7"/>
<wire x1="78.74" y1="31.75" x2="81.28" y2="31.75" width="0.4064" layer="1"/>
</signal>
<signal name="A2">
<contactref element="U$1" pad="16/A2"/>
<contactref element="JP1" pad="6"/>
<wire x1="78.74" y1="29.21" x2="81.28" y2="29.21" width="0.4064" layer="1"/>
</signal>
<signal name="A3">
<contactref element="U$1" pad="17/A3"/>
<contactref element="JP1" pad="5"/>
<wire x1="78.74" y1="26.67" x2="81.28" y2="26.67" width="0.4064" layer="1"/>
</signal>
<signal name="A4">
<contactref element="U$1" pad="18/A4"/>
<contactref element="JP1" pad="4"/>
<wire x1="78.74" y1="24.13" x2="81.28" y2="24.13" width="0.4064" layer="1"/>
</signal>
<signal name="A5">
<contactref element="U$1" pad="19/A5"/>
<contactref element="JP1" pad="3"/>
<wire x1="78.74" y1="21.59" x2="81.28" y2="21.59" width="0.4064" layer="1"/>
</signal>
<signal name="+3V">
<contactref element="JP1" pad="2"/>
<contactref element="U$1" pad="3.3V"/>
<contactref element="U$1" pad="3.3V1"/>
<wire x1="78.74" y1="8.89" x2="80.01" y2="8.89" width="0.4064" layer="16"/>
<wire x1="80.01" y1="8.89" x2="81.28" y2="10.16" width="0.4064" layer="16"/>
<wire x1="81.28" y1="10.16" x2="81.28" y2="13.97" width="0.4064" layer="16"/>
<wire x1="81.28" y1="13.97" x2="82.55" y2="13.97" width="0.4064" layer="16"/>
<wire x1="82.55" y1="13.97" x2="83.82" y2="15.24" width="0.4064" layer="16"/>
<wire x1="83.82" y1="15.24" x2="83.82" y2="17.78" width="0.4064" layer="16"/>
<wire x1="83.82" y1="17.78" x2="82.55" y2="19.05" width="0.4064" layer="16"/>
<wire x1="82.55" y1="19.05" x2="81.28" y2="19.05" width="0.4064" layer="16"/>
<wire x1="82.55" y1="19.05" x2="88.9" y2="36.83" width="0" layer="19" extent="16-16"/>
</signal>
<signal name="DACZ">
<contactref element="SV2" pad="6"/>
<contactref element="SV2" pad="5"/>
<wire x1="48.26" y1="29.21" x2="48.26" y2="31.75" width="1.27" layer="1"/>
<contactref element="IC2" pad="10"/>
<wire x1="60.96" y1="33.02" x2="60.96" y2="29.21" width="1.27" layer="1"/>
<wire x1="60.96" y1="29.21" x2="58.42" y2="29.21" width="1.27" layer="1"/>
<contactref element="R20" pad="1"/>
<wire x1="58.42" y1="29.21" x2="48.26" y2="29.21" width="1.27" layer="1"/>
<wire x1="56.515" y1="19.05" x2="56.515" y2="20.955" width="1.016" layer="1"/>
<wire x1="56.515" y1="20.955" x2="58.42" y2="22.86" width="1.016" layer="1"/>
<wire x1="58.42" y1="22.86" x2="58.42" y2="29.21" width="1.016" layer="1"/>
</signal>
<signal name="N$2">
<contactref element="IC9" pad="3"/>
<contactref element="R1" pad="2"/>
<wire x1="22.86" y1="27.94" x2="24.13" y2="25.4" width="1.27" layer="1"/>
<wire x1="24.13" y1="25.4" x2="24.13" y2="19.05" width="1.27" layer="1"/>
</signal>
<signal name="N$9">
<contactref element="IC9" pad="12"/>
<contactref element="R6" pad="2"/>
<wire x1="24.13" y1="11.43" x2="24.13" y2="13.97" width="1.27" layer="1"/>
<wire x1="24.13" y1="13.97" x2="30.48" y2="13.97" width="1.27" layer="1"/>
<wire x1="30.48" y1="13.97" x2="33.02" y2="16.51" width="1.27" layer="1"/>
<wire x1="33.02" y1="16.51" x2="33.02" y2="27.94" width="1.27" layer="1"/>
</signal>
<signal name="N$13">
<contactref element="IC9" pad="7"/>
<contactref element="R18" pad="1"/>
<contactref element="R10" pad="1"/>
<wire x1="13.97" y1="19.05" x2="13.97" y2="21.59" width="1.27" layer="1"/>
<wire x1="6.35" y1="21.59" x2="13.97" y2="21.59" width="1.27" layer="1"/>
<contactref element="TM1" pad="2"/>
<wire x1="13.97" y1="21.59" x2="13.97" y2="25.17" width="1.27" layer="1"/>
<wire x1="13.97" y1="25.17" x2="13.74" y2="25.4" width="1.27" layer="1"/>
</signal>
<signal name="N$14">
<contactref element="IC9" pad="8"/>
<contactref element="R19" pad="1"/>
<contactref element="R12" pad="1"/>
<wire x1="13.97" y1="11.43" x2="13.97" y2="8.89" width="1.27" layer="1"/>
<wire x1="13.97" y1="8.89" x2="11.43" y2="8.89" width="1.27" layer="1"/>
<contactref element="TM2" pad="1"/>
<wire x1="14.05" y1="7.35" x2="14.05" y2="8.81" width="1.27" layer="1"/>
<wire x1="14.05" y1="8.81" x2="13.97" y2="8.89" width="1.27" layer="1"/>
</signal>
<signal name="N$16">
<contactref element="IC9" pad="9"/>
<contactref element="R12" pad="2"/>
<wire x1="16.51" y1="11.43" x2="16.51" y2="8.89" width="1.27" layer="1"/>
<contactref element="R17" pad="2"/>
<contactref element="TM2" pad="2"/>
<wire x1="21.59" y1="8.89" x2="16.51" y2="8.89" width="1.27" layer="1"/>
<wire x1="17.375" y1="6.35" x2="17.375" y2="8.025" width="1.27" layer="1"/>
<wire x1="17.375" y1="8.025" x2="16.51" y2="8.89" width="1.27" layer="1"/>
</signal>
<signal name="N$17">
<contactref element="R10" pad="2"/>
<contactref element="IC9" pad="6"/>
<wire x1="16.51" y1="19.05" x2="16.51" y2="21.59" width="1.27" layer="1"/>
<contactref element="R16" pad="2"/>
<contactref element="TM1" pad="1"/>
<wire x1="17.065" y1="24.4" x2="17.065" y2="22.145" width="1.27" layer="1"/>
<wire x1="17.065" y1="22.145" x2="16.51" y2="21.59" width="1.27" layer="1"/>
<wire x1="21.59" y1="21.59" x2="16.51" y2="21.59" width="1.27" layer="1"/>
</signal>
<signal name="N$18">
<contactref element="JP3" pad="3"/>
<contactref element="JP3" pad="2"/>
<contactref element="JP3" pad="1"/>
<contactref element="IC3" pad="9"/>
<wire x1="40.64" y1="11.43" x2="40.64" y2="8.89" width="1.27" layer="1"/>
<wire x1="40.64" y1="8.89" x2="40.64" y2="6.35" width="1.27" layer="1"/>
<wire x1="40.64" y1="6.35" x2="40.64" y2="3.81" width="1.27" layer="1"/>
</signal>
<signal name="N$19">
<contactref element="JP2" pad="1"/>
<contactref element="JP2" pad="2"/>
<contactref element="JP2" pad="3"/>
<contactref element="IC3" pad="10"/>
<wire x1="43.18" y1="11.43" x2="43.18" y2="8.89" width="1.27" layer="1"/>
<wire x1="43.18" y1="8.89" x2="43.18" y2="6.35" width="1.27" layer="1"/>
<wire x1="43.18" y1="6.35" x2="43.18" y2="3.81" width="1.27" layer="1"/>
</signal>
<signal name="N$20">
<contactref element="JP8" pad="3"/>
<contactref element="JP8" pad="2"/>
<contactref element="JP8" pad="1"/>
<contactref element="IC3" pad="8"/>
<wire x1="38.1" y1="11.43" x2="38.1" y2="8.89" width="1.27" layer="1"/>
<wire x1="38.1" y1="8.89" x2="38.1" y2="6.35" width="1.27" layer="1"/>
<wire x1="38.1" y1="6.35" x2="38.1" y2="3.81" width="1.27" layer="1"/>
</signal>
<signal name="DACW">
<contactref element="SV2" pad="4"/>
<contactref element="SV2" pad="3"/>
<wire x1="45.72" y1="29.21" x2="45.72" y2="31.75" width="1.27" layer="1"/>
<contactref element="IC2" pad="14"/>
<wire x1="71.12" y1="33.02" x2="71.12" y2="35.56" width="1.27" layer="1"/>
<wire x1="71.12" y1="35.56" x2="45.72" y2="35.56" width="1.27" layer="1"/>
<wire x1="45.72" y1="35.56" x2="45.72" y2="31.75" width="1.27" layer="1"/>
</signal>
<signal name="N$23">
<contactref element="VECTREX" pad="5"/>
<contactref element="R20" pad="2"/>
<wire x1="56.515" y1="11.43" x2="57.15" y2="11.43" width="0.6096" layer="1"/>
<wire x1="57.15" y1="11.43" x2="58.42" y2="10.16" width="0.6096" layer="1"/>
<wire x1="58.42" y1="10.16" x2="58.42" y2="3.81" width="0.6096" layer="1"/>
<wire x1="58.42" y1="3.81" x2="57.15" y2="2.54" width="0.6096" layer="1"/>
<wire x1="57.15" y1="2.54" x2="22.86" y2="2.54" width="0.6096" layer="1"/>
<wire x1="22.86" y1="2.54" x2="20.32" y2="4.445" width="0.8128" layer="1"/>
<wire x1="20.32" y1="4.445" x2="17.78" y2="4.445" width="0.8128" layer="1"/>
<wire x1="17.78" y1="4.445" x2="16.51" y2="3.81" width="0.8128" layer="1"/>
<wire x1="16.51" y1="3.81" x2="16.51" y2="2.54" width="0.8128" layer="1"/>
</signal>
</signals>
<mfgpreviewcolors>
<mfgpreviewcolor name="soldermaskcolor" color="0xC8008000"/>
<mfgpreviewcolor name="silkscreencolor" color="0xFFFEFEFE"/>
<mfgpreviewcolor name="backgroundcolor" color="0xFF282828"/>
<mfgpreviewcolor name="coppercolor" color="0xFFFFBF00"/>
<mfgpreviewcolor name="substratecolor" color="0xFF786E46"/>
</mfgpreviewcolors>
<errors>
<approved hash="1,20,1ce3c503c4791d99"/>
<approved hash="1,20,1281946194a71247"/>
<approved hash="1,20,5c806560659f5c7f"/>
<approved hash="1,20,62b2435240746194"/>
<approved hash="18,29,6a8f209180d60ac8"/>
<approved hash="18,29,d1b08f2a97021999"/>
<approved hash="18,29,9fd2f14a7163dffb"/>
<approved hash="18,29,9dc2b35ab373ddeb"/>
<approved hash="18,29,dfc4915c91759fed"/>
<approved hash="18,29,81f20432840c01cc"/>
<approved hash="18,29,e5396079e0476507"/>
<approved hash="18,29,b8150ecbee94584a"/>
<approved hash="18,29,a16717f9f7a64138"/>
<approved hash="18,29,3d208cad68eb2037"/>
<approved hash="18,29,8b0e04f563ca4b89"/>
<approved hash="18,29,7aceb9cab59b7b17"/>
<approved hash="18,29,66c6b9d2b59b6717"/>
<approved hash="18,29,8ccc1712f7552c8b"/>
<approved hash="18,29,beb34639137cd476"/>
<approved hash="18,29,23c41c18006d3fb6"/>
</errors>
</board>
</drawing>
<compatibility>
<note version="6.3" minversion="6.2.2" severity="warning">
Since Version 6.2.2 text objects can contain more than one line,
which will not be processed correctly with this version.
</note>
</compatibility>
</eagle>

license_type: permissive

branch_name: refs/heads/master


text:
namespace CloudCopy
{
    using System;
    using System.IO;
    using System.Net;
    using System.Xml;

    public class ConfigFileHandler : INetworkCredentialHandler
    {
        private string filename;
        private string username;
        private string password;
        private string hostname;

        public ConfigFileHandler()
        {
            this.Filename = GetDefaultConfigFilePath();

            this.LoadData();
        }

        public ConfigFileHandler(string filename)
        {
            this.Filename = filename;

            this.LoadData();
        }

        public string Filename { get => this.filename; set => this.filename = value; }

        public string Username { get => this.username; set => this.username = value; }

        public string Password { get => this.password; set => this.password = value; }

        public string Hostname { get => this.hostname; set => this.hostname = value; }

        public static string GetDefaultConfigFilePath()
        {
            string tempFilename = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);

            tempFilename = tempFilename + Path.DirectorySeparatorChar + "CloudCopy" + Path.DirectorySeparatorChar + "default.xml";

            return tempFilename;
        }

        public NetworkCredential GetCredentials()
        {
            return new NetworkCredential(this.Username, this.Password);
        }

        private void LoadData()
        {
            try
            {
                XmlDocument xmlDoc = new XmlDocument();
                xmlDoc.Load(this.Filename);

                XmlElement root = xmlDoc.DocumentElement;

                XmlNode node = root.SelectSingleNode("Hostname");
                this.Hostname = node.InnerText;

                node = root.SelectSingleNode("Username");
                this.Username = node.InnerText;

                node = root.SelectSingleNode("Password");
                this.Password = node.InnerText;
            }
            catch (Exception ex)
            {
                throw new FileProcessingError(this.Filename, ex);
            }
        }
    }
}

license: MIT

repository: AndreasFerdinand/CloudCopy

repo_name: AndreasFerdinand/CloudCopy

extension: cs


text:
require task-sdk-host.bb

DESCRIPTION = "Host packages for OpenPandora SDK"
LICENSE = "MIT"
ALLOW_EMPTY = "1"

PR = "r1"

# Include this to get the native to target Qt4 tools.
RDEPENDS_${PN} += "qt4-tools-sdk"

repository: djwillis/meta-openpandora-vendor

repo_name: djwillis/meta-openpandora-vendor

extension: bb


text:
# /GMockImport.cmake
#
# This CMake script provides a function that sets the CMAKE_MODULE_PATH
# and calls find_package with FindGMOCK. It is used as a workaround for
# a lack of find_package support on Biicode.
#
# See /LICENCE.md for Copyright information

set (_GMOCK_IMPORT_CURRENT_LIST_DIR "${CMAKE_CURRENT_LIST_DIR}")

macro (gmock_import_from_find_module)

    set (CMAKE_MODULE_PATH
         ${CMAKE_MODULE_PATH} # NOLINT:correctness/quotes
         "${_GMOCK_IMPORT_CURRENT_LIST_DIR}")

    find_package (GMOCK ${ARGN})

endmacro ()

repository: polysquare/gmock-cmake

repo_name: polysquare/gmock-cmake

gha_language: CMake

extension: cmake


text:
#pragma once

#include <Box2D/Box2D.h>
#include <core/mat4.hpp>
#include <engine/ecs.hpp>

namespace wee {
    class b2DebugDrawImpl : public b2Draw {
        SDL_Renderer* _renderer;
        mat4 _transform = mat4::identity();
    public:
        void SetCameraTransform(const mat4& tx);
        void SetRenderer(SDL_Renderer* renderer);
    public:
        void DrawParticles(const b2Vec2 *, float32 , const b2ParticleColor *, int32 );
        void DrawPolygon(const b2Vec2* vertices, int32 vertexCount, const b2Color& color);
        void DrawSolidPolygon(const b2Vec2* positions, int32 vertexCount, const b2Color& color);
        void DrawCircle(const b2Vec2& center, float32 radius, const b2Color& color);
        void DrawSolidCircle(const b2Vec2& center, float32 radius, const b2Vec2&, const b2Color& color);
        void DrawSegment(const b2Vec2& _p1, const b2Vec2& _p2, const b2Color& color);
        void DrawTransform(const b2Transform&);
    };
}

repository: emdagh/wee

repo_name: emdagh/wee

gha_license_id: MIT

extension: hpp


text:
import * as bodyParser from 'body-parser';
import * as express from 'express';
import * as exphbs from 'express-handlebars';
import * as expressWinston from 'express-winston';
import * as http from 'http';
import * as serverTiming from 'server-timing';
import * as winston from 'winston';

import { PORT } from './constants';
import { loadHandlebarsHelpers } from './load-helpers';
import { logger } from './log';
import router from './routers/main';
import TimingManager from './timing';
import { setup as setupWebsocketServer } from './ws';

async function startListening(app: express.Express): Promise<http.Server> {
  return new Promise<http.Server>((res, rej) => {
    const server = app.listen(PORT, () => {
      logger.info(`Server listening on http://localhost:${PORT}`);
      res(server);
    });
    setupWebsocketServer(server);
  });
}

async function setupTemplating(app: express.Application) {
  app.engine(
    '.hbs',
    exphbs({
      defaultLayout: 'main',
      extname: '.hbs',
      helpers: await loadHandlebarsHelpers()
    })
  );
  app.set('view engine', '.hbs');
  app.use((req, res, next) => {
    let { url, query } = req;
    res.locals.request = { url, query };
    next();
  });
}

function installMiddlewares(app: express.Application) {
  app.use(serverTiming());
  app.use((req, res, next) => {
    TimingManager.reset(res);
    next();
  });
  app.use(
    expressWinston.logger({
      // expressFormat: true,
      meta: false,
      msg: '{{req.method}}: {{res.statusCode}} ({{res.responseTime}}ms)\t{{req.url}}',
      transports: [new winston.transports.Console()],
      skip(req: express.Request, res: express.Response) {
        return /^\/static\//.test(req.path);
      }
    })
  );
}

async function setupRouting(app: express.Application) {
  app.use(router);

  app.use('/static', express.static('public'));
}

async function setupDevMiddleware(app: express.Application) {
  app.enable('x-powered-by');
}

async function setupProdMiddleware(app: express.Application) {
  app.disable('x-powered-by');
}

export async function startExpressServer(): Promise<[express.Application, http.Server]> {
  const app = express();

  // parse application/x-www-form-urlencoded
  app.use(bodyParser.urlencoded({ extended: true }));

  // parse application/json
  app.use(bodyParser.json());

  if (process.env.NODE_ENV !== 'prod') {
    await setupDevMiddleware(app);
  } else {
    await setupProdMiddleware(app);
  }

  await setupTemplating(app);
  installMiddlewares(app);

  await setupRouting(app);

  const server = await startListening(app);
  return [app, server];
}

repository: mike-works/sql-fundamentals

repo_name: mike-works/sql-fundamentals

gha_language: TypeScript

extension: ts


text:
@article{Aasi:KnownPulsars2014,
 author = {J. Aasi et al.},
 collaboration = {LIGO Scientific Collaboration and Virgo Collaboration},
 journal = {The Astrophysical Journal},
 number = {2},
 pages = {119},
 title = {Gravitational Waves from Known Pulsars: Results from the Initial Detector Era},
 url = {http://stacks.iop.org/0004-637X/785/i=2/a=119},
 volume = {785},
 year = {2014}
}

repository: mcoughlin/personal-website

repo_name: mcoughlin/personal-website

gha_language: TeX

extension: bib