text:
270"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="BC517_HTL_RM5" prefix="V">
<description>NPN DARLINGTON TRANSISTOR</description>
<gates>
<gate name="1" symbol="N-DAR" x="0" y="0"/>
</gates>
<devices>
<device name="" package="TO92_RM5">
<connects>
<connect gate="1" pin="B" pad="2"/>
<connect gate="1" pin="C" pad="3"/>
<connect gate="1" pin="E" pad="1"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="HTL_Diode">
<description>HTL Dioden</description>
<packages>
<package name="DO35-7">
<description>DIODE

diameter 2 mm, horizontal, grid 7.62 mm</description>
<wire x1="3.81" y1="0" x2="2.54" y2="0" width="0.508" layer="51"/>
<wire x1="-3.81" y1="0" x2="-2.54" y2="0" width="0.508" layer="51"/>
<wire x1="-0.635" y1="0" x2="0" y2="0" width="0.1524" layer="21"/>
<wire x1="1.016" y1="0.635" x2="1.016" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="1.016" y1="-0.635" x2="0" y2="0" width="0.1524" layer="21"/>
<wire x1="0" y1="0" x2="1.524" y2="0" width="0.1524" layer="21"/>
<wire x1="0" y1="0" x2="1.016" y2="0.635" width="0.1524" layer="21"/>
<wire x1="0" y1="0.635" x2="0" y2="0" width="0.1524" layer="21"/>
<wire x1="0" y1="0" x2="0" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="2.032" y1="1.016" x2="2.286" y2="0.762" width="0.1524" layer="21" curve="-90"/>
<wire x1="2.286" y1="0.762" x2="2.286" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="2.032" y1="-1.016" x2="2.286" y2="-0.762" width="0.1524" layer="21" curve="90"/>
<wire x1="-2.286" y1="0.762" x2="-2.032" y2="1.016" width="0.1524" layer="21" curve="-90"/>
<wire x1="-2.286" y1="-0.762" x2="-2.032" y2="-1.016" width="0.1524" layer="21" curve="90"/>
<wire x1="-2.032" y1="-1.016" x2="2.032" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="-2.286" y1="0.762" x2="-2.286" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="-2.032" y1="1.016" x2="2.032" y2="1.016" width="0.1524" layer="21"/>
<pad name="C" x="-3.81" y="0" drill="0.8" diameter="1.9304" shape="octagon"/>
<pad name="A" x="3.81" y="0" drill="0.8" diameter="1.9304" shape="octagon"/>
<text x="-2.286" y="1.27" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-2.286" y="-2.667" size="1.27" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-1.905" y1="-1.016" x2="-1.397" y2="1.016" layer="21"/>
<rectangle x1="2.286" y1="-0.254" x2="2.667" y2="0.254" layer="21"/>
<rectangle x1="-2.667" y1="-0.254" x2="-2.286" y2="0.254" layer="21"/>
</package>
</packages>
<symbols>
<symbol name="D">
<wire x1="-1.27" y1="-1.27" x2="1.27" y2="0" width="0.254" layer="94"/>
<wire x1="1.27" y1="0" x2="-1.27" y2="1.27" width="0.254" layer="94"/>
<wire x1="1.27" y1="1.27" x2="1.27" y2="0" width="0.254" layer="94"/>
<wire x1="-1.27" y1="1.27" x2="-1.27" y2="-1.27" width="0.254" layer="94"/>
<wire x1="1.27" y1="0" x2="1.27" y2="-1.27" width="0.254" layer="94"/>
<text x="2.54" y="0.4826" size="1.778" layer="95">>NAME</text>
<text x="2.54" y="-2.3114" size="1.778" layer="96">>VALUE</text>
<pin name="A" x="-2.54" y="0" visible="off" length="short" direction="pas"/>
<pin name="C" x="2.54" y="0" visible="off" length="short" direction="pas" rot="R180"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="1N4148_HTL" prefix="V">
<description>DIODE

high speed (Philips)</description>
<gates>
<gate name="G$1" symbol="D" x="0" y="0"/>
</gates>
<devices>
<device name="" package="DO35-7">
<connects>
<connect gate="G$1" pin="A" pad="A"/>
<connect gate="G$1" pin="C" pad="C"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="maxim">
<description>Maxim Components

<author>Created by librarian@cadsoft.de</author></description>
<packages>
<package name="SO14">
<description>Small Outline Package</description>
<wire x1="4.064" y1="1.9558" x2="-4.064" y2="1.9558" width="0.1524" layer="21"/>
<wire x1="4.064" y1="-1.9558" x2="4.445" y2="-1.5748" width="0.1524" layer="21" curve="90"/>
<wire x1="-4.445" y1="1.5748" x2="-4.064" y2="1.9558" width="0.1524" layer="21" curve="-90"/>
<wire x1="4.064" y1="1.9558" x2="4.445" y2="1.5748" width="0.1524" layer="21" curve="-90"/>
<wire x1="-4.445" y1="-1.5748" x2="-4.064" y2="-1.9558" width="0.1524" layer="21" curve="90"/>
<wire x1="-4.064" y1="-1.9558" x2="4.064" y2="-1.9558" width="0.1524" layer="21"/>
<wire x1="4.445" y1="-1.5748" x2="4.445" y2="1.5748" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="1.5748" x2="-4.445" y2="0.508" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="0.508" x2="-4.445" y2="-0.508" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="-0.508" x2="-4.445" y2="-1.5748" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="0.508" x2="-4.445" y2="-0.508" width="0.1524" layer="21" curve="-180"/>
<wire x1="-4.445" y1="-1.6002" x2="4.445" y2="-1.6002" width="0.0508" layer="21"/>
<smd name="1" x="-3.81" y="-3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="14" x="-3.81" y="3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="2" x="-2.54" y="-3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="3" x="-1.27" y="-3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="13" x="-2.54" y="3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="12" x="-1.27" y="3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="4" x="0" y="-3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="11" x="0" y="3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="5" x="1.27" y="-3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="6" x="2.54" y="-3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="10" x="1.27" y="3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="9" x="2.54" y="3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="7" x="3.81" y="-3.0734" dx="0.6604" dy="2.032" layer="1"/>
<smd name="8" x="3.81" y="3.0734" dx="0.6604" dy="2.032" layer="1"/>
<text x="-3.556" y="-0.635" size="1.27" layer="27" ratio="10">>VALUE</text>
<text x="-4.699" y="-2.032" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text>
<rectangle x1="-0.254" y1="1.9558" x2="0.254" y2="3.0988" layer="51"/>
<rectangle x1="-4.064" y1="-3.0988" x2="-3.556" y2="-1.9558" layer="51"/>
<rectangle x1="-2.794" y1="-3.0988" x2="-2.286" y2="-1.9558" layer="51"/>
<rectangle x1="-1.524" y1="-3.0734" x2="-1.016" y2="-1.9304" layer="51"/>
<rectangle x1="-0.254" y1="-3.0988" x2="0.254" y2="-1.9558" layer="51"/>
<rectangle x1="-1.524" y1="1.9558" x2="-1.016" y2="3.0988" layer="51"/>
<rectangle x1="-2.794" y1="1.9558" x2="-2.286" y2="3.0988" layer="51"/>
<rectangle x1="-4.064" y1="1.9558" x2="-3.556" y2="3.0988" layer="51"/>
<rectangle x1="1.016" y1="1.9558" x2="1.524" y2="3.0988" layer="51"/>
<rectangle x1="2.286" y1="1.9558" x2="2.794" y2="3.0988" layer="51"/>
<rectangle x1="3.556" y1="1.9558" x2="4.064" y2="3.0988" layer="51"/>
<rectangle x1="1.016" y1="-3.0988" x2="1.524" y2="-1.9558" layer="51"/>
<rectangle x1="2.286" y1="-3.0988" x2="2.794" y2="-1.9558" layer="51"/>
<rectangle x1="3.556" y1="-3.0988" x2="4.064" y2="-1.9558" layer="51"/>
</package>
</packages>
<symbols>
<symbol name="MAX489">
<wire x1="-10.16" y1="12.7" x2="7.62" y2="12.7" width="0.254" layer="94"/>
<wire x1="7.62" y1="12.7" x2="7.62" y2="-12.7" width="0.254" layer="94"/>
<wire x1="7.62" y1="-12.7" x2="-10.16" y2="-12.7" width="0.254" layer="94"/>
<wire x1="-10.16" y1="-12.7" x2="-10.16" y2="-7.62" width="0.254" layer="94"/>
<wire x1="-10.16" y1="-7.62" x2="-10.16" y2="-2.54" width="0.254" layer="94"/>
<wire x1="-10.16" y1="-2.54" x2="-10.16" y2="2.54" width="0.254" layer="94"/>
<wire x1="-10.16" y1="2.54" x2="-10.16" y2="7.62" width="0.254" layer="94"/>
<wire x1="-10.16" y1="7.62" x2="-10.16" y2="12.7" width="0.254" layer="94"/>
<wire x1="2.159" y1="11.43" x2="2.159" y2="10.16" width="0.127" layer="94"/>
<wire x1="2.159" y1="10.16" x2="2.159" y2="3.81" width="0.127" layer="94"/>
<wire x1="2.159" y1="3.81" x2="-4.445" y2="7.62" width="0.127" layer="94"/>
<wire x1="-4.445" y1="7.62" x2="2.159" y2="11.43" width="0.127" layer="94"/>
<wire x1="-4.445" y1="-11.43" x2="-4.445" y2="-7.62" width="0.127" layer="94"/>
<wire x1="-4.445" y1="-7.62" x2="-4.445" y2="-3.81" width="0.127" layer="94"/>
<wire x1="-4.445" y1="-3.81" x2="2.54" y2="-7.62" width="0.127" layer="94"/>
<wire x1="2.54" y1="-7.62" x2="-4.445" y2="-11.43" width="0.127" layer="94"/>
<wire x1="-3.302" y1="2.54" x2="-1.27" y2="2.54" width="0.127" layer="94"/>
<wire x1="-1.27" y1="2.54" x2="-1.27" y2="4.445" width="0.127" layer="94"/>
<wire x1="-5.08" y1="-2.54" x2="-2.54" y2="-2.54" width="0.127" layer="94"/>
<wire x1="-2.54" y1="-2.54" x2="-2.54" y2="-4.826" width="0.127" layer="94"/>
<wire x1="2.159" y1="10.16" x2="7.493" y2="10.16" width="0.127" layer="94"/>
<wire x1="7.493" y1="5.08" x2="3.556" y2="5.08" width="0.127" layer="94"/>
<wire x1="-10.16" y1="7.62" x2="-8.382" y2="7.62" width="0.127" layer="94"/>
<wire x1="-4.953" y1="7.62" x2="-4.445" y2="7.62" width="0.127" layer="94"/>
<wire x1="-10.16" y1="2.54" x2="-8.382" y2="2.54" width="0.127" layer="94"/>
<wire x1="-10.16" y1="-7.62" x2="-8.509" y2="-7.62" width="0.127" layer="94"/>
<wire x1="-5.334" y1="-7.62" x2="-4.445" y2="-7.62" width="0.127" layer="94"/>
<wire x1="-10.16" y1="-2.54" x2="-8.509" y2="-2.54" width="0.127" layer="94"/>
<wire x1="-2.032" y1="-10.16" x2="7.493" y2="-10.16" width="0.127" layer="94"/>
<wire x1="-0.127" y1="-5.08" x2="7.493" y2="-5.08" width="0.127" layer="94"/>
<circle x="-1.27" y="5.08" radius="0.635" width="0.127" layer="94"/>
<circle x="2.794" y="5.08" radius="0.635" width="0.127" layer="94"/>
<circle x="-0.889" y="-5.08" radius="0.635" width="0.127" layer="94"/>
<text x="5.08" y="8.001" size="1.778" layer="95">A</text>
<text x="5.08" y="5.461" size="1.778" layer="95">B</text>
<text x="-10.16" y="13.97" size="1.778" layer="95">>NAME</text>
<text x="-10.16" y="-15.24" size="1.778" layer="96">>VALUE</text>
<text x="5.08" y="-7.239" size="1.778" layer="95">Z</text>
<text x="5.08" y="-9.779" size="1.778" layer="95">Y</text>
<pin name="RO" x="-12.7" y="7.62" length="short" direction="out"/>
<pin name="RE/" x="-12.7" y="2.54" length="short" direction="in"/>
<pin name="DE" x="-12.7" y="-2.54" length="short" direction="in"/>
<pin name="DI" x="-12.7" y="-7.62" length="short" direction="in"/>
<pin name="A" x="10.16" y="10.16" visible="pad" length="short" direction="pas" rot="R180"/>
<pin name="B" x="10.16" y="5.08" visible="pad" length="short" direction="pas" rot="R180"/>
<pin name="Z" x="10.16" y="-5.08" visible="pad" length="short" direction="pas" rot="R180"/>
<pin name="Y" x="10.16" y="-10.16" visible="pad" length="short" direction="pas" rot="R180"/>
</symbol>
<symbol name="NC">
<text x="5.715" y="-0.635" size="1.778" layer="95">>NAME</text>
<pin name="NC" x="-2.54" y="0" length="short" direction="nc"/>
</symbol>
<symbol name="PWR2GND">
<text x="1.778" y="2.54" size="1.016" layer="95" rot="R90">VCC</text>
<text x="4.064" y="-5.08" size="1.016" layer="95" rot="R90">GND</text>
<text x="-1.27" y="-0.762" size="1.778" layer="95">>NAME</text>
<pin name="GND@1" x="0" y="-7.62" visible="pad" length="middle" direction="pwr" rot="R90"/>
<pin name="GND@2" x="2.54" y="-7.62" visible="pad" length="middle" direction="pwr" rot="R90"/>
<pin name="VCC" x="0" y="7.62" visible="pad" length="middle" direction="pwr" rot="R270"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="MAX489CSD" prefix="IC">
<description>RS485 TRANSEIVER</description>
<gates>
<gate name="G$1" symbol="MAX489" x="0" y="0"/>
<gate name="1" symbol="NC" x="30.48" y="12.7" addlevel="request"/>
<gate name="8" symbol="NC" x="30.48" y="7.62" addlevel="request"/>
<gate name="13" symbol="NC" x="30.48" y="2.54" addlevel="request"/>
<gate name="P" symbol="PWR2GND" x="27.94" y="-15.24" addlevel="request"/>
</gates>
<devices>
<device name="" package="SO14">
<connects>
<connect gate="1" pin="NC" pad="1"/>
<connect gate="13" pin="NC" pad="13"/>
<connect gate="8" pin="NC" pad="8"/>
<connect gate="G$1" pin="A" pad="12"/>
<connect gate="G$1" pin="B" pad="11"/>
<connect gate="G$1" pin="DE" pad="4"/>
<connect gate="G$1" pin="DI" pad="5"/>
<connect gate="G$1" pin="RE/" pad="3"/>
<connect gate="G$1" pin="RO" pad="2"/>
<connect gate="G$1" pin="Y" pad="9"/>
<connect gate="G$1" pin="Z" pad="10"/>
<connect gate="P" pin="GND@1" pad="6"/>
<connect gate="P" pin="GND@2" pad="7"/>
<connect gate="P" pin="VCC" pad="14"/>
</connects>
<technologies>
<technology name="">
<attribute name="MF" value="MAXIM" constant="no"/>
<attribute name="MPN" value="MAX489CSD" constant="no"/>
<attribute name="OC_FARNELL" value="9724559" constant="no"/>
<attribute name="OC_NEWARK" value="34C3923" constant="no"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="jumper">
<description>Jumpers

<author>Created by librarian@cadsoft.de</author></description>
<packages>
<package name="JP1">
<description>JUMPER</description>
<wire x1="-1.016" y1="0" x2="-1.27" y2="0.254" width="0.1524" layer="21"/>
<wire x1="-1.016" y1="0" x2="-1.27" y2="-0.254" width="0.1524" layer="21"/>
<wire x1="1.016" y1="0" x2="1.27" y2="0.254" width="0.1524" layer="21"/>
<wire x1="1.016" y1="0" x2="1.27" y2="-0.254" width="0.1524" layer="21"/>
<wire x1="1.27" y1="-0.254" x2="1.27" y2="-2.286" width="0.1524" layer="21"/>
<wire x1="1.016" y1="-2.54" x2="1.27" y2="-2.286" width="0.1524" layer="21"/>
<wire x1="1.27" y1="2.286" x2="1.016" y2="2.54" width="0.1524" layer="21"/>
<wire x1="1.27" y1="2.286" x2="1.27" y2="0.254" width="0.1524" layer="21"/>
<wire x1="1.016" y1="2.54" x2="-1.016" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="2.286" x2="-1.016" y2="2.54" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="2.286" x2="-1.27" y2="0.254" width="0.1524" layer="21"/>
<wire x1="-1.27" y1="-0.254" x2="-1.27" y2="-2.286" width="0.1524" layer="21"/>
<wire x1="-1.016" y1="-2.54" x2="-1.27" y2="-2.286" width="0.1524" layer="21"/>
<wire x1="-1.016" y1="-2.54" x2="1.016" y2="-2.54" width="0.1524" layer="21"/>
<pad name="1" x="0" y="-1.27" drill="0.9144" shape="long"/>
<pad name="2" x="0" y="1.27" drill="0.9144" shape="long"/>
<text x="-1.651" y="-2.54" size="1.27" layer="25" ratio="10" rot="R90">>NAME</text>
<text x="2.921" y="-2.54" size="1.27" layer="27" ratio="10" rot="R90">>VALUE</text>
<rectangle x1="-0.3048" y1="0.9652" x2="0.3048" y2="1.5748" layer="51"/>
<rectangle x1="-0.3048" y1="-1.5748" x2="0.3048" y2="-0.9652" layer="51"/>
</package>
</packages>
<symbols>
<symbol name="JP2E">
<wire x1="0" y1="0" x2="0" y2="1.27" width="0.1524" layer="94"/>
<wire x1="0" y1="2.54" x2="0" y2="1.27" width="0.4064" layer="94"/>
<wire x1="2.54" y1="0" x2="2.54" y2="1.27" width="0.1524" layer="94"/>
<wire x1="2.54" y1="2.54" x2="2.54" y2="1.27" width="0.4064" layer="94"/>
<wire x1="-0.635" y1="0" x2="3.175" y2="0" width="0.4064" layer="94"/>
<wire x1="3.175" y1="0" x2="3.175" y2="0.635" width="0.4064" layer="94"/>
<wire x1="3.175" y1="0.635" x2="-0.635" y2="0.635" width="0.4064" layer="94"/>
<wire x1="-0.635" y1="0.635" x2="-0.635" y2="0" width="0.4064" layer="94"/>
<text x="-1.27" y="0" size="1.778" layer="95" rot="R90">>NAME</text>
<text x="5.715" y="0" size="1.778" layer="96" rot="R90">>VALUE</text>
<pin name="1" x="0" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/>
<pin name="2" x="2.54" y="-2.54" visible="pad" length="short" direction="pas" rot="R90"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="JP1E" prefix="JP" uservalue="yes">
<description>JUMPER</description>
<gates>
<gate name="A" symbol="JP2E" x="2.54" y="0"/>
</gates>
<devices>
<device name="" package="JP1">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
</classes>
<parts>
<part name="IC1" library="Microchip_MCP" deviceset="MCP39F501" device=""/>
<part name="R2" library="HTL_RCL" deviceset="R-EU" device="0411/15" value="4k7"/>
<part name="R3" library="HTL_RCL" deviceset="R-EU" device="R0805" value="1k"/>
<part name="R4" library="HTL_RCL" deviceset="R-EU" device="R0805" value="1k"/>
<part name="C1" library="HTL_RCL" deviceset="C-EU" device="C0805K" value="33n"/>
<part name="C2" library="HTL_RCL" deviceset="C-EU" device="C0805K" value="33n"/>
<part name="GND2" library="supply1" deviceset="GNDA" device=""/>
<part name="L1" library="HTL_RCL" deviceset="L-EU" device="L3230M"/>
<part name="L2" library="HTL_RCL" deviceset="L-EU" device="L3230M"/>
<part name="R5" library="HTL_RCL" deviceset="R-EU" device="R2512" value="0,025R, 2W"/>
<part name="C3" library="HTL_RCL" deviceset="C-EU" device="C0805K" value="33n"/>
<part name="R6" library="HTL_RCL" deviceset="R-EU" device="0411/15" value="499k"/>
<part name="R7" library="HTL_RCL" deviceset="R-EU" device="0411/15" value="499k"/>
<part name="R8" library="HTL_RCL" deviceset="R-EU" device="R0805" value="1k"/>
<part name="GND3" library="supply1" deviceset="GNDA" device=""/>
<part name="C4" library="HTL_RCL" deviceset="C-EU" device="C0805K" value="33n"/>
<part name="R9" library="HTL_RCL" deviceset="R-EU" device="R0805" value="1k"/>
<part name="GND4" library="supply1" deviceset="GNDA" device=""/>
<part name="C5" library="HTL_RCL" deviceset="C-EU" device="C0805K" value="0,01uF"/>
<part name="GND5" library="supply1" deviceset="GND" device=""/>
<part name="GND6" library="supply1" deviceset="GND" device=""/>
<part name="GND7" library="supply1" deviceset="GND" device=""/>
<part name="R10" library="HTL_RCL" deviceset="R-EU" device="0204/7" value="10k"/>
<part name="GND1" library="supply1" deviceset="GND" device=""/>
<part name="X1" library="HTL_Printklemmen_rechts" deviceset="W237-103_R" device=""/>
<part name="X2" library="HTL_Printklemmen_rechts" deviceset="W237-103_R" device=""/>
<part name="GND10" library="supply1" deviceset="GND" device=""/>
<part name="K1" library="relay" deviceset="RP44?*" device="" technology="0005"/>
<part name="V1" library="HTL_Transistor" deviceset="BC517_HTL_RM5" device=""/>
<part name="R11" library="HTL_RCL" deviceset="R-EU" device="0411/15" value="240k"/>
<part name="V2" library="HTL_Diode" deviceset="1N4148_HTL" device="" value="1N4148"/>
<part name="P+1" library="supply1" deviceset="+12V" device=""/>
<part name="GND8" library="supply1" deviceset="GND" device=""/>
<part name="IC2" library="maxim" deviceset="MAX489CSD" device=""/>
<part name="C6" library="HTL_RCL" deviceset="C-EU" device="C0805K" value="100n"/>
<part name="GND9" library="supply1" deviceset="GND" device=""/>
<part name="GND11" library="supply1" deviceset="GND" device=""/>
<part name="JP1" library="jumper" deviceset="JP1E" device=""/>
<part name="JP2" library="jumper" deviceset="JP1E" device=""/>
<part name="R1" library="HTL_RCL" deviceset="R-EU" device="R0805" value="4k7"/>
<part name="R12" library="HTL_RCL" deviceset="R-EU" device="R0805" value="4k7"/>
<part name="GND12" library="supply1" deviceset="GND" device=""/>
<part name="GND13" library="supply1" deviceset="GND" device=""/>
<part name="X4" library="HTL_Printklemmen_links" deviceset="W237-04P_L" device=""/>
<part name="R13" library="HTL_RCL" deviceset="R-EU" device="R0805" value="120R"/>
<part name="R14" library="HTL_RCL" deviceset="R-EU" device="R0805" value="120R"/>
<part name="C7" library="HTL_RCL" deviceset="C-EU" device="C0805K" value="100n"/>
<part name="X3" library="HTL_Printklemmen_links" deviceset="W237-103_L" device=""/>
<part name="X5" library="HTL_Printklemmen_links" deviceset="W237-102_L" device=""/>
<part name="P+2" library="supply1" deviceset="+12V" device=""/>
</parts>
<sheets>
<sheet>
<plain>
<text x="93.98" y="66.04" size="1.778" layer="97">230V ~ Out</text>
<text x="96.52" y="93.98" size="1.778" layer="97">230V ~ In</text>
<text x="-81.28" y="134.62" size="1.778" layer="97">Adresse, A0-A1</text>
<text x="-113.538" y="1.524" size="1.778" layer="97" rot="R180">+3,3V</text>
<text x="-116.84" y="-50.8" size="1.778" layer="97">GND</text>
<text x="-114.3" y="71.12" size="1.778" layer="97">Uart</text>
<text x="-114.3" y="38.1" size="1.778" layer="97">Uart</text>
<text x="-116.84" y="-15.24" size="1.778" layer="97">+5V</text>
<text x="-182.88" y="71.12" size="1.778" layer="97">RS485, 4Wire</text>
<text x="-203.2" y="104.14" size="1.778" layer="97">Schalteransteuerung, +3,3V</text>
<text x="-182.88" y="111.76" size="1.778" layer="97">+12V</text>
</plain>
<instances>
<instance part="IC1" gate="G$1" x="-58.42" y="60.96"/>
<instance part="R2" gate="G$1" x="-88.9" y="43.18"/>
<instance part="R3" gate="G$1" x="43.18" y="73.66"/>
<instance part="R4" gate="G$1" x="43.18" y="58.42"/>
<instance part="C1" gate="G$1" x="33.02" y="68.58" rot="R180"/>
<instance part="C2" gate="G$1" x="27.94" y="50.8" rot="R180"/>
<instance part="GND2" gate="1" x="33.02" y="40.64"/>
<instance part="L1" gate="G$1" x="55.88" y="73.66" rot="R90"/>
<instance part="L2" gate="G$1" x="63.5" y="58.42" rot="R90"/>
<instance part="R5" gate="G$1" x="71.12" y="66.04" rot="R270"/>
<instance part="C3" gate="G$1" x="35.56" y="48.26" rot="R180"/>
<instance part="R6" gate="G$1" x="48.26" y="63.5"/>
<instance part="R7" gate="G$1" x="60.96" y="63.5"/>
<instance part="R8" gate="G$1" x="40.64" y="48.26" rot="R90"/>
<instance part="GND3" gate="1" x="38.1" y="38.1"/>
<instance part="C4" gate="G$1" x="22.86" y="50.8" rot="R180"/>
<instance part="R9" gate="G$1" x="15.24" y="53.34" rot="R90"/>
<instance part="GND4" gate="1" x="0" y="48.26" rot="R90"/>
<instance part="C5" gate="G$1" x="15.24" y="40.64" rot="R180"/>
<instance part="GND5" gate="1" x="-2.54" y="17.78" rot="R90"/>
<instance part="GND6" gate="1" x="-2.54" y="33.02" rot="R90"/>
<instance part="GND7" gate="1" x="-2.54" y="7.62" rot="R90"/>
<instance part="R10" gate="G$1" x="5.08" y="22.86"/>
<instance part="GND1" gate="1" x="-99.06" y="-53.34"/>
<instance part="X1" gate="-3" x="83.82" y="99.06"/>
<instance part="X1" gate="-1" x="83.82" y="91.44"/>
<instance part="X1" gate="-2" x="83.82" y="83.82"/>
<instance part="X2" gate="-3" x="83.82" y="66.04"/>
<instance part="X2" gate="-1" x="83.82" y="58.42"/>
<instance part="X2" gate="-2" x="83.82" y="78.74"/>
<instance part="GND10" gate="1" x="22.86" y="40.64"/>
<instance part="K1" gate="1" x="-142.24" y="121.92"/>
<instance part="K1" gate="2" x="68.58" y="83.82" rot="R180"/>
<instance part="K1" gate="3" x="76.2" y="83.82" rot="R180"/>
<instance part="V1" gate="1" x="-144.78" y="106.68"/>
<instance part="R11" gate="G$1" x="-154.94" y="106.68"/>
<instance part="V2" gate="G$1" x="-149.86" y="121.92" rot="R90"/>
<instance part="P+1" gate="1" x="-142.24" y="134.62"/>
<instance part="GND8" gate="1" x="-142.24" y="96.52"/>
<instance part="IC2" gate="G$1" x="-137.16" y="50.8" rot="R180"/>
<instance part="IC2" gate="P" x="-88.9" y="-27.94"/>
<instance part="C6" gate="G$1" x="-76.2" y="-10.16" rot="R180"/>
<instance part="GND9" gate="1" x="-76.2" y="-17.78"/>
<instance part="GND11" gate="1" x="-88.9" y="-43.18"/>
<instance part="JP1" gate="A" x="-71.12" y="111.76"/>
<instance part="JP2" gate="A" x="-71.12" y="127"/>
<instance part="R1" gate="G$1" x="-88.9" y="109.22"/>
<instance part="R12" gate="G$1" x="-88.9" y="124.46"/>
<instance part="GND12" gate="1" x="-63.5" y="109.22" rot="R90"/>
<instance part="GND13" gate="1" x="-63.5" y="124.46" rot="R90"/>
<instance part="X4" gate="-1" x="-172.72" y="40.64"/>
<instance part="X4" gate="-2" x="-172.72" y="45.72"/>
<instance part="X4" gate="-3" x="-172.72" y="55.88"/>
<instance part="X4" gate="-4" x="-172.72" y="60.96"/>
<instance part="R13" gate="G$1" x="-157.48" y="58.42" rot="R180"/>
<instance part="R14" gate="G$1" x="-157.48" y="43.18" rot="R180"/>
<instance part="C7" gate="G$1" x="-93.98" y="-27.94" rot="R180"/>
<instance part="X3" gate="-3" x="-106.68" y="-45.72"/>
<instance part="X3" gate="-1" x="-106.68" y="-17.78"/>
<instance part="X3" gate="-2" x="-109.22" y="-2.54"/>
<instance part="X5" gate="-2" x="-170.18" y="106.68"/>
<instance part="X5" gate="-1" x="-170.18" y="111.76"/>
<instance part="P+2" gate="1" x="-162.56" y="116.84"/>
</instances>
<busses>
</busses>
<nets>
<net name="GND" class="0">
<segment>
<pinref part="GND7" gate="1" pin="GND"/>
<pinref part="IC1" gate="G$1" pin="EPP29"/>
<wire x1="-5.08" y1="7.62" x2="-7.62" y2="7.62" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND5" gate="1" pin="GND"/>
<pinref part="IC1" gate="G$1" pin="DGNDP27"/>
<wire x1="-5.08" y1="17.78" x2="-7.62" y2="17.78" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND6" gate="1" pin="GND"/>
<pinref part="IC1" gate="G$1" pin="DGNDP24"/>
<wire x1="-5.08" y1="33.02" x2="-7.62" y2="33.02" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND1" gate="1" pin="GND"/>
<wire x1="-99.06" y1="-45.72" x2="-99.06" y2="-50.8" width="0.1524" layer="91"/>
<pinref part="X3" gate="-3" pin="KL"/>
<wire x1="-101.6" y1="-45.72" x2="-99.06" y2="-45.72" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="C1" gate="G$1" pin="1"/>
<wire x1="33.02" y1="66.04" x2="33.02" y2="45.72" width="0.1524" layer="91"/>
<pinref part="C2" gate="G$1" pin="1"/>
<wire x1="33.02" y1="45.72" x2="27.94" y2="45.72" width="0.1524" layer="91"/>
<wire x1="27.94" y1="45.72" x2="27.94" y2="48.26" width="0.1524" layer="91"/>
<pinref part="GND2" gate="1" pin="GNDA"/>
<wire x1="33.02" y1="43.18" x2="33.02" y2="45.72" width="0.1524" layer="91"/>
<junction x="33.02" y="45.72"/>
<pinref part="R9" gate="G$1" pin="1"/>
<wire x1="15.24" y1="48.26" x2="15.24" y2="45.72" width="0.1524" layer="91"/>
<pinref part="C4" gate="G$1" pin="1"/>
<wire x1="15.24" y1="45.72" x2="22.86" y2="45.72" width="0.1524" layer="91"/>
<wire x1="22.86" y1="45.72" x2="22.86" y2="48.26" width="0.1524" layer="91"/>
<wire x1="22.86" y1="45.72" x2="27.94" y2="45.72" width="0.1524" layer="91"/>
<junction x="22.86" y="45.72"/>
<junction x="27.94" y="45.72"/>
<pinref part="C5" gate="G$1" pin="2"/>
<junction x="15.24" y="45.72"/>
<pinref part="GND10" gate="1" pin="GND"/>
<wire x1="22.86" y1="43.18" x2="22.86" y2="45.72" width="0.1524" layer="91"/>
<pinref part="R8" gate="G$1" pin="1"/>
<wire x1="40.64" y1="43.18" x2="40.64" y2="40.64" width="0.1524" layer="91"/>
<pinref part="C3" gate="G$1" pin="1"/>
<wire x1="40.64" y1="40.64" x2="38.1" y2="40.64" width="0.1524" layer="91"/>
<wire x1="38.1" y1="40.64" x2="35.56" y2="40.64" width="0.1524" layer="91"/>
<wire x1="35.56" y1="40.64" x2="35.56" y2="45.72" width="0.1524" layer="91"/>
<pinref part="GND3" gate="1" pin="GNDA"/>
<junction x="38.1" y="40.64"/>
<wire x1="33.02" y1="45.72" x2="35.56" y2="45.72" width="0.1524" layer="91"/>
<junction x="35.56" y="45.72"/>
</segment>
<segment>
<pinref part="GND4" gate="1" pin="GNDA"/>
<pinref part="IC1" gate="G$1" pin="AGNDP21"/>
<wire x1="-2.54" y1="48.26" x2="-7.62" y2="48.26" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="V1" gate="1" pin="E"/>
<pinref part="GND8" gate="1" pin="GND"/>
<wire x1="-142.24" y1="99.06" x2="-142.24" y2="101.6" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="C6" gate="G$1" pin="1"/>
<pinref part="GND9" gate="1" pin="GND"/>
<wire x1="-76.2" y1="-12.7" x2="-76.2" y2="-15.24" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND12" gate="1" pin="GND"/>
<pinref part="JP1" gate="A" pin="2"/>
<wire x1="-66.04" y1="109.22" x2="-68.58" y2="109.22" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND13" gate="1" pin="GND"/>
<pinref part="JP2" gate="A" pin="2"/>
<wire x1="-66.04" y1="124.46" x2="-68.58" y2="124.46" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="IC2" gate="P" pin="GND@2"/>
<wire x1="-86.36" y1="-35.56" x2="-86.36" y2="-38.1" width="0.1524" layer="91"/>
<wire x1="-86.36" y1="-38.1" x2="-88.9" y2="-38.1" width="0.1524" layer="91"/>
<pinref part="IC2" gate="P" pin="GND@1"/>
<wire x1="-88.9" y1="-38.1" x2="-93.98" y2="-38.1" width="0.1524" layer="91"/>
<wire x1="-88.9" y1="-35.56" x2="-88.9" y2="-38.1" width="0.1524" layer="91"/>
<junction x="-88.9" y="-38.1"/>
<pinref part="C7" gate="G$1" pin="1"/>
<wire x1="-93.98" y1="-30.48" x2="-93.98" y2="-38.1" width="0.1524" layer="91"/>
<pinref part="GND11" gate="1" pin="GND"/>
<wire x1="-88.9" y1="-40.64" x2="-88.9" y2="-38.1" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$4" class="0">
<segment>
<pinref part="R2" gate="G$1" pin="2"/>
<pinref part="IC1" gate="G$1" pin="!RESETP10"/>
<wire x1="-83.82" y1="43.18" x2="-73.66" y2="43.18" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$5" class="0">
<segment>
<pinref part="R3" gate="G$1" pin="1"/>
<pinref part="IC1" gate="G$1" pin="I1+P16"/>
<wire x1="38.1" y1="73.66" x2="33.02" y2="73.66" width="0.1524" layer="91"/>
<pinref part="C1" gate="G$1" pin="2"/>
<wire x1="33.02" y1="73.66" x2="-7.62" y2="73.66" width="0.1524" layer="91"/>
<junction x="33.02" y="73.66"/>
</segment>
</net>
<net name="N$6" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="I1-P17"/>
<pinref part="R4" gate="G$1" pin="1"/>
<wire x1="-7.62" y1="68.58" x2="25.4" y2="68.58" width="0.1524" layer="91"/>
<wire x1="25.4" y1="68.58" x2="25.4" y2="58.42" width="0.1524" layer="91"/>
<wire x1="25.4" y1="58.42" x2="27.94" y2="58.42" width="0.1524" layer="91"/>
<pinref part="C2" gate="G$1" pin="2"/>
<wire x1="27.94" y1="58.42" x2="38.1" y2="58.42" width="0.1524" layer="91"/>
<wire x1="27.94" y1="55.88" x2="27.94" y2="58.42" width="0.1524" layer="91"/>
<junction x="27.94" y="58.42"/>
</segment>
</net>
<net name="N$9" class="0">
<segment>
<pinref part="R3" gate="G$1" pin="2"/>
<pinref part="L1" gate="G$1" pin="1"/>
<wire x1="48.26" y1="73.66" x2="50.8" y2="73.66" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$10" class="0">
<segment>
<pinref part="R4" gate="G$1" pin="2"/>
<pinref part="L2" gate="G$1" pin="1"/>
<wire x1="48.26" y1="58.42" x2="58.42" y2="58.42" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$11" class="0">
<segment>
<pinref part="L2" gate="G$1" pin="2"/>
<wire x1="68.58" y1="58.42" x2="71.12" y2="58.42" width="0.1524" layer="91"/>
<pinref part="R5" gate="G$1" pin="2"/>
<wire x1="71.12" y1="60.96" x2="71.12" y2="58.42" width="0.1524" layer="91"/>
<pinref part="X2" gate="-1" pin="KL"/>
<wire x1="71.12" y1="58.42" x2="81.28" y2="58.42" width="0.1524" layer="91"/>
<junction x="71.12" y="58.42"/>
</segment>
</net>
<net name="N$12" class="0">
<segment>
<pinref part="K1" gate="2" pin="P"/>
<wire x1="68.58" y1="88.9" x2="68.58" y2="99.06" width="0.1524" layer="91"/>
<pinref part="X1" gate="-3" pin="KL"/>
<wire x1="68.58" y1="99.06" x2="81.28" y2="99.06" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$18" class="0">
<segment>
<pinref part="R7" gate="G$1" pin="1"/>
<pinref part="R6" gate="G$1" pin="2"/>
<wire x1="55.88" y1="63.5" x2="53.34" y2="63.5" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$20" class="0">
<segment>
<wire x1="76.2" y1="66.04" x2="76.2" y2="76.2" width="0.1524" layer="91"/>
<wire x1="66.04" y1="76.2" x2="76.2" y2="76.2" width="0.1524" layer="91"/>
<pinref part="R7" gate="G$1" pin="2"/>
<wire x1="66.04" y1="63.5" x2="66.04" y2="76.2" width="0.1524" layer="91"/>
<pinref part="K1" gate="3" pin="S"/>
<wire x1="76.2" y1="78.74" x2="76.2" y2="76.2" width="0.1524" layer="91"/>
<junction x="76.2" y="76.2"/>
<pinref part="X2" gate="-3" pin="KL"/>
<wire x1="81.28" y1="66.04" x2="76.2" y2="66.04" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$7" class="0">
<segment>
<pinref part="C4" gate="G$1" pin="2"/>
<pinref part="R9" gate="G$1" pin="2"/>
<wire x1="22.86" y1="55.88" x2="22.86" y2="58.42" width="0.1524" layer="91"/>
<wire x1="22.86" y1="58.42" x2="15.24" y2="58.42" width="0.1524" layer="91"/>
<pinref part="IC1" gate="G$1" pin="V1+P19"/>
<wire x1="-7.62" y1="58.42" x2="15.24" y2="58.42" width="0.1524" layer="91"/>
<junction x="15.24" y="58.42"/>
</segment>
</net>
<net name="N$13" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="REFIN+/OUTP23"/>
<wire x1="-7.62" y1="38.1" x2="15.24" y2="38.1" width="0.1524" layer="91"/>
<pinref part="C5" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$16" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="!MCLRP26"/>
<pinref part="R10" gate="G$1" pin="1"/>
<wire x1="-7.62" y1="22.86" x2="0" y2="22.86" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$24" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="COMMONAP5"/>
<wire x1="-73.66" y1="68.58" x2="-86.36" y2="68.58" width="0.1524" layer="91"/>
<wire x1="-86.36" y1="68.58" x2="-86.36" y2="93.98" width="0.1524" layer="91"/>
<wire x1="-86.36" y1="93.98" x2="-5.08" y2="93.98" width="0.1524" layer="91"/>
<wire x1="-5.08" y1="93.98" x2="-5.08" y2="88.9" width="0.1524" layer="91"/>
<pinref part="IC1" gate="G$1" pin="COMMONP13"/>
<wire x1="-5.08" y1="88.9" x2="-7.62" y2="88.9" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$15" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="AVDDP11"/>
<wire x1="-73.66" y1="38.1" x2="-99.06" y2="38.1" width="0.1524" layer="91"/>
<pinref part="R2" gate="G$1" pin="1"/>
<wire x1="-99.06" y1="38.1" x2="-99.06" y2="43.18" width="0.1524" layer="91"/>
<wire x1="-99.06" y1="43.18" x2="-93.98" y2="43.18" width="0.1524" layer="91"/>
<wire x1="-99.06" y1="38.1" x2="-99.06" y2="-2.54" width="0.1524" layer="91"/>
<junction x="-99.06" y="38.1"/>
<wire x1="-99.06" y1="-2.54" x2="-76.2" y2="-2.54" width="0.1524" layer="91"/>
<pinref part="IC1" gate="G$1" pin="DVDDP25"/>
<wire x1="-76.2" y1="-2.54" x2="12.7" y2="-2.54" width="0.1524" layer="91"/>
<wire x1="-7.62" y1="27.94" x2="12.7" y2="27.94" width="0.1524" layer="91"/>
<wire x1="12.7" y1="27.94" x2="12.7" y2="22.86" width="0.1524" layer="91"/>
<pinref part="R10" gate="G$1" pin="2"/>
<wire x1="12.7" y1="22.86" x2="10.16" y2="22.86" width="0.1524" layer="91"/>
<wire x1="12.7" y1="22.86" x2="12.7" y2="-2.54" width="0.1524" layer="91"/>
<junction x="12.7" y="22.86"/>
<pinref part="C6" gate="G$1" pin="2"/>
<wire x1="-76.2" y1="-5.08" x2="-76.2" y2="-2.54" width="0.1524" layer="91"/>
<junction x="-76.2" y="-2.54"/>
<wire x1="-99.06" y1="43.18" x2="-99.06" y2="109.22" width="0.1524" layer="91"/>
<junction x="-99.06" y="43.18"/>
<pinref part="R12" gate="G$1" pin="1"/>
<wire x1="-99.06" y1="109.22" x2="-99.06" y2="124.46" width="0.1524" layer="91"/>
<wire x1="-99.06" y1="124.46" x2="-93.98" y2="124.46" width="0.1524" layer="91"/>
<pinref part="R1" gate="G$1" pin="1"/>
<wire x1="-93.98" y1="109.22" x2="-99.06" y2="109.22" width="0.1524" layer="91"/>
<junction x="-99.06" y="109.22"/>
<pinref part="X3" gate="-2" pin="KL"/>
<wire x1="-104.14" y1="-2.54" x2="-99.06" y2="-2.54" width="0.1524" layer="91"/>
<junction x="-99.06" y="-2.54"/>
</segment>
</net>
<net name="N$3" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="MODE/DIRP1"/>
<wire x1="-73.66" y1="88.9" x2="-104.14" y2="88.9" width="0.1524" layer="91"/>
<wire x1="-104.14" y1="88.9" x2="-104.14" y2="50.8" width="0.1524" layer="91"/>
<pinref part="IC2" gate="G$1" pin="RE/"/>
<wire x1="-124.46" y1="48.26" x2="-121.92" y2="48.26" width="0.1524" layer="91"/>
<wire x1="-121.92" y1="48.26" x2="-121.92" y2="50.8" width="0.1524" layer="91"/>
<pinref part="IC2" gate="G$1" pin="DE"/>
<wire x1="-121.92" y1="50.8" x2="-121.92" y2="53.34" width="0.1524" layer="91"/>
<wire x1="-121.92" y1="53.34" x2="-124.46" y2="53.34" width="0.1524" layer="91"/>
<wire x1="-104.14" y1="50.8" x2="-121.92" y2="50.8" width="0.1524" layer="91"/>
<junction x="-121.92" y="50.8"/>
</segment>
</net>
<net name="N$14" class="0">
<segment>
<pinref part="R8" gate="G$1" pin="2"/>
<pinref part="C3" gate="G$1" pin="2"/>
<wire x1="35.56" y1="53.34" x2="38.1" y2="53.34" width="0.1524" layer="91"/>
<pinref part="R6" gate="G$1" pin="1"/>
<pinref part="IC1" gate="G$1" pin="V1-P18"/>
<wire x1="38.1" y1="53.34" x2="40.64" y2="53.34" width="0.1524" layer="91"/>
<wire x1="43.18" y1="63.5" x2="38.1" y2="63.5" width="0.1524" layer="91"/>
<wire x1="38.1" y1="63.5" x2="-7.62" y2="63.5" width="0.1524" layer="91"/>
<wire x1="38.1" y1="53.34" x2="38.1" y2="63.5" width="0.1524" layer="91"/>
<junction x="38.1" y="53.34"/>
<junction x="38.1" y="63.5"/>
</segment>
</net>
<net name="N$8" class="0">
<segment>
<pinref part="V1" gate="1" pin="C"/>
<pinref part="K1" gate="1" pin="2"/>
<wire x1="-142.24" y1="116.84" x2="-142.24" y2="114.3" width="0.1524" layer="91"/>
<pinref part="V2" gate="G$1" pin="A"/>
<wire x1="-142.24" y1="114.3" x2="-142.24" y2="111.76" width="0.1524" layer="91"/>
<wire x1="-149.86" y1="119.38" x2="-149.86" y2="114.3" width="0.1524" layer="91"/>
<wire x1="-149.86" y1="114.3" x2="-142.24" y2="114.3" width="0.1524" layer="91"/>
<junction x="-142.24" y="114.3"/>
</segment>
</net>
<net name="+12V" class="0">
<segment>
<pinref part="K1" gate="1" pin="1"/>
<pinref part="P+1" gate="1" pin="+12V"/>
<wire x1="-142.24" y1="132.08" x2="-142.24" y2="129.54" width="0.1524" layer="91"/>
<pinref part="V2" gate="G$1" pin="C"/>
<wire x1="-142.24" y1="129.54" x2="-142.24" y2="127" width="0.1524" layer="91"/>
<wire x1="-149.86" y1="124.46" x2="-149.86" y2="129.54" width="0.1524" layer="91"/>
<wire x1="-149.86" y1="129.54" x2="-142.24" y2="129.54" width="0.1524" layer="91"/>
<junction x="-142.24" y="129.54"/>
</segment>
<segment>
<pinref part="X5" gate="-1" pin="KL"/>
<pinref part="P+2" gate="1" pin="+12V"/>
<wire x1="-165.1" y1="111.76" x2="-162.56" y2="111.76" width="0.1524" layer="91"/>
<wire x1="-162.56" y1="111.76" x2="-162.56" y2="114.3" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$17" class="0">
<segment>
<pinref part="V1" gate="1" pin="B"/>
<pinref part="R11" gate="G$1" pin="2"/>
<wire x1="-149.86" y1="106.68" x2="-147.32" y2="106.68" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$19" class="0">
<segment>
<pinref part="L1" gate="G$1" pin="2"/>
<pinref part="R5" gate="G$1" pin="1"/>
<wire x1="71.12" y1="71.12" x2="71.12" y2="73.66" width="0.1524" layer="91"/>
<wire x1="71.12" y1="73.66" x2="60.96" y2="73.66" width="0.1524" layer="91"/>
<wire x1="71.12" y1="73.66" x2="71.12" y2="78.74" width="0.1524" layer="91"/>
<junction x="71.12" y="73.66"/>
<pinref part="K1" gate="2" pin="S"/>
<wire x1="71.12" y1="78.74" x2="68.58" y2="78.74" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$21" class="0">
<segment>
<pinref part="K1" gate="3" pin="P"/>
<wire x1="76.2" y1="88.9" x2="76.2" y2="91.44" width="0.1524" layer="91"/>
<pinref part="X1" gate="-1" pin="KL"/>
<wire x1="81.28" y1="91.44" x2="76.2" y2="91.44" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$2" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="UART_RXP4"/>
<wire x1="-73.66" y1="73.66" x2="-106.68" y2="73.66" width="0.1524" layer="91"/>
<wire x1="-106.68" y1="73.66" x2="-106.68" y2="43.18" width="0.1524" layer="91"/>
<pinref part="IC2" gate="G$1" pin="RO"/>
<wire x1="-106.68" y1="43.18" x2="-124.46" y2="43.18" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$22" class="0">
<segment>
<pinref part="IC1" gate="G$1" pin="UART_TXP12"/>
<wire x1="-73.66" y1="33.02" x2="-111.76" y2="33.02" width="0.1524" layer="91"/>
<wire x1="-111.76" y1="33.02" x2="-111.76" y2="58.42" width="0.1524" layer="91"/>
<pinref part="IC2" gate="G$1" pin="DI"/>
<wire x1="-111.76" y1="58.42" x2="-124.46" y2="58.42" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$23" class="0">
<segment>
<pinref part="C7" gate="G$1" pin="2"/>
<wire x1="-93.98" y1="-22.86" x2="-93.98" y2="-17.78" width="0.1524" layer="91"/>
<pinref part="IC2" gate="P" pin="VCC"/>
<wire x1="-88.9" y1="-17.78" x2="-88.9" y2="-20.32" width="0.1524" layer="91"/>
<wire x1="-93.98" y1="-17.78" x2="-88.9" y2="-17.78" width="0.1524" layer="91"/>
<pinref part="X3" gate="-1" pin="KL"/>
<wire x1="-101.6" y1="-17.78" x2="-93.98" y2="-17.78" width="0.1524" layer="91"/>
<junction x="-93.98" y="-17.78"/>
</segment>
</net>
<net name="N$27" class="0">
<segment>
<pinref part="JP1" gate="A" pin="1"/>
<wire x1="-71.12" y1="109.22" x2="-76.2" y2="109.22" width="0.1524" layer="91"/>
<pinref part="R1" gate="G$1" pin="2"/>
<wire x1="-76.2" y1="109.22" x2="-83.82" y2="109.22" width="0.1524" layer="91"/>
<junction x="-76.2" y="109.22"/>
<wire x1="-76.2" y1="109.22" x2="-76.2" y2="104.14" width="0.1524" layer="91"/>
<pinref part="IC1" gate="G$1" pin="A0/DIO0P14"/>
<wire x1="0" y1="104.14" x2="0" y2="83.82" width="0.1524" layer="91"/>
<wire x1="0" y1="83.82" x2="-7.62" y2="83.82" width="0.1524" layer="91"/>
<wire x1="-76.2" y1="104.14" x2="0" y2="104.14" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$28" class="0">
<segment>
<pinref part="R12" gate="G$1" pin="2"/>
<pinref part="JP2" gate="A" pin="1"/>
<wire x1="-71.12" y1="124.46" x2="-76.2" y2="124.46" width="0.1524" layer="91"/>
<wire x1="-76.2" y1="124.46" x2="-83.82" y2="124.46" width="0.1524" layer="91"/>
<wire x1="-76.2" y1="124.46" x2="-76.2" y2="119.38" width="0.1524" layer="91"/>
<junction x="-76.2" y="124.46"/>
<pinref part="IC1" gate="G$1" pin="A17/DIOP15"/>
<wire x1="-7.62" y1="78.74" x2="7.62" y2="78.74" width="0.1524" layer="91"/>
<wire x1="7.62" y1="78.74" x2="7.62" y2="119.38" width="0.1524" layer="91"/>
<wire x1="-76.2" y1="119.38" x2="7.62" y2="119.38" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$25" class="0">
<segment>
<pinref part="IC2" gate="G$1" pin="Z"/>
<wire x1="-147.32" y1="55.88" x2="-165.1" y2="55.88" width="0.1524" layer="91"/>
<pinref part="R13" gate="G$1" pin="2"/>
<wire x1="-162.56" y1="58.42" x2="-165.1" y2="58.42" width="0.1524" layer="91"/>
<wire x1="-165.1" y1="58.42" x2="-165.1" y2="55.88" width="0.1524" layer="91"/>
<pinref part="X4" gate="-3" pin="KL"/>
<wire x1="-167.64" y1="55.88" x2="-165.1" y2="55.88" width="0.1524" layer="91"/>
<junction x="-165.1" y="55.88"/>
</segment>
</net>
<net name="N$26" class="0">
<segment>
<pinref part="IC2" gate="G$1" pin="Y"/>
<pinref part="R13" gate="G$1" pin="1"/>
<wire x1="-149.86" y1="60.96" x2="-147.32" y2="60.96" width="0.1524" layer="91"/>
<wire x1="-152.4" y1="58.42" x2="-149.86" y2="58.42" width="0.1524" layer="91"/>
<wire x1="-149.86" y1="58.42" x2="-149.86" y2="60.96" width="0.1524" layer="91"/>
<pinref part="X4" gate="-4" pin="KL"/>
<wire x1="-167.64" y1="60.96" x2="-149.86" y2="60.96" width="0.1524" layer="91"/>
<junction x="-149.86" y="60.96"/>
</segment>
</net>
<net name="N$29" class="0">
<segment>
<pinref part="IC2" gate="G$1" pin="B"/>
<pinref part="R14" gate="G$1" pin="1"/>
<wire x1="-149.86" y1="45.72" x2="-147.32" y2="45.72" width="0.1524" layer="91"/>
<wire x1="-152.4" y1="43.18" x2="-149.86" y2="43.18" width="0.1524" layer="91"/>
<wire x1="-149.86" y1="43.18" x2="-149.86" y2="45.72" width="0.1524" layer="91"/>
<pinref part="X4" gate="-2" pin="KL"/>
<wire x1="-167.64" y1="45.72" x2="-149.86" y2="45.72" width="0.1524" layer="91"/>
<junction x="-149.86" y="45.72"/>
</segment>
</net>
<net name="N$1" class="0">
<segment>
<pinref part="R11" gate="G$1" pin="1"/>
<pinref part="X5" gate="-2" pin="KL"/>
<wire x1="-165.1" y1="106.68" x2="-160.02" y2="106.68" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$32" class="0">
<segment>
<pinref part="R14" gate="G$1" pin="2"/>
<wire x1="-162.56" y1="43.18" x2="-165.1" y2="43.18" width="0.1524" layer="91"/>
<pinref part="IC2" gate="G$1" pin="A"/>
<wire x1="-147.32" y1="40.64" x2="-165.1" y2="40.64" width="0.1524" layer="91"/>
<pinref part="X4" gate="-1" pin="KL"/>
<wire x1="-165.1" y1="40.64" x2="-167.64" y2="40.64" width="0.1524" layer="91"/>
<wire x1="-165.1" y1="43.18" x2="-165.1" y2="40.64" width="0.1524" layer="91"/>
<junction x="-165.1" y="40.64"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>

license_type: permissive

branch_name: refs/heads/master


text:
package plugin

import (
	"strings"

	"github.com/docker/cli/cli/command/formatter"
	"github.com/docker/docker/api/types"
	"github.com/docker/docker/pkg/stringid"
)

const (
	defaultPluginTableFormat = "table {{.ID}}\t{{.Name}}\t{{.Description}}\t{{.Enabled}}"

	enabledHeader  = "ENABLED"
	pluginIDHeader = "ID"
)

// NewFormat returns a Format for rendering using a plugin Context
func NewFormat(source string, quiet bool) formatter.Format {
	switch source {
	case formatter.TableFormatKey:
		if quiet {
			return formatter.DefaultQuietFormat
		}
		return defaultPluginTableFormat
	case formatter.RawFormatKey:
		if quiet {
			return `plugin_id: {{.ID}}`
		}
		return `plugin_id: {{.ID}}\nname: {{.Name}}\ndescription: {{.Description}}\nenabled: {{.Enabled}}\n`
	}
	return formatter.Format(source)
}

// FormatWrite writes the context
func FormatWrite(ctx formatter.Context, plugins []*types.Plugin) error {
	render := func(format func(subContext formatter.SubContext) error) error {
		for _, plugin := range plugins {
			pluginCtx := &pluginContext{trunc: ctx.Trunc, p: *plugin}
			if err := format(pluginCtx); err != nil {
				return err
			}
		}
		return nil
	}
	pluginCtx := pluginContext{}
	pluginCtx.Header = formatter.SubHeaderContext{
		"ID":              pluginIDHeader,
		"Name":            formatter.NameHeader,
		"Description":     formatter.DescriptionHeader,
		"Enabled":         enabledHeader,
		"PluginReference": formatter.ImageHeader,
	}
	return ctx.Write(&pluginCtx, render)
}

type pluginContext struct {
	formatter.HeaderContext
	trunc bool
	p     types.Plugin
}

func (c *pluginContext) MarshalJSON() ([]byte, error) {
	return formatter.MarshalJSON(c)
}

func (c *pluginContext) ID() string {
	if c.trunc {
		return stringid.TruncateID(c.p.ID)
	}
	return c.p.ID
}

func (c *pluginContext) Name() string {
	return c.p.Name
}

func (c *pluginContext) Description() string {
	desc := strings.Replace(c.p.Config.Description, "\n", "", -1)
	desc = strings.Replace(desc, "\r", "", -1)
	if c.trunc {
		desc = formatter.Ellipsis(desc, 45)
	}

	return desc
}

func (c *pluginContext) Enabled() bool {
	return c.p.Enabled
}

func (c *pluginContext) PluginReference() string {
	return c.p.PluginReference
}

repository: docker/cli

repo_name: docker/cli

gha_language: Go

extension: go


text:
SUMMARY = "Intel(R) Enclosure LED Utilities"

DESCRIPTION = "The utilities are designed primarily to be used on storage servers \
 utilizing MD devices (aka Linux Software RAID) for RAID arrays.\
"
HOMEPAGE = "https://github.com/intel/ledmon"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
"

DEPENDS = "sg3-utils udev"

inherit systemd

SYSTEMD_SERVICE_${PN} = "ledmon.service"

SRC_URI = "git://github.com/intel/ledmon;branch=master \
           file://0002-include-sys-select.h-and-sys-types.h.patch \
          "

SRCREV = "ad1304ca1363d727425a1f23703c523e21feae4f"

COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
COMPATIBLE_HOST_libc-musl = "null"

S = "${WORKDIR}/git"
EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'"

do_install_append() {
	install -d ${D}/${systemd_unitdir}/system
	oe_runmake  DESTDIR=${D}  install
	oe_runmake  DESTDIR=${D}${systemd_unitdir}/system  install-systemd
}

license: MIT

repository: eigendude/meta-openembedded

repo_name: eigendude/meta-openembedded

branch_name: refs/heads/warrior

gha_license_id: MIT

gha_language: BitBake

extension: bb


text:
/**
 * @mocks
 * {
 *  code: 100,
 *  data|5: [
 *    { id: 1, name: 2 }
 *  ]
 * }
 *
 * @param data
 * @returns
 */
export const getUser = (data) => {
  return fetch('/aa/bb', {
    body: data,
  })
}

repository: liurongqing/api-mock

repo_name: liurongqing/api-mock

branch_name: refs/heads/main

extension: ts


text:
# generated from genmsg/cmake/pkg-msg-paths.cmake.develspace.in

set(basic_example_MSG_INCLUDE_DIRS "")
set(basic_example_MSG_DEPENDENCIES std_msgs)

repository: juliojn/eye-saccade

repo_name: juliojn/eye-saccade

extension: cmake


text:
package cmd

import (
	"fmt"

	"os"

	"github.com/drud/ddev/pkg/util"
	"github.com/spf13/cobra"
)

var skipConfirmation bool

// LocalDevRMCmd represents the stop command
var LocalDevRMCmd = &cobra.Command{
	Use:     "remove",
	Aliases: []string{"rm"},
	Short:   "Remove an application's local services.",
	Long:    `Remove will delete the local service containers from this machine.`,
	Run: func(cmd *cobra.Command, args []string) {
		app, err := getActiveApp()
		if err != nil {
			util.Failed("Failed to get active app: %v", err)
		}

		if app.SiteStatus() == "not found" {
			util.Failed("App not running locally. Try `ddev start`.")
		}

		if !skipConfirmation {
			fmt.Printf("Is it ok to remove the site %s with all of its containers? All data will be lost. (y/N): ", app.GetName())
			if !util.AskForConfirmation() {
				util.Warning("App removal canceled by user.")
				os.Exit(2)
			}
		}
		err = app.Down()
		if err != nil {
			util.Failed("Failed to remove %s: %s", app.GetName(), err)
		}

		util.Success("Successfully removed the %s application.\n", app.GetName())
	},
}

func init() {
	LocalDevRMCmd.Flags().BoolVarP(&skipConfirmation, "skip-confirmation", "y", false, "Skip confirmation step.")
	RootCmd.AddCommand(LocalDevRMCmd)
}

repository: tannerjfco/ddev

repo_name: tannerjfco/ddev


text:
// Jeebs Rapid Application Development
// Copyright (c) bfren - licensed under https://mit.bfren.dev/2013

using System;
using System.Globalization;

namespace Jeebs.Config.Web.Auth;

/// <summary>
/// Unknown / unsupported authentication scheme
/// </summary>
public sealed class UnsupportedAuthSchemeException : Exception
{
	/// <summary>
	/// Exception message format
	/// </summary>
	public static readonly string Format = "Unsupported auth scheme '{0}'.";

	/// <summary>
	/// Create exception
	/// </summary>
	public UnsupportedAuthSchemeException() { }

	/// <summary>
	/// Create exception
	/// </summary>
	/// <param name="scheme">Service type</param>
	public UnsupportedAuthSchemeException(string scheme) : base(string.Format(CultureInfo.InvariantCulture, Format, scheme)) { }

	/// <summary>
	/// Create exception
	/// </summary>
	/// <param name="message"></param>
	/// <param name="inner"></param>
	public UnsupportedAuthSchemeException(string message, Exception inner) : base(message, inner) { }
}

repository: bfren/jeebs

repo_name: bfren/jeebs

gha_language: C#

extension: cs


text:
// Copyright (c) 2019, The Emergent Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package kwta

import (
	"github.com/emer/etable/etensor"
	"github.com/goki/mat32"
)

// NeighInhib adds an additional inhibition factor based on the same
// feature along an orthogonal angle -- assumes inner-most X axis
// represents angle of gabor or related feature.
// This helps reduce redundancy of feature code.
type NeighInhib struct {

	// use neighborhood inhibition
	On bool `desc:"use neighborhood inhibition"`

	// [def: 0.6] overall value of the inhibition -- this is what is added into the unit Gi inhibition level
	Gi float32 `def:"0.6" desc:"overall value of the inhibition -- this is what is added into the unit Gi inhibition level"`
}

var (
	// ortho neighbor coordinates for 4 angles, also uses negated version
	//  .
	// --- = (0,1) (X,Y)
	// . /
	//  /  = (-1,1)
	// | .  = (1,0)
	//  \
	// . \  = (-1,-1)
	Neigh4X = []int{0, -1, 1, -1}
	Neigh4Y = []int{1, 1, 0, -1}
)

func (ni *NeighInhib) Defaults() {
	ni.On = true
	ni.Gi = 0.6
}

// Inhib4 computes the neighbor inhibition on activations
// into extGi.  If extGi is not same shape as act, it will be
// made so (most efficient to re-use same structure).
// Act must be a 4D tensor with features as inner 2D.
// 4 version ONLY works with 4 angles (inner-most feature dimension)
func (ni *NeighInhib) Inhib4(act, extGi *etensor.Float32) {
	if !extGi.Shape.IsEqual(&act.Shape) {
		extGi.SetShape(act.Shape.Shp, act.Shape.Strd, act.Shape.Nms)
	}
	gis := extGi.Values

	layY := act.Dim(0)
	layX := act.Dim(1)

	plY := act.Dim(2)
	plX := act.Dim(3)
	plN := plY * plX

	pi := 0
	for ly := 0; ly < layY; ly++ {
		for lx := 0; lx < layX; lx++ {
			pui := pi * plN
			ui := 0
			for py := 0; py < plY; py++ {
				for ang := 0; ang < plX; ang++ {
					idx := pui + ui
					gi := float32(0)
					npX := lx + Neigh4X[ang]
					npY := ly + Neigh4Y[ang]
					if npX >= 0 && npX < layX && npY >= 0 && npY < layY {
						gi = mat32.Max(gi, ni.Gi*act.Value([]int{npY, npX, py, ang}))
					}
					nnX := lx - Neigh4X[ang]
					nnY := ly - Neigh4Y[ang]
					if nnX >= 0 && nnX < layX && nnY >= 0 && nnY < layY {
						gi = mat32.Max(gi, ni.Gi*act.Value([]int{nnY, nnX, py, ang}))
					}
					gis[idx] = gi
					ui++
				}
			}
			pi++
		}
	}
}

repository: emer/vision

repo_name: emer/vision


text:
if(APPLE)
    # Detect if the "port" command is valid on this system; if so, return
    # full path.
    execute_process(
        COMMAND which port
        RESULT_VARIABLE DETECT_MACPORTS
        OUTPUT_VARIABLE MACPORTS_PREFIX
        ERROR_QUIET
        OUTPUT_STRIP_TRAILING_WHITESPACE
    )

    if(${DETECT_MACPORTS} EQUAL 0)
        # /opt/local/bin/port -> /opt/local/bin -> /opt/local
        get_filename_component(MACPORTS_PREFIX ${MACPORTS_PREFIX} DIRECTORY)
        get_filename_component(MACPORTS_PREFIX ${MACPORTS_PREFIX} DIRECTORY)

        set(CMAKE_PREFIX_PATH
            ${MACPORTS_PREFIX}
            ${CMAKE_PREFIX_PATH}
        )

        message(STATUS "Probing MacPorts installation in: ${MACPORTS_PREFIX}")
    endif()

    # TODO Also detect homebrew, using "brew --prefix"
endif()

# Variable that can be set in this module:
#
# DEVBASE_EXTERNAL_SOURCES
#   List with directory pathnames containing sources to document. These are
#   used to tell Doxygen which files to document.
# DEVBASE_DOXYGEN_EXTERNAL_SOURCES_FILE_PATTERNS
#   List with filename patterns of external sources to document. Only needed
#   for non-standard filename patterns. These are used to tell Doxygen which
#   files to document.

# Configure and find packages, configure project. ------------------------------
if(DEVBASE_BOOST_REQUIRED)
    set(Boost_USE_STATIC_LIBS OFF)
    set(Boost_USE_STATIC_RUNTIME OFF)
    add_definitions(
        # Use dynamic libraries.
        -DBOOST_ALL_DYN_LINK
        # Prevent auto-linking.
        -DBOOST_ALL_NO_LIB

        # No deprecated features.
        -DBOOST_FILESYSTEM_NO_DEPRECATED

        # -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING
        # -DBOOST_CHRONO_HEADER_ONLY
    )
    ### set(CMAKE_CXX_FLAGS_RELEASE
    ###     # Disable range checks in release builds.
    ###     "${CMAKE_CXX_FLAGS_RELEASE} -DBOOST_DISABLE_ASSERTS"
    ### )
    list(REMOVE_DUPLICATES DEVBASE_REQUIRED_BOOST_COMPONENTS)
    find_package(Boost
        ${DEVBASE_BOOST_VERSION}  # If set, minimum version of boost to find
        REQUIRED
        COMPONENTS ${DEVBASE_REQUIRED_BOOST_COMPONENTS})
    if(NOT Boost_FOUND)
        message(FATAL_ERROR "Boost not found")
    endif()
    message(STATUS "  includes : ${Boost_INCLUDE_DIRS}")
    message(STATUS "  libraries: ${Boost_LIBRARIES}")

    # In older versions of Boost, signal2's scoped_connection was not
    # movable. This has implications when storing these in a collection.
    if(Boost_VERSION VERSION_GREATER "105600")
        set(DEVBASE_BOOST_SCOPED_CONNECTION_IS_MOVABLE TRUE)
    else()
        set(DEVBASE_BOOST_SCOPED_CONNECTION_IS_MOVABLE FALSE)
    endif()

    # In older versions of Boost, lexical cast didn't provide
    # try_lexical_convert.
    if(Boost_VERSION VERSION_GREATER "105500")
        set(DEVBASE_BOOST_LEXICAL_CAST_PROVIDES_TRY_LEXICAL_CONVERT TRUE)
    else()
        set(DEVBASE_BOOST_LEXICAL_CAST_PROVIDES_TRY_LEXICAL_CONVERT FALSE)
    endif()
endif()

if(DEVBASE_CURL_REQUIRED)
    find_package(CURL REQUIRED)
endif()

if(DEVBASE_CURSES_REQUIRED)
    # set(CURSES_NEED_NCURSES TRUE)  # Assume we need this one for now.

    find_package(Curses REQUIRED)
    # Check CURSES_HAVE_NCURSES_H -> cursesw.h in .../include
    # Check CURSES_HAVE_NCURSES_NCURSES_H -> curses.h in .../ncursesw

    if(NOT DEFINED DEVBASE_CURSES_WIDE_CHARACTER_SUPPORT_REQUIRED)
        set(DEVBASE_CURSES_WIDE_CHARACTER_SUPPORT_REQUIRED TRUE)
    endif()

    if(DEVBASE_CURSES_WIDE_CHARACTER_SUPPORT_REQUIRED)
        set(CURSES_LIBRARIES formw menuw ncursesw)
    endif()
endif()

if(DEVBASE_DOCOPT_REQUIRED)
    find_package(Docopt REQUIRED)
endif()

if(DEVBASE_DOXYGEN_REQUIRED)
    find_package(Doxygen REQUIRED)

    if(NOT DOXYGEN_FOUND)
        message(FATAL_ERROR "Doxygen not found")
    endif()
endif()

if(DEVBASE_EXPAT_REQUIRED)
    find_package(EXPAT REQUIRED)
endif()

if(DEVBASE_FERN_REQUIRED)
    find_package(FERN REQUIRED)

    if(NOT FERN_FOUND)
        message(FATAL_ERROR "Fern not found")
    endif()
endif()

if(DEVBASE_FMT_REQUIRED)
    find_package(FMT REQUIRED)

    if(NOT FMT_FOUND)
        message(FATAL_ERROR "FMT not found")
    endif()
endif()

if(DEVBASE_GDAL_USEFUL OR DEVBASE_GDAL_REQUIRED)
    find_package(GDAL
        ${DEVBASE_REQUIRED_GDAL_VERSION})

    if(DEVBASE_GDAL_REQUIRED AND NOT GDAL_FOUND)
        message(FATAL_ERROR "GDAL not found")
    endif()

    find_program(GDAL_TRANSLATE gdal_translate
        HINTS ${GDAL_INCLUDE_DIR}/../bin
    )

    if(EXISTS "${GDAL_INCLUDE_DIR}/../share/gdal")
        set(GDAL_DATA "${GDAL_INCLUDE_DIR}/../share/gdal")
    elseif(EXISTS "${GDAL_INCLUDE_DIR}/../../share/gdal")
        set(GDAL_DATA "${GDAL_INCLUDE_DIR}/../../share/gdal")
    else()
        message(FATAL_ERROR "GDal data dir not found")
    endif()

    include(CheckGDalLibrary)
endif()

if(DEVBASE_GEOS_REQUIRED)
    find_package(GEOS REQUIRED)
endif()

if(DEVBASE_GRAPHVIZ_REQUIRED)
    find_package(Graphviz REQUIRED)

    if(GRAPHVIZ_FOUND)
        include(DevBaseGraphvizMacro)
    endif()
endif()

if(DEVBASE_GUIDELINE_SUPPORT_LIBRARY_REQUIRED)
    find_package(GuidelineSupportLibrary REQUIRED)
endif()

if(DEVBASE_HDF5_REQUIRED)
    list(REMOVE_DUPLICATES DEVBASE_REQUIRED_HDF5_COMPONENTS)
    find_package(HDF5 REQUIRED
        COMPONENTS ${DEVBASE_REQUIRED_HDF5_COMPONENTS})
    if(NOT HDF5_FOUND)
        message(FATAL_ERROR "HDF5 not found")
    endif()
    add_definitions(${HDF5_DEFINITIONS})
endif()

if(DEVBASE_HPX_USEFUL OR DEVBASE_HPX_REQUIRED)
    # http://stellar.cct.lsu.edu/files/hpx-0.9.99/html/hpx/manual/build_system/using_hpx/using_hpx_cmake.html
    # See lib/cmake/hpx/HPXTargets.cmake for names of HPX targets to link
    # against.

    if(DEVBASE_HPX_REQUIRED)
        find_package(HPX REQUIRED)
    else()
        find_package(HPX)

        if(NOT HPX_FOUND)
            message(STATUS "Could not find HPX")
        endif()
    endif()

    if(HPX_FOUND)
        message(STATUS "Found HPX")
        message(STATUS "  includes : ${HPX_INCLUDE_DIRS}")
        message(STATUS "  libraries: ${HPX_LIBRARIES}")

        # Check whether we are using the same build type as HPX
        if (NOT "${HPX_BUILD_TYPE}" STREQUAL "${CMAKE_BUILD_TYPE}")
            message(WARNING
                "CMAKE_BUILD_TYPE does not match HPX_BUILD_TYPE: "
                "\"${CMAKE_BUILD_TYPE}\" != \"${HPX_BUILD_TYPE}\"\n"
                "ABI compatibility is not guaranteed. Expect link errors.")
        endif()
    endif()
endif()

if(DEVBASE_IMAGE_MAGICK_REQUIRED)
    find_package(ImageMagick REQUIRED
        COMPONENTS convert)
endif()

if(DEVBASE_LATEX_REQUIRED)
    # TODO Find LaTeX.
    include(UseLATEX)
endif()

if(DEVBASE_LIB_XML2_REQUIRED)
    find_package(LibXml2 REQUIRED)
endif()

if(DEVBASE_LIB_XSLT_REQUIRED)
    find_package(LibXslt REQUIRED)

    if(DEVBASE_LIB_XSLT_XSLTPROC_REQUIRED)
        if(NOT LIBXSLT_XSLTPROC_EXECUTABLE)
            message(FATAL_ERROR "xsltproc executable not found")
        endif()
    endif()
endif()

if(DEVBASE_LINKCHECKER_REQUIRED)
    find_package(Linkchecker REQUIRED)

    if(LINKCHECKER_FOUND)
        include(DevBaseLinkcheckerMacro)
    endif()
endif()

if(DEVBASE_NLOHMANN_JSON_REQUIRED)
    find_package(nlohmann_json REQUIRED)
endif()

if(DEVBASE_LOKI_REQUIRED)
    find_package(Loki REQUIRED)
endif()

if(DEVBASE_MPI_REQUIRED)
    find_package(MPI REQUIRED)

    if(NOT MPI_C_FOUND)
        message(FATAL_ERROR "MPI for C not found")
    endif()
endif()

if(DEVBASE_NETCDF_REQUIRED)
    find_package(NetCDF REQUIRED)
    find_program(NCGEN ncgen
        HINTS ${NETCDF_INCLUDE_DIRS}/../bin
    )
    message(STATUS "Found NetCDF:")
    message(STATUS "  includes : ${NETCDF_INCLUDE_DIRS}")
    message(STATUS "  libraries: ${NETCDF_LIBRARIES}")
endif()

if(DEVBASE_NUMPY_REQUIRED)
    find_package(NumPy REQUIRED)
    # http://docs.scipy.org/doc/numpy-dev/reference/c-api.deprecations.html
    add_definitions(-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION)
endif()

if(DEVBASE_OPENGL_REQUIRED)
    find_package(OpenGL REQUIRED)
endif()

if(DEVBASE_PANDOC_REQUIRED)
    find_package(Pandoc REQUIRED)

    if(PANDOC_FOUND)
        include(DevBasePandocMacro)
    endif()
endif()

if(DEVBASE_PCRASTER_RASTER_FORMAT_REQUIRED)
    find_package(PCRasterRasterFormat REQUIRED)

    if(NOT PCRASTER_RASTER_FORMAT_FOUND)
        message(FATAL_ERROR "PCRaster Raster Format library not found")
    endif()

    message(STATUS "Found PCRaster Raster Format:")
    message(STATUS "  includes : ${PCRASTER_RASTER_FORMAT_INCLUDE_DIRS}")
    message(STATUS "  libraries: ${PCRASTER_RASTER_FORMAT_LIBRARIES}")
endif()

# This one first, before FindPythonLibs. See CMake docs.
if(DEVBASE_PYTHON_INTERP_REQUIRED)
    find_package(PythonInterp
        ${DEVBASE_REQUIRED_PYTHON_VERSION}
        REQUIRED
    )
endif()

if(DEVBASE_PYTHON_LIBS_REQUIRED)
    find_package(PythonLibs
        ${DEVBASE_REQUIRED_PYTHON_VERSION}
        REQUIRED
    )
endif()

# Pybind11 ships its own FindPython module. Keep this block after the above
# call to CMake's FindPython. Otherwise find_package(PythonLibs) fails (at
# least on macOS / MacPorts.
if(DEVBASE_PYBIND11_REQUIRED)
    find_package(pybind11 REQUIRED)
endif()

if(DEVBASE_QT_REQUIRED)
    if(NOT DEFINED DEVBASE_REQUIRED_QT_VERSION)
        set(DEVBASE_REQUIRED_QT_VERSION "5")
    endif()

    if(DEVBASE_REQUIRED_QT_VERSION VERSION_EQUAL "4")
        find_package(Qt4 REQUIRED)
        include(${QT_USE_FILE})

        # Explicitly configure Qt's include directory. This is also done in
        # ${QT_USE_FILE} above, but we want to shove the SYSTEM option in.
    else()
        # http://doc.qt.io/qt-5/cmake-manual.html

        ### # Find includes in corresponding build directories
        ### set(CMAKE_INCLUDE_CURRENT_DIR ON)

        ### # Instruct CMake to run moc automatically when needed.
        ### set(CMAKE_AUTOMOC ON)

        list(REMOVE_DUPLICATES DEVBASE_REQUIRED_QT_COMPONENTS)
        find_package(Qt5 REQUIRED COMPONENTS ${DEVBASE_REQUIRED_QT_COMPONENTS})

        foreach(component ${DEVBASE_REQUIRED_QT_COMPONENTS})
            if(NOT Qt5${component}_FOUND)
                message(FATAL_ERROR "Qt5${component} not found")
            endif()
            message(STATUS "Found Qt5${component}: ${Qt5${component}_VERSION}")
            message(STATUS "  includes : ${Qt5${component}_INCLUDE_DIRS}")
            message(STATUS "  libraries: ${Qt5${component}_LIBRARIES}")
        endforeach()
    endif()
endif()

if(DEVBASE_QWT_REQUIRED)
    find_package(Qwt REQUIRED)

    if(NOT QWT_FOUND)
        message(FATAL_ERROR "Qwt not found")
    endif()

    message(STATUS "Found Qwt:")
    message(STATUS "  includes : ${QWT_INCLUDE_DIRS}")
    message(STATUS "  libraries: ${QWT_LIBRARIES}")
endif()

if(DEVBASE_READLINE_REQUIRED)
    find_package(Readline REQUIRED)
endif()

if(DEVBASE_SPHINX_REQUIRED)
    # TODO Find Sphinx Python package.
    include(SphinxDoc)

    if(NOT SPHINX_BUILD_EXECUTABLE OR NOT SPHINX_APIDOC_EXECUTABLE)
        message(FATAL_ERROR "sphinx not found")
    endif()
endif()

if(DEVBASE_SQLITE_REQUIRED)
    find_package(SQLite3 REQUIRED)
endif()

if(DEVBASE_SWIG_REQUIRED)
    find_package(SWIG REQUIRED)
endif()

if(DEVBASE_XERCES_REQUIRED)
    find_package(XercesC REQUIRED)
endif()

if(DEVBASE_XSD_REQUIRED)
    find_package(XSD REQUIRED)
    list(APPEND DEVBASE_EXTERNAL_SOURCES ${XSD_INCLUDE_DIRS})
    list(APPEND DEVBASE_DOXYGEN_EXTERNAL_SOURCES_FILE_PATTERNS *.ixx)
    list(APPEND DEVBASE_DOXYGEN_EXTERNAL_SOURCES_FILE_PATTERNS *.txx)
    message(STATUS "Found XSD:")
    message(STATUS "  includes  : ${XSD_INCLUDE_DIRS}")
    message(STATUS "  executable: ${XSD_EXECUTABLE}")
endif()

# Turn list into a space-separated string. This string is used by
# DoxygenDoc.cmake.
string(REPLACE ";" " " DEVBASE_DOXYGEN_EXTERNAL_SOURCES_FILE_PATTERNS
    "${DEVBASE_DOXYGEN_EXTERNAL_SOURCES_FILE_PATTERNS}")

function(__deprecated_var var access)
    if(access STREQUAL "READ_ACCESS")
        message(DEPRECATION
            "The variable '${var}' is deprecated!")
    endif()
endfunction()

variable_watch(DEVBASE_EXTERNAL_LIBRARIES __deprecated_var)

repository: geoneric/devbase

repo_name: geoneric/devbase

gha_language: CMake


text:
// The Lithopia project initiated by Jeong-Mo Hong for 3D Printing Community.
// Copyright (c) 2015 Jeong-Mo Hong - All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
#pragma once

#include <assert.h>

#define MAX(a, b)							((a) > (b) ? (a) : (b))

template<class TT>
class DynamicArray
{
public:
	int num_elements_;// number of all elements, i.e. last index is num_element - 1.
	int array_size_;// size of val Array1D. array_size >= num_element

	TT *values_;

public:
	int num_resize_;// number of adding memory size when reinitialized due to the lack of memory size.

public:
// 	DYNAMIC_ARRAY(void)
// 		: num_elements_(0), array_size_(0), values_(0), num_resize_(1)
// 	{}

	DynamicArray(const int& array_size = 0, const int& num_resize = 1)
		: num_elements_(0), array_size_(array_size), values_(0), num_resize_(num_resize)
	{
		Initialize(array_size_, num_resize_);
	}

	~DynamicArray(void)
	{
		SAFE_DELETE_ARRAY(values_);
	}

public:
	void Initialize(const int& array_size_input = 0, const int& num_resize_input = 1)
	{
		assert(array_size_input >= 0 && num_resize_input > 0);	// allows the number of Array1D elements to be zero

		array_size_ = array_size_input;
		num_resize_ = num_resize_input;

		if(values_ != 0)
		{
			delete [] values_;
			values_ = 0;
		}

		if(array_size_ > 0)
			values_ = new TT [array_size_];

		num_elements_ = 0;
	}

	void Realocate(const int& array_size_input)
	{
		assert(array_size_input >= num_elements_);	// not to lose existing data

		array_size_ = MAX(array_size_input, 1);		// Array1D size should be 0 at least.

		TT *new_array = new TT [array_size_];		// allocate memory for new Array1D

		for(int i = 0; i < num_elements_; i++) new_array[i] = values_[i];// copy existing data

		delete [] values_;
		values_ = new_array;
	}

	void ResizeAsReservedArray(const int& array_size_input)
	{
		if(array_size_ < array_size_input) Initialize(array_size_input);

		num_elements_ = array_size_input;
	}

	void ReserveAndEmptify(const int& array_size_input)
	{
		if(array_size_ < array_size_input) Initialize(array_size_input);

		num_elements_ = 0;
	}

	void Minimize()// reallocate array_size to num_elements (or + 1)
	{
		assert(num_elements_ <= array_size_);

		if(num_elements_ == array_size_) return;

		TT *new_array = new TT [num_elements_];// reallocate memory for larger Array1D
		for(int i=0; i < num_elements_; i++) new_array[i] = values_[i];// copy existing data
		array_size_ = num_elements_;
		delete [] values_;
		values_ = new_array;
	}

	void Push(const TT& data_input)
	{
		if(array_size_ > num_elements_)
		{
			values_[num_elements_] = data_input;
			num_elements_ ++;
		}
		else
		{
			Realocate(array_size_ + num_resize_);

			values_[num_elements_] = data_input;
			num_elements_ ++;
		}
	}

	TT& Push()
	{
		if(array_size_ > num_elements_) num_elements_ ++;
		else
		{
			Realocate(array_size_ + num_resize_);
			num_elements_ ++;
		}

		return values_[num_elements_-1];
	}

	bool Pop(TT& data_output)
	{
		if(num_elements_ > 0)
		{
			data_output = values_[num_elements_-1];
			num_elements_ --;

			return true;
		}
		else
			return false;
	}

	TT Pop()						//NOTE: check num_elements before use this Pop() function.
	{
		assert(num_elements_ > 0);

		return values_[--num_elements_];
	}

	void Emptify()				//NOTE: this function does not return memory to OS.
	{
		num_elements_ = 0;
	}

	inline void Reset()			//NOTE: this function returns memory to OS.
	{
		if(values_ == 0) return;

		delete [] values_;

		values_ = 0;

		num_elements_ = 0;// do not delete or reinitialize Array1D for efficiency
		array_size_ = 0;// allows the number of elements to be zero
	}

	inline TT& operator[](const int& i) const
	{
		assert(i >= 0 && i < num_elements_);

		return values_[i];
	}
};

repository: jmhong-simulation/LithopiaOpen

repo_name: jmhong-simulation/LithopiaOpen

extension: h


text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.4.2">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.1" unitdist="mm" unit="mm" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="mm" altunit="mm"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<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="24" 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="no" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="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="no" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
<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="88" name="SimResults" color="9" fill="1" visible="no" active="no"/>
<layer number="89" name="SimProbes" color="9" 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"/>
</layers>
<board>
<plain>
<wire x1="0.098309375" y1="29.195" x2="0.098309375" y2="10.9998" width="0.1524" layer="20"/>
<wire x1="0.098309375" y1="10.9998" x2="19.9849" y2="10.9998" width="0.1524" layer="20"/>
<wire x1="19.9849" y1="10.9998" x2="19.9849" y2="0.85" width="0.1524" layer="20"/>
<wire x1="19.9849" y1="0.85" x2="42.36" y2="0.85" width="0.1524" layer="20"/>
<wire x1="42.36" y1="0.85" x2="42.36" y2="41.7" width="0.1524" layer="20"/>
<wire x1="42.36" y1="41.7" x2="31.9711" y2="41.7" width="0.1524" layer="20"/>
<wire x1="31.9711" y1="41.7" x2="31.9711" y2="36.1334" width="0.1524" layer="20"/>
<wire x1="31.9711" y1="36.1334" x2="15.0421" y2="36.1334" width="0.1524" layer="20"/>
<wire x1="15.0421" y1="36.1334" x2="15.0421" y2="43.5054" width="0.1524" layer="20"/>
<wire x1="15.0421" y1="43.5054" x2="5.318390625" y2="43.5054" width="0.1524" layer="20"/>
<wire x1="5.318390625" y1="43.5054" x2="0.098309375" y2="29.195" width="0.1524" layer="20"/>
</plain>
<libraries>
<library name="SamacSys_Parts">
<description>https://componentsearchengine.com

<author>Created by SamacSys</author></description>
<packages>
<package name="SHDR7W50P0X150_1X7_1200X350X45">
<description>B7B-ZR

</description>
<pad name="1" x="0" y="0" drill="0.7" diameter="1.1" shape="square"/>
<pad name="2" x="1.5" y="0" drill="0.7" diameter="1.1"/>
<pad name="3" x="3" y="0" drill="0.7" diameter="1.1"/>
<pad name="4" x="4.5" y="0" drill="0.7" diameter="1.1"/>
<pad name="5" x="6" y="0" drill="0.7" diameter="1.1"/>
<pad name="6" x="7.5" y="0" drill="0.7" diameter="1.1"/>
<pad name="7" x="9" y="0" drill="0.7" diameter="1.1"/>
<text x="0" y="0" size="1.27" layer="25" align="center">>NAME</text>
<text x="0" y="0" size="1.27" layer="27" align="center">>VALUE</text>
<wire x1="-1.75" y1="-2.45" x2="-1.75" y2="1.55" width="0.05" layer="51"/>
<wire x1="-1.75" y1="1.55" x2="10.75" y2="1.55" width="0.05" layer="51"/>
<wire x1="10.75" y1="1.55" x2="10.75" y2="-2.45" width="0.05" layer="51"/>
<wire x1="10.75" y1="-2.45" x2="-1.75" y2="-2.45" width="0.05" layer="51"/>
<wire x1="-1.5" y1="-2.2" x2="-1.5" y2="1.3" width="0.1" layer="51"/>
<wire x1="-1.5" y1="1.3" x2="10.5" y2="1.3" width="0.1" layer="51"/>
<wire x1="10.5" y1="1.3" x2="10.5" y2="-2.2" width="0.1" layer="51"/>
<wire x1="10.5" y1="-2.2" x2="-1.5" y2="-2.2" width="0.1" layer="51"/>
<wire x1="0" y1="-2.2" x2="10.5" y2="-2.2" width="0.2" layer="21"/>
<wire x1="10.5" y1="-2.2" x2="10.5" y2="1.3" width="0.2" layer="21"/>
<wire x1="10.5" y1="1.3" x2="-1.5" y2="1.3" width="0.2" layer="21"/>
<wire x1="-1.5" y1="1.3" x2="-1.5" y2="0" width="0.2" layer="21"/>
</package>
</packages>
</library>
<library name="IR928-6C-F">
<packages>
<package name="IR928-6C-F">
<wire x1="2.35" y1="0.6" x2="2.35" y2="-1.2" width="0.1" layer="21"/>
<wire x1="2.35" y1="-1.2" x2="2.35" y2="-2" width="0.1" layer="21"/>
<wire x1="2.35" y1="-2" x2="0" y2="-2" width="0.1" layer="21"/>
<wire x1="-0.1" y1="-2" x2="-2.35" y2="-2" width="0.1" layer="21"/>
<wire x1="-2.35" y1="-2" x2="-2.35" y2="-1.2" width="0.1" layer="21"/>
<wire x1="-2.35" y1="-1.2" x2="-2.35" y2="0.6" width="0.1" layer="21"/>
<wire x1="-2.35" y1="0.6" x2="2.35" y2="0.6" width="0.1" layer="21"/>
<pad name="CATHODE" x="-1.27" y="0" drill="0.7" shape="square"/>
<pad name="ANODE" x="1.27" y="0" drill="0.7" rot="R180"/>
<wire x1="-2.35" y1="-1.2" x2="-0.9" y2="-1.2" width="0.1" layer="21"/>
<wire x1="-0.9" y1="-1.2" x2="0.8" y2="-1.2" width="0.1" layer="21"/>
<wire x1="0.8" y1="-1.2" x2="2.35" y2="-1.2" width="0.1" layer="21"/>
<wire x1="-0.9" y1="-1.2" x2="-0.1" y2="-2" width="0.1" layer="21" curve="90"/>
<wire x1="-0.1" y1="-2" x2="0" y2="-2" width="0.1" layer="21"/>
<wire x1="0" y1="-2" x2="0.8" y2="-1.2" width="0.1" layer="21" curve="90"/>
<text x="-2.4" y="0.7" size="1.016" layer="27">>VALUE</text>
</package>
</packages>
</library>
<library name="PT908-7B-F">
<packages>
<package name="PT908-7B-F">
<pad name="EMITTER" x="-1.27" y="0" drill="0.7" shape="square"/>
<pad name="COLLECTOR" x="1.27" y="0" drill="0.7"/>
<wire x1="-2.3" y1="0.75" x2="2.3" y2="0.75" width="0.127" layer="21"/>
<wire x1="2.3" y1="0.75" x2="2.3" y2="-0.85" width="0.127" layer="21"/>
<wire x1="2.3" y1="-0.85" x2="-2.3" y2="-0.85" width="0.127" layer="21"/>
<wire x1="-2.3" y1="-0.85" x2="-2.3" y2="0.75" width="0.127" layer="21"/>
<wire x1="0" y1="-1.55" x2="0.6" y2="-0.95" width="0.127" layer="21" curve="90"/>
<wire x1="0.6" y1="-0.95" x2="0.6" y2="-0.9" width="0.127" layer="21"/>
<wire x1="0" y1="-1.55" x2="-0.6" y2="-0.95" width="0.127" layer="21" curve="-90"/>
<wire x1="-0.6" y1="-0.95" x2="-0.6" y2="-0.9" width="0.127" layer="21"/>
<text x="-2.3" y="0.8" size="1.016" layer="27">>VALUE</text>
</package>
</packages>
</library>
<library name="9 pin resistor network">
<description><Resistor Networks & Arrays 9pin 2Kohms Bussed Low Profile

<author>Created by SamacSys</author></description>
<packages>
<package name="9PIN-RESISTOR-NETWORK">
<description>9pin-resistor-network
</description>
<pad name="1" x="0" y="0" drill="0.7" shape="square"/>
<pad name="2" x="2.54" y="0" drill="0.7"/>
<pad name="3" x="5.08" y="0" drill="0.7"/>
<pad name="4" x="7.62" y="0" drill="0.7"/>
<pad name="5" x="10.16" y="0" drill="0.7"/>
<pad name="6" x="12.7" y="0" drill="0.7"/>
<pad name="7" x="15.24" y="0" drill="0.7"/>
<pad name="8" x="17.78" y="0" drill="0.7"/>
<pad name="9" x="20.32" y="0" drill="0.7"/>
<text x="16.03966875" y="2.27766875" size="1.27" layer="27" align="center">>VALUE</text>
<text x="7.14966875" y="2.27766875" size="1.27" layer="25" align="center">>NAME</text>
<wire x1="21.565" y1="-1.245" x2="-1.245" y2="-1.245" width="0.2" layer="21"/>
<wire x1="-1.245" y1="-1.245" x2="-1.245" y2="1.245" width="0.2" layer="21"/>
<wire x1="-1.245" y1="1.245" x2="21.565" y2="1.245" width="0.2" layer="21"/>
<wire x1="21.565" y1="1.245" x2="21.565" y2="-1.245" width="0.2" layer="21"/>
<wire x1="21.565" y1="-1.245" x2="-1.245" y2="-1.245" width="0.2" layer="51"/>
<wire x1="-1.245" y1="-1.245" x2="-1.245" y2="1.245" width="0.2" layer="51"/>
<wire x1="-1.245" y1="1.245" x2="21.565" y2="1.245" width="0.2" layer="51"/>
<wire x1="21.565" y1="1.245" x2="21.565" y2="-1.245" width="0.2" 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="6mil"/>
<param name="mdWirePad" value="6mil"/>
<param name="mdWireVia" value="6mil"/>
<param name="mdPadPad" value="6mil"/>
<param name="mdPadVia" value="6mil"/>
<param name="mdViaVia" value="6mil"/>
<param name="mdSmdPad" value="6mil"/>
<param name="mdSmdVia" value="6mil"/>
<param name="mdSmdSmd" value="6mil"/>
<param name="mdViaViaSameLayer" value="6mil"/>
<param name="mnLayersViaInSmd" value="2"/>
<param name="mdCopperDimension" value="40mil"/>
<param name="mdDrill" value="6mil"/>
<param name="mdSmdStop" value="0mil"/>
<param name="msWidth" value="6mil"/>
<param name="msDrill" value="0.35mm"/>
<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="a"/>
<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="a"/>
<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="J1" library="SamacSys_Parts" package="SHDR7W50P0X150_1X7_1200X350X45" value="B7B-ZR_(LF)(SN)" x="23.13" y="5.87" smashed="yes" rot="MR180">
<attribute name="DESCRIPTION" value="Connector,Multipole,PCB use,B7B-ZR (LF)( JST ZH Series, 1.5mm Pitch 7 Way 1 Row Straight PCB Header, Solder Termination, 1A" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="HEIGHT" value="4.5mm" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="MANUFACTURER_NAME" value="JST (JAPAN SOLDERLESS TERMINALS)" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="MANUFACTURER_PART_NUMBER" value="B7B-ZR (LF)(SN)" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="MOUSER_PART_NUMBER" value="" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="MOUSER_PRICE-STOCK" value="" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="NAME" x="25.13" y="3.87" size="1.27" layer="26" rot="MR180" align="center"/>
<attribute name="RS_PART_NUMBER" value="7620828" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="RS_PRICE-STOCK" value="https://uk.rs-online.com/web/p/products/7620828" x="47.26" y="30" size="1.778" layer="28" rot="MR180" display="off"/>
<attribute name="VALUE" x="28.13" y="7.87" size="1.27" layer="28" rot="MR180" align="center"/>
</element>
<element name="LED1" library="IR928-6C-F" package="IR928-6C-F" value="Center" x="28.2504" y="22.5" smashed="yes" rot="R270">
<attribute name="VALUE" x="28.9504" y="24.9" size="1.016" layer="27" rot="R270"/>
</element>
<element name="LED2" library="IR928-6C-F" package="IR928-6C-F" value="North East" x="39.3253" y="28.5752" smashed="yes" rot="R180">
<attribute name="VALUE" x="41.7253" y="27.8752" size="1.016" layer="27" rot="R180"/>
</element>
<element name="LED3" library="IR928-6C-F" package="IR928-6C-F" value="South East" x="39.3253" y="2.57501875" smashed="yes" rot="R180">
<attribute name="VALUE" x="41.7253" y="1.87501875" size="1.016" layer="27" rot="R180"/>
</element>
<element name="LED4" library="IR928-6C-F" package="IR928-6C-F" value="South West" x="3.07535" y="24.425" smashed="yes">
<attribute name="VALUE" x="0.67535" y="25.125" size="1.016" layer="27"/>
</element>
<element name="LED5" library="IR928-6C-F" package="IR928-6C-F" value="North West" x="7.58146875" y="41.0286" smashed="yes" rot="R340">
<attribute name="VALUE" x="5.565615625" y="42.50723125" size="1.016" layer="27" rot="R340"/>
</element>
<element name="PT1" library="PT908-7B-F" package="PT908-7B-F" value="Center" x="19.0503" y="22.5" smashed="yes" rot="R90">
<attribute name="VALUE" x="18.2503" y="20.2" size="1.016" layer="27" rot="R90"/>
</element>
<element name="PT2" library="PT908-7B-F" package="PT908-7B-F" value="North East" x="39.3253" y="39.9" smashed="yes">
<attribute name="VALUE" x="37.025296875" y="40.699996875" size="1.016" layer="27"/>
</element>
<element name="PT3" library="PT908-7B-F" package="PT908-7B-F" value="South East" x="39.3253" y="13.9" smashed="yes">
<attribute name="VALUE" x="37.0253" y="14.7" size="1.016" layer="27"/>
</element>
<element name="PT4" library="PT908-7B-F" package="PT908-7B-F" value="South West" x="3.07535" y="13.1" smashed="yes" rot="R180">
<attribute name="VALUE" x="5.37535" y="12.3" size="1.016" layer="27" rot="R180"/>
</element>
<element name="PT5" library="PT908-7B-F" package="PT908-7B-F" value="North West" x="3.708209375" y="30.3866" smashed="yes" rot="R160">
<attribute name="VALUE" x="5.595884375" y="28.848196875" size="1.016" layer="27" rot="R160"/>
</element>
<element name="RN1" library="9 pin resistor network" package="9PIN-RESISTOR-NETWORK" value="150R" x="34.06" y="15.44" smashed="yes" rot="R90">
<attribute name="HEIGHT" value="mm" x="36" y="51" size="1.778" layer="27" rot="R90" display="off"/>
<attribute name="NAME" x="32.32233125" y="17.85966875" size="1.27" layer="25" rot="R90" align="center"/>
<attribute name="VALUE" x="32.32233125" y="29.85966875" size="1.27" layer="27" rot="R90" align="center"/>
</element>
</elements>
<signals>
<signal name="N$1">
<contactref element="J1" pad="1"/>
<contactref element="RN1" pad="1"/>
<wire x1="23.13" y1="5.87" x2="23.13" y2="2.87" width="0.1524" layer="1"/>
<wire x1="23.13" y1="2.87" x2="23.8116" y2="2.1884" width="0.1524" layer="1"/>
<wire x1="34.1884" y1="2.1884" x2="35" y2="3" width="0.1524" layer="1"/>
<wire x1="35" y1="3" x2="35" y2="14.5" width="0.1524" layer="1"/>
<wire x1="35" y1="14.5" x2="34.06" y2="15.44" width="0.1524" layer="1"/>
<wire x1="23.8116" y1="2.1884" x2="34.1884" y2="2.1884" width="0.1524" layer="1"/>
</signal>
<signal name="N$2">
<contactref element="LED5" pad="CATHODE"/>
<contactref element="RN1" pad="3"/>
<wire x1="34" y1="20.52" x2="34.06" y2="20.52" width="0.1524" layer="1"/>
<wire x1="34" y1="20.52" x2="32.297128125" y2="22.222871875" width="0.1524" layer="1"/>
<wire x1="32.297128125" y1="22.222871875" x2="25.628146875" y2="22.222871875" width="0.1524" layer="1"/>
<wire x1="25.628146875" y1="22.222871875" x2="6.38805625" y2="41.4629625" width="0.1524" layer="1"/>
</signal>
<signal name="N$3">
<contactref element="LED4" pad="CATHODE"/>
<contactref element="RN1" pad="2"/>
<wire x1="1.80535" y1="24.425" x2="8.25035" y2="17.98" width="0.1524" layer="1"/>
<wire x1="8.25035" y1="17.98" x2="34.06" y2="17.98" width="0.1524" layer="1"/>
</signal>
<signal name="N$4">
<contactref element="RN1" pad="4"/>
<contactref element="LED3" pad="CATHODE"/>
<wire x1="34.06" y1="23.06" x2="37" y2="20.12" width="0.1524" layer="1"/>
<wire x1="37" y1="6.17031875" x2="40.5953" y2="2.57501875" width="0.1524" layer="1"/>
<wire x1="37" y1="20.12" x2="37" y2="6.17031875" width="0.1524" layer="1"/>
</signal>
<signal name="N$5">
<contactref element="LED2" pad="CATHODE"/>
<contactref element="RN1" pad="5"/>
<wire x1="40.5953" y1="28.5752" x2="37.6201" y2="25.6" width="0.1524" layer="1"/>
<wire x1="37.6201" y1="25.6" x2="34.06" y2="25.6" width="0.1524" layer="1"/>
</signal>
<signal name="N$6">
<contactref element="RN1" pad="6"/>
<contactref element="LED1" pad="CATHODE"/>
<wire x1="28.2504" y1="23.77" x2="32.6204" y2="28.14" width="0.1524" layer="1"/>
<wire x1="32.6204" y1="28.14" x2="34.06" y2="28.14" width="0.1524" layer="1"/>
</signal>
<signal name="N$7">
<contactref element="J1" pad="2"/>
<contactref element="LED1" pad="ANODE"/>
<contactref element="LED5" pad="ANODE"/>
<contactref element="LED4" pad="ANODE"/>
<contactref element="LED3" pad="ANODE"/>
<contactref element="LED2" pad="ANODE"/>
<contactref element="PT5" pad="COLLECTOR"/>
<contactref element="PT4" pad="COLLECTOR"/>
<contactref element="PT3" pad="COLLECTOR"/>
<contactref element="PT2" pad="COLLECTOR"/>
<contactref element="PT1" pad="COLLECTOR"/>
<wire x1="40.5953" y1="39.9" x2="40.5953" y2="31.1152" width="0.1524" layer="1"/>
<wire x1="40.5953" y1="31.1152" x2="38.0553" y2="28.5752" width="0.1524" layer="1"/>
<wire x1="38.0553" y1="2.57501875" x2="38.0553" y2="7.0553" width="0.1524" layer="16"/>
<wire x1="40.5953" y1="9.5953" x2="40.5953" y2="13.9" width="0.1524" layer="16"/>
<wire x1="38.0553" y1="7.0553" x2="40.5953" y2="9.5953" width="0.1524" layer="16"/>
<wire x1="38.0553" y1="28.5752" x2="38.0553" y2="22.9447" width="0.1524" layer="16"/>
<wire x1="40.5953" y1="20.4047" x2="40.5953" y2="13.9" width="0.1524" layer="16"/>
<wire x1="38.0553" y1="22.9447" x2="40.5953" y2="20.4047" width="0.1524" layer="16"/>
<wire x1="19.0503" y1="23.77" x2="22.23" y2="23.77" width="0.1524" layer="1"/>
<wire x1="24.77" y1="21.23" x2="28.2504" y2="21.23" width="0.1524" layer="1"/>
<wire x1="22.23" y1="23.77" x2="24.77" y2="21.23" width="0.1524" layer="1"/>
<wire x1="2.514796875" y1="30.8209625" x2="8.774878125" y2="37.08104375" width="0.1524" layer="16"/>
<wire x1="8.774878125" y1="37.08104375" x2="8.774878125" y2="40.594234375" width="0.1524" layer="16"/>
<wire x1="4.34535" y1="24.425" x2="4.34535" y2="21.34535" width="0.1524" layer="16"/>
<wire x1="1.80535" y1="18.80535" x2="1.80535" y2="13.1" width="0.1524" layer="16"/>
<wire x1="4.34535" y1="21.34535" x2="1.80535" y2="18.80535" width="0.1524" layer="16"/>
<wire x1="2.514796875" y1="30.8209625" x2="2.514796875" y2="26.255553125" width="0.1524" layer="1"/>
<wire x1="2.514796875" y1="26.255553125" x2="4.34535" y2="24.425" width="0.1524" layer="1"/>
<wire x1="4.34535" y1="24.425" x2="5.00035" y2="23.77" width="0.1524" layer="1"/>
<wire x1="5.00035" y1="23.77" x2="19.0503" y2="23.77" width="0.1524" layer="1"/>
<wire x1="24.63" y1="5.87" x2="24.75" y2="5.75" width="0.1524" layer="16"/>
<wire x1="24.75" y1="5.75" x2="27.92498125" y2="2.57501875" width="0.1524" layer="16"/>
<wire x1="27.92498125" y1="2.57501875" x2="38.0553" y2="2.57501875" width="0.1524" layer="16"/>
<wire x1="4.34535" y1="21.34535" x2="8.6907" y2="17" width="0.1524" layer="16"/>
<wire x1="15.637078125" y1="17" x2="24.75" y2="7.887078125" width="0.1524" layer="16"/>
<wire x1="8.6907" y1="17" x2="15.637078125" y2="17" width="0.1524" layer="16"/>
<wire x1="24.75" y1="7.887078125" x2="24.75" y2="5.75" width="0.1524" layer="16"/>
</signal>
<signal name="N$8">
<contactref element="PT1" pad="EMITTER"/>
<contactref element="J1" pad="4"/>
<wire x1="19.0503" y1="21.23" x2="19.0503" y2="18.4497" width="0.1524" layer="16"/>
<wire x1="27.63" y1="9.87" x2="27.63" y2="5.87" width="0.1524" layer="16"/>
<wire x1="27.63" y1="9.87" x2="19.0503" y2="18.4497" width="0.1524" layer="16"/>
</signal>
<signal name="N$9">
<contactref element="PT2" pad="EMITTER"/>
<wire x1="36" y1="11.24" x2="36" y2="37.8447" width="0.1524" layer="16"/>
<wire x1="36" y1="37.8447" x2="38.0553" y2="39.9" width="0.1524" layer="16"/>
<contactref element="J1" pad="6"/>
<wire x1="30.63" y1="5.87" x2="36" y2="11.24" width="0.1524" layer="16"/>
</signal>
<signal name="N$10">
<contactref element="PT3" pad="EMITTER"/>
<wire x1="38.0553" y1="9.0553" x2="38.0553" y2="13.9" width="0.1524" layer="16"/>
<contactref element="J1" pad="5"/>
<wire x1="29.13" y1="5.87" x2="29.452525" y2="5.87" width="0.1524" layer="16"/>
<wire x1="29.452525" y1="5.87" x2="30.285125" y2="5.0374" width="0.1524" layer="16"/>
<wire x1="30.285125" y1="5.0374" x2="34.0374" y2="5.0374" width="0.1524" layer="16"/>
<wire x1="34.0374" y1="5.0374" x2="38.0553" y2="9.0553" width="0.1524" layer="16"/>
</signal>
<signal name="N$11">
<contactref element="PT4" pad="EMITTER"/>
<wire x1="4.34535" y1="13.1" x2="5.27714375" y2="12.16820625" width="0.1524" layer="1"/>
<wire x1="5.27714375" y1="12.16820625" x2="20" y2="12.16820625" width="0.1524" layer="1"/>
<wire x1="20" y1="12.16820625" x2="20.468871875" y2="12.16820625" width="0.1524" layer="1"/>
<contactref element="J1" pad="7"/>
<wire x1="20.468871875" y1="12.16820625" x2="28.83179375" y2="12.16820625" width="0.1524" layer="1"/>
<wire x1="32.13" y1="8.87" x2="32.13" y2="5.87" width="0.1524" layer="1"/>
<wire x1="28.83179375" y1="12.16820625" x2="32.13" y2="8.87" width="0.1524" layer="1"/>
</signal>
<signal name="N$12">
<contactref element="PT5" pad="EMITTER"/>
<contactref element="J1" pad="3"/>
<wire x1="4.90161875" y1="29.952234375" x2="5.047765625" y2="29.952234375" width="0.1524" layer="16"/>
<wire x1="26.13" y1="8.87" x2="26.13" y2="5.87" width="0.1524" layer="16"/>
<wire x1="26.13" y1="8.87" x2="5.047765625" y2="29.952234375" width="0.1524" layer="16"/>
</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>
</board>
</drawing>
</eagle>

repository: azat-dev/lalboard

path: /eagle/left thumb.brd

repo_name: azat-dev/lalboard

extension: brd

filename: left thumb.brd