text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.7.0">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.065" unitdist="mm" unit="mm" style="lines" multiple="1" display="no" altdistance="0.025" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="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="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/>
<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/>
<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/>
<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/>
<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/>
<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/>
<layer number="90" name="Modules" color="5" fill="1" visible="no" active="no"/>
<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/>
<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/>
<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/>
<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/>
<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/>
<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/>
<layer number="99" name="SpiceOrder" color="5" fill="1" visible="no" active="no"/>
<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/>
<layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/>
<layer number="102" name="Vscore" color="7" fill="1" visible="yes" active="yes"/>
<layer number="103" name="fp3" color="7" fill="1" visible="no" active="yes"/>
<layer number="104" name="Name" color="7" fill="1" visible="yes" active="yes"/>
<layer number="105" name="Beschreib" color="9" fill="1" visible="yes" active="yes"/>
<layer number="106" name="BGA-Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="107" name="BD-Top" color="5" fill="1" visible="yes" active="yes"/>
<layer number="108" name="fp8" color="7" fill="1" visible="no" active="yes"/>
<layer number="109" name="fp9" color="7" fill="1" visible="no" active="yes"/>
<layer number="110" name="fp0" color="7" fill="1" visible="no" active="yes"/>
<layer number="111" name="LPC17xx" color="7" fill="1" visible="yes" active="yes"/>
<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="113" name="ReferenceLS" color="7" fill="1" visible="yes" active="yes"/>
<layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/>
<layer number="118" name="Rect_Pads" color="7" fill="1" visible="yes" active="yes"/>
<layer number="121" name="_tsilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="122" name="_bsilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="yes"/>
<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="yes"/>
<layer number="125" name="_tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="126" name="_bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="127" name="_tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="128" name="_bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="129" name="Mask" color="7" fill="1" visible="yes" active="yes"/>
<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="yes"/>
<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="yes"/>
<layer number="144" name="Drill_legend" color="7" fill="1" visible="yes" active="yes"/>
<layer number="150" name="Notes" color="7" fill="1" visible="yes" active="yes"/>
<layer number="151" name="HeatSink" color="7" fill="1" visible="yes" active="yes"/>
<layer number="152" name="_bDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/>
<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/>
<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/>
<layer number="199" name="Contour" color="7" fill="1" visible="yes" active="yes"/>
<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="no"/>
<layer number="201" name="201bmp" color="2" fill="1" visible="no" active="no"/>
<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/>
<layer number="203" name="203bmp" color="4" fill="10" visible="yes" active="yes"/>
<layer number="204" name="204bmp" color="5" fill="10" visible="yes" active="yes"/>
<layer number="205" name="205bmp" color="6" fill="10" visible="yes" active="yes"/>
<layer number="206" name="206bmp" color="7" fill="10" visible="yes" active="yes"/>
<layer number="207" name="207bmp" color="8" fill="10" visible="yes" active="yes"/>
<layer number="208" name="208bmp" color="9" fill="10" visible="yes" active="yes"/>
<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="yes"/>
<layer number="211" name="211bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="212" name="212bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="213" name="213bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="214" name="214bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="215" name="215bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="216" name="216bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/>
<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/>
<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/>
<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/>
<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/>
<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/>
<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/>
<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/>
<layer number="231" name="Eagle3D_PG1" color="14" fill="1" visible="yes" active="yes"/>
<layer number="232" name="Eagle3D_PG2" color="14" fill="2" visible="yes" active="yes"/>
<layer number="233" name="Eagle3D_PG3" color="14" fill="4" visible="yes" active="yes"/>
<layer number="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/>
<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/>
<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/>
<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/>
<layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/>
<layer number="255" name="routoute" color="7" fill="1" visible="yes" active="yes"/>
</layers>
<board>
<plain>
<wire x1="0" y1="0" x2="100" y2="0" width="0" layer="20"/>
<wire x1="100" y1="0" x2="100" y2="80" width="0" layer="20"/>
<wire x1="100" y1="80" x2="0" y2="80" width="0" layer="20"/>
<wire x1="0" y1="80" x2="0" y2="0" width="0" layer="20"/>
</plain>
<libraries>
<library name="rcl">
<packages>
<package name="C0805">
<description>CAPACITOR
</description>
<wire x1="-1.973" y1="0.983" x2="1.973" y2="0.983" width="0.0508" layer="39"/>
<wire x1="1.973" y1="-0.983" x2="-1.973" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-1.973" y1="-0.983" x2="-1.973" y2="0.983" width="0.0508" layer="39"/>
<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/>
<wire x1="1.973" y1="0.983" x2="1.973" y2="-0.983" width="0.0508" layer="39"/>
<smd name="1" x="-0.95" y="0" dx="1.3" dy="1.5" layer="1"/>
<smd name="2" x="0.95" y="0" dx="1.3" dy="1.5" layer="1"/>
<text x="-1.27" y="1.27" size="1.27" layer="25">>NAME</text>
<text x="-1.27" y="-2.54" size="1.27" layer="27">>VALUE</text>
<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/>
<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/>
<rectangle x1="-0.1001" y1="-0.4001" x2="0.1001" y2="0.4001" layer="35"/>
</package>
<package name="C0603">
<description>CAPACITOR</description>
<wire x1="-1.473" y1="0.983" x2="1.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="1.473" y1="0.983" x2="1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="1.473" y1="-0.983" x2="-1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-1.473" y1="-0.983" x2="-1.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/>
<smd name="1" x="-0.85" y="0" dx="1.1" dy="1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1.1" dy="1" layer="1"/>
<text x="-0.635" y="0.635" size="1.27" layer="25">>NAME</text>
<text x="-0.635" y="-1.905" size="1.27" layer="27">>VALUE</text>
<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/>
<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/>
<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/>
</package>
<package name="R0603">
<description>RESISTOR</description>
<wire x1="-0.432" y1="-0.356" x2="0.432" y2="-0.356" width="0.1524" layer="51"/>
<wire x1="0.432" y1="0.356" x2="-0.432" y2="0.356" width="0.1524" layer="51"/>
<wire x1="-1.473" y1="0.983" x2="1.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="1.473" y1="0.983" x2="1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="1.473" y1="-0.983" x2="-1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-1.473" y1="-0.983" x2="-1.473" y2="0.983" width="0.0508" layer="39"/>
<smd name="1" x="-0.85" y="0" dx="1" dy="1.1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1" dy="1.1" layer="1"/>
<text x="-0.635" y="0.635" size="1.27" layer="25">>NAME</text>
<text x="-0.635" y="-1.905" size="1.27" layer="27">>VALUE</text>
<rectangle x1="0.4318" y1="-0.4318" x2="0.8382" y2="0.4318" layer="51"/>
<rectangle x1="-0.8382" y1="-0.4318" x2="-0.4318" y2="0.4318" layer="51"/>
<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/>
</package>
</packages>
</library>
<library name="SparkFun">
<packages>
<package name="0603-CAP">
<wire x1="-1.473" y1="0.983" x2="1.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="1.473" y1="0.983" x2="1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="1.473" y1="-0.983" x2="-1.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-1.473" y1="-0.983" x2="-1.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/>
<wire x1="0" y1="0.0305" x2="0" y2="-0.0305" width="0.5588" layer="21"/>
<smd name="1" x="-0.85" y="0" dx="1.1" dy="1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1.1" dy="1" layer="1"/>
<text x="-0.889" y="0.762" size="0.4064" layer="25" font="vector">>NAME</text>
<text x="-1.016" y="-1.143" size="0.4064" layer="27" font="vector">>VALUE</text>
<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/>
<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/>
<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/>
</package>
</packages>
</library>
<library name="microbuilder">
<packages>
<package name="1X08_ROUND">
<wire x1="-10.16" y1="0.635" x2="-10.16" y2="-0.635" width="0.1524" layer="51"/>
<pad name="1" x="-8.89" y="0" drill="1" diameter="1.6764" rot="R90"/>
<pad name="2" x="-6.35" y="0" drill="1" diameter="1.6764" rot="R90"/>
<pad name="3" x="-3.81" y="0" drill="1" diameter="1.6764" rot="R90"/>
<pad name="4" x="-1.27" y="0" drill="1" diameter="1.6764" rot="R90"/>
<pad name="5" x="1.27" y="0" drill="1" diameter="1.6764" rot="R90"/>
<pad name="6" x="3.81" y="0" drill="1" diameter="1.6764" rot="R90"/>
<pad name="7" x="6.35" y="0" drill="1" diameter="1.6764" rot="R90"/>
<pad name="8" x="8.89" y="0" drill="1" diameter="1.6764" rot="R90"/>
<text x="-10.2362" y="1.8288" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-10.16" y="-3.175" size="1.27" layer="27">>VALUE</text>
<rectangle x1="6.096" y1="-0.254" x2="6.604" y2="0.254" layer="51"/>
<rectangle x1="3.556" y1="-0.254" x2="4.064" y2="0.254" layer="51"/>
<rectangle x1="1.016" y1="-0.254" x2="1.524" y2="0.254" layer="51"/>
<rectangle x1="-1.524" y1="-0.254" x2="-1.016" y2="0.254" layer="51"/>
<rectangle x1="-4.064" y1="-0.254" x2="-3.556" y2="0.254" layer="51"/>
<rectangle x1="-6.604" y1="-0.254" x2="-6.096" y2="0.254" layer="51"/>
<rectangle x1="-9.144" y1="-0.254" x2="-8.636" y2="0.254" layer="51"/>
<rectangle x1="8.636" y1="-0.254" x2="9.144" y2="0.254" layer="51"/>
</package>
<package name="0805@1">
<description>0805 (2012 Metric)</description>
<wire x1="-1.973" y1="0.983" x2="1.973" y2="0.983" width="0.0508" layer="39"/>
<wire x1="1.973" y1="-0.983" x2="-1.973" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-1.973" y1="-0.983" x2="-1.973" y2="0.983" width="0.0508" layer="39"/>
<wire x1="-0.381" y1="0.66" x2="0.381" y2="0.66" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.66" x2="0.381" y2="-0.66" width="0.1016" layer="51"/>
<wire x1="1.973" y1="0.983" x2="1.973" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="1.8" y1="0.9" x2="1.8" y2="-0.9" width="0.127" layer="21"/>
<wire x1="1.8" y1="-0.9" x2="-1.8" y2="-0.9" width="0.127" layer="21"/>
<wire x1="-1.8" y1="-0.9" x2="-1.8" y2="0.9" width="0.127" layer="21"/>
<wire x1="-1.8" y1="0.9" x2="1.8" y2="0.9" width="0.127" layer="21"/>
<smd name="1" x="-0.95" y="0" dx="1.3" dy="1.5" layer="1"/>
<smd name="2" x="0.95" y="0" dx="1.3" dy="1.5" layer="1"/>
<text x="2.286" y="0.254" size="0.4064" layer="25">>NAME</text>
<text x="2.286" y="-0.508" size="0.4064" layer="27">>VALUE</text>
<rectangle x1="-1.0922" y1="-0.7239" x2="-0.3421" y2="0.7262" layer="51"/>
<rectangle x1="0.3556" y1="-0.7239" x2="1.1057" y2="0.7262" layer="51"/>
<rectangle x1="-0.1001" y1="-0.4001" x2="0.1001" y2="0.4001" layer="35"/>
</package>
<package name="HVQFN40-6X6">
<description>HVQFN40
Plastic thermal enhanced very thin quad flat package; 40 terminals; body 6x6x0.85 mm;</description>
<wire x1="-2.95" y1="2.95" x2="2.95" y2="2.95" width="0.127" layer="51"/>
<wire x1="-2.95" y1="2.95" x2="-2.95" y2="-2.95" width="0.127" layer="51"/>
<wire x1="-2.95" y1="-2.95" x2="2.95" y2="-2.95" width="0.127" layer="51"/>
<wire x1="2.95" y1="-2.95" x2="2.95" y2="2.95" width="0.127" layer="51"/>
<wire x1="2.638" y1="2.95" x2="2.95" y2="2.95" width="0.127" layer="21"/>
<wire x1="-2.95" y1="2.95" x2="-2.95" y2="2.638" width="0.127" layer="21"/>
<wire x1="2.95" y1="2.638" x2="2.95" y2="2.95" width="0.127" layer="21"/>
<wire x1="-2.95" y1="-2.95" x2="-2.638" y2="-2.95" width="0.127" layer="21"/>
<wire x1="-2.95" y1="-2.638" x2="-2.95" y2="-2.95" width="0.127" layer="21"/>
<wire x1="-2.95" y1="2.95" x2="-2.638" y2="2.95" width="0.127" layer="21"/>
<wire x1="2.95" y1="-2.95" x2="2.95" y2="-2.638" width="0.127" layer="21"/>
<wire x1="2.638" y1="-2.95" x2="2.95" y2="-2.95" width="0.127" layer="21"/>
<circle x="-3.49" y="3.44" radius="0.127" width="0.3048" layer="21"/>
<smd name="TP" x="0" y="0" dx="4" dy="4" layer="1" cream="no"/>
<smd name="32" x="1.75" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="31" x="2.25" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="30" x="2.99" y="2.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="29" x="2.99" y="1.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="28" x="2.99" y="1.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="27" x="2.99" y="0.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="26" x="2.99" y="0.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="25" x="2.99" y="-0.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="24" x="2.99" y="-0.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="23" x="2.99" y="-1.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="22" x="2.99" y="-1.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="21" x="2.99" y="-2.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R270" cream="no"/>
<smd name="20" x="2.25" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="19" x="1.75" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="18" x="1.25" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="17" x="0.75" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="16" x="0.25" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="15" x="-0.25" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="14" x="-0.75" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="13" x="-1.25" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="12" x="-1.75" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="11" x="-2.25" y="-2.99" dx="0.25" dy="1" layer="1" roundness="100" rot="R180" cream="no"/>
<smd name="10" x="-2.99" y="-2.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="9" x="-2.99" y="-1.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="8" x="-2.99" y="-1.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="7" x="-2.99" y="-0.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="6" x="-2.99" y="-0.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="5" x="-2.99" y="0.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="4" x="-2.99" y="0.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="3" x="-2.99" y="1.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="2" x="-2.99" y="1.75" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="1" x="-2.99" y="2.25" dx="0.25" dy="1" layer="1" roundness="100" rot="R90" cream="no"/>
<smd name="33" x="1.25" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="34" x="0.75" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="35" x="0.25" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="36" x="-0.25" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="37" x="-0.75" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="38" x="-1.25" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="39" x="-1.75" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<smd name="40" x="-2.25" y="2.99" dx="0.25" dy="1" layer="1" roundness="100" cream="no"/>
<text x="-2.45" y="3.694" size="0.4064" layer="25">>NAME</text>
<text x="-2.506" y="-4.056" size="0.4064" layer="27">>VALUE</text>
<rectangle x1="-1.8" y1="0.8" x2="-0.8" y2="1.8" layer="31"/>
<rectangle x1="-0.5" y1="0.8" x2="0.5" y2="1.8" layer="31"/>
<rectangle x1="0.8" y1="0.8" x2="1.8" y2="1.8" layer="31"/>
<rectangle x1="-1.8" y1="-0.5" x2="-0.8" y2="0.5" layer="31"/>
<rectangle x1="-1.8" y1="-1.8" x2="-0.8" y2="-0.8" layer="31"/>
<rectangle x1="-0.5" y1="-0.5" x2="0.5" y2="0.5" layer="31"/>
<rectangle x1="-0.5" y1="-1.8" x2="0.5" y2="-0.8" layer="31"/>
<rectangle x1="0.8" y1="-1.8" x2="1.8" y2="-0.8" layer="31"/>
<rectangle x1="0.8" y1="-0.5" x2="1.8" y2="0.5" layer="31"/>
<rectangle x1="-3.3" y1="2.125" x2="-2.7" y2="2.375" layer="31"/>
<rectangle x1="-3.3" y1="1.625" x2="-2.7" y2="1.875" layer="31"/>
<rectangle x1="-3.3" y1="1.125" x2="-2.7" y2="1.375" layer="31"/>
<rectangle x1="-3.3" y1="0.625" x2="-2.7" y2="0.875" layer="31"/>
<rectangle x1="-3.3" y1="0.125" x2="-2.7" y2="0.375" layer="31"/>
<rectangle x1="-3.3" y1="-0.375" x2="-2.7" y2="-0.125" layer="31"/>
<rectangle x1="-3.3" y1="-0.875" x2="-2.7" y2="-0.625" layer="31"/>
<rectangle x1="-3.3" y1="-1.375" x2="-2.7" y2="-1.125" layer="31"/>
<rectangle x1="-3.3" y1="-1.875" x2="-2.7" y2="-1.625" layer="31"/>
<rectangle x1="-3.3" y1="-2.375" x2="-2.7" y2="-2.125" layer="31"/>
<rectangle x1="-2.55" y1="-3.125" x2="-1.95" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="-2.05" y1="-3.125" x2="-1.45" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="-1.55" y1="-3.125" x2="-0.95" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="-1.05" y1="-3.125" x2="-0.45" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="-0.55" y1="-3.125" x2="0.05" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="-0.05" y1="-3.125" x2="0.55" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="0.45" y1="-3.125" x2="1.05" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="0.95" y1="-3.125" x2="1.55" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="1.45" y1="-3.125" x2="2.05" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="1.95" y1="-3.125" x2="2.55" y2="-2.875" layer="31" rot="R90"/>
<rectangle x1="2.7" y1="-2.375" x2="3.3" y2="-2.125" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="-1.875" x2="3.3" y2="-1.625" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="-1.375" x2="3.3" y2="-1.125" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="-0.875" x2="3.3" y2="-0.625" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="-0.375" x2="3.3" y2="-0.125" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="0.125" x2="3.3" y2="0.375" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="0.625" x2="3.3" y2="0.875" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="1.125" x2="3.3" y2="1.375" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="1.625" x2="3.3" y2="1.875" layer="31" rot="R180"/>
<rectangle x1="2.7" y1="2.125" x2="3.3" y2="2.375" layer="31" rot="R180"/>
<rectangle x1="1.95" y1="2.875" x2="2.55" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="1.45" y1="2.875" x2="2.05" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="0.95" y1="2.875" x2="1.55" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="0.45" y1="2.875" x2="1.05" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="-0.05" y1="2.875" x2="0.55" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="-0.55" y1="2.875" x2="0.05" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="-1.05" y1="2.875" x2="-0.45" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="-1.55" y1="2.875" x2="-0.95" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="-2.05" y1="2.875" x2="-1.45" y2="3.125" layer="31" rot="R270"/>
<rectangle x1="-2.55" y1="2.875" x2="-1.95" y2="3.125" layer="31" rot="R270"/>
</package>
<package name="CRYSTAL_3.2X2.5">
<description>3.2mm x 2.5mm Thin SMT Crystal</description>
<wire x1="-1.6" y1="1.05" x2="-1.6" y2="-1.05" width="0.1" layer="51"/>
<wire x1="1.6" y1="1.05" x2="1.6" y2="-1.05" width="0.1" layer="51"/>
<wire x1="-1.4" y1="1.25" x2="1.4" y2="1.25" width="0.1" layer="51"/>
<wire x1="-1.4" y1="-1.25" x2="1.4" y2="-1.25" width="0.1" layer="51"/>
<wire x1="-1.6" y1="1.05" x2="-1.4" y2="1.25" width="0.1" layer="51" curve="180"/>
<wire x1="1.6" y1="1.05" x2="1.4" y2="1.25" width="0.1" layer="51" curve="-180"/>
<wire x1="-1.4" y1="-1.25" x2="-1.6" y2="-1.05" width="0.1" layer="51" curve="180"/>
<wire x1="1.4" y1="-1.25" x2="1.6" y2="-1.05" width="0.1" layer="51" curve="-180"/>
<wire x1="-1.9645" y1="1.604" x2="1.9645" y2="1.604" width="0.1016" layer="21"/>
<wire x1="-1.9645" y1="-1.604" x2="1.9645" y2="-1.604" width="0.1016" layer="21"/>
<wire x1="-1.9685" y1="1.5875" x2="-1.9685" y2="-1.5875" width="0.1016" layer="21"/>
<wire x1="1.9685" y1="1.5875" x2="1.9685" y2="-1.5875" width="0.1016" layer="21"/>
<smd name="GND1" x="-1.1" y="0.8" dx="1.4" dy="1.2" layer="1"/>
<smd name="2" x="1.1" y="0.8" dx="1.4" dy="1.2" layer="1"/>
<smd name="1" x="-1.1" y="-0.8" dx="1.4" dy="1.2" layer="1"/>
<smd name="GND2" x="1.1" y="-0.8" dx="1.4" dy="1.2" layer="1"/>
<text x="-2.032" y="1.778" size="0.4064" layer="25">>NAME</text>
<text x="-2.032" y="-2.286" size="0.4064" layer="27">>VALUE</text>
</package>
</packages>
</library>
<library name="adafruit">
<packages>
<package name="U.FL">
<wire x1="1.3" y1="0.7" x2="1.3" y2="2.1" width="0.2032" layer="21"/>
<wire x1="1.3" y1="2.1" x2="-1.3" y2="2.1" width="0.2032" layer="21"/>
<wire x1="-1.3" y1="-2.1" x2="1.3" y2="-2.1" width="0.2032" layer="21"/>
<wire x1="1.3" y1="-2.1" x2="1.3" y2="-0.7" width="0.2032" layer="21"/>
<wire x1="-1.3" y1="0.7" x2="-1.3" y2="2.1" width="0.2032" layer="21"/>
<wire x1="-1.3" y1="-2.1" x2="-1.3" y2="-0.7" width="0.2032" layer="21"/>
<wire x1="1.4" y1="0.7" x2="1.4" y2="2" width="0.2032" layer="21"/>
<wire x1="1.4" y1="-2" x2="1.4" y2="-0.7" width="0.2032" layer="21"/>
<wire x1="1.5" y1="0.7" x2="1.5" y2="2.1" width="0.2032" layer="21"/>
<wire x1="1.5" y1="-2.1" x2="1.5" y2="-0.7" width="0.2032" layer="21"/>
<wire x1="1.5" y1="2.1" x2="1.3" y2="2.1" width="0.2032" layer="21"/>
<wire x1="1.5" y1="0.7" x2="1.3" y2="0.7" width="0.2032" layer="21"/>
<wire x1="1.5" y1="-0.7" x2="1.3" y2="-0.7" width="0.2032" layer="21"/>
<wire x1="1.5" y1="-2.1" x2="1.3" y2="-2.1" width="0.2032" layer="21"/>
<smd name="1" x="0" y="1.375" dx="2.2" dy="1.05" layer="1"/>
<smd name="2" x="0" y="-1.375" dx="2.2" dy="1.05" layer="1"/>
<smd name="3" x="1.525" y="0" dx="0.8" dy="1" layer="1"/>
<rectangle x1="-0.889" y1="-0.8255" x2="0.889" y2="0.8255" layer="41"/>
<text x="-1.27" y="2.54" size="1.016" layer="25" ratio="18">>NAME</text>
<text x="-1.27" y="-3.175" size="0.8128" layer="27" ratio="10">>VALUE</text>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
<class number="1" name="Ground" width="0.6096" drill="0">
<clearance class="1" value="0.254"/>
</class>
</classes>
<designrules name="default">
<description language="de">EAGLE Design Rules

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

The default Design Rules have been set to cover
a wide range of applications. Your particular design
may have different requirements, so please make the
necessary adjustments and save your customized
design rules under a new name.</description>
<param name="layerSetup" value="(1*16)"/>
<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/>
<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/>
<param name="mdWireWire" value="8mil"/>
<param name="mdWirePad" value="8mil"/>
<param name="mdWireVia" value="8mil"/>
<param name="mdPadPad" value="8mil"/>
<param name="mdPadVia" value="8mil"/>
<param name="mdViaVia" value="8mil"/>
<param name="mdSmdPad" value="8mil"/>
<param name="mdSmdVia" value="8mil"/>
<param name="mdSmdSmd" value="8mil"/>
<param name="mdViaViaSameLayer" value="8mil"/>
<param name="mnLayersViaInSmd" value="2"/>
<param name="mdCopperDimension" value="40mil"/>
<param name="mdDrill" value="8mil"/>
<param name="mdSmdStop" value="0mil"/>
<param name="msWidth" value="10mil"/>
<param name="msDrill" value="24mil"/>
<param name="msMicroVia" value="9.99mm"/>
<param name="msBlindViaRatio" value="0.5"/>
<param name="rvPadTop" value="0.25"/>
<param name="rvPadInner" value="0.25"/>
<param name="rvPadBottom" value="0.25"/>
<param name="rvViaOuter" value="0.25"/>
<param name="rvViaInner" value="0.25"/>
<param name="rvMicroViaOuter" value="0.25"/>
<param name="rvMicroViaInner" value="0.25"/>
<param name="rlMinPadTop" value="10mil"/>
<param name="rlMaxPadTop" value="20mil"/>
<param name="rlMinPadInner" value="10mil"/>
<param name="rlMaxPadInner" value="20mil"/>
<param name="rlMinPadBottom" value="10mil"/>
<param name="rlMaxPadBottom" value="20mil"/>
<param name="rlMinViaOuter" value="8mil"/>
<param name="rlMaxViaOuter" value="20mil"/>
<param name="rlMinViaInner" value="8mil"/>
<param name="rlMaxViaInner" value="20mil"/>
<param name="rlMinMicroViaOuter" value="4mil"/>
<param name="rlMaxMicroViaOuter" value="20mil"/>
<param name="rlMinMicroViaInner" value="4mil"/>
<param name="rlMaxMicroViaInner" value="20mil"/>
<param name="psTop" value="-1"/>
<param name="psBottom" value="-1"/>
<param name="psFirst" value="-1"/>
<param name="psElongationLong" value="100"/>
<param name="psElongationOffset" value="100"/>
<param name="mvStopFrame" value="1"/>
<param name="mvCreamFrame" value="0"/>
<param name="mlMinStopFrame" value="4mil"/>
<param name="mlMaxStopFrame" value="4mil"/>
<param name="mlMinCreamFrame" value="0mil"/>
<param name="mlMaxCreamFrame" value="0mil"/>
<param name="mlViaStopLimit" value="0mil"/>
<param name="srRoundness" value="0"/>
<param name="srMinRoundness" value="0mil"/>
<param name="srMaxRoundness" value="0mil"/>
<param name="slThermalIsolate" value="10mil"/>
<param name="slThermalsForVias" value="0"/>
<param name="dpMaxLengthDifference" value="10mm"/>
<param name="dpGapFactor" value="2.5"/>
<param name="checkGrid" value="0"/>
<param name="checkAngle" value="0"/>
<param name="checkFont" value="1"/>
<param name="checkRestrict" value="1"/>
<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="C1" library="rcl" package="C0805" value="10uF" x="16.405" y="17.29" rot="R270"/>
<element name="C2" library="rcl" package="C0805" value="100nF" x="10.05" y="17.38" rot="R270"/>
<element name="C21" library="rcl" package="C0603" value="100nF" x="21.77" y="30.97" rot="R90"/>
<element name="C26" library="SparkFun" package="0603-CAP" value="22pF" x="17.915" y="30.155" rot="R90"/>
<element name="C27" library="SparkFun" package="0603-CAP" value="22pF" x="11.865" y="30.255" rot="R270"/>
<element name="C28" library="rcl" package="C0805" value="10uF" x="12.195" y="17.375" rot="R90"/>
<element name="C29" library="rcl" package="C0603" value="1nF" x="23.84" y="34.05" rot="R90"/>
<element name="C30" library="rcl" package="C0603" value="220pF" x="22.31" y="28.4" rot="R180"/>
<element name="C31" library="rcl" package="C0603" value="220pF" x="22.43" y="19.895"/>
<element name="C32" library="rcl" package="C0805" value="10uF" x="7.97" y="17.395" rot="R90"/>
<element name="C33" library="rcl" package="C0805" value="100nF" x="14.34" y="17.36" rot="R270"/>
<element name="JP6" library="microbuilder" package="1X08_ROUND" value="" x="-22.86" y="27.94"/>
<element name="L5" library="microbuilder" package="0805@1" value="560nH" x="22.175" y="22.165" rot="R180"/>
<element name="L6" library="microbuilder" package="0805@1" value="560nH" x="22.09" y="26.065" rot="R180"/>
<element name="R8" library="rcl" package="R0603" value="1.0K" x="21.77" y="34.055" rot="R90"/>
<element name="R9" library="rcl" package="R0603" value="2.7K" x="23.84" y="31.005" rot="R90"/>
<element name="U4" library="microbuilder" package="HVQFN40-6X6" value="PN532" x="14.3" y="24.04" rot="R180"/>
<element name="X1" library="adafruit" package="U.FL" value="" x="26.11" y="24.11" rot="R180"/>
<element name="Y2" library="microbuilder" package="CRYSTAL_3.2X2.5" value="27.12MHz" x="14.895" y="30.385"/>
</elements>
<signals>
<signal name="GND">
<contactref element="U4" pad="1"/>
<contactref element="U4" pad="18"/>
<contactref element="U4" pad="TP"/>
<contactref element="C30" pad="2"/>
<contactref element="C31" pad="1"/>
<contactref element="U4" pad="3"/>
<contactref element="U4" pad="7"/>
<contactref element="C21" pad="1"/>
<contactref element="U4" pad="11"/>
<contactref element="C26" pad="1"/>
<contactref element="C27" pad="1"/>
<contactref element="C28" pad="1"/>
<contactref element="C32" pad="1"/>
<contactref element="C33" pad="1"/>
<contactref element="JP6" pad="8"/>
<contactref element="C2" pad="2"/>
<contactref element="C1" pad="2"/>
<wire x1="21.77" y1="30.12" x2="21.46" y2="28.4" width="0" layer="19" extent="1-1"/>
<wire x1="17.915" y1="29.305" x2="21.46" y2="28.4" width="0" layer="19" extent="1-1"/>
<wire x1="16.55" y1="27.03" x2="17.915" y2="29.305" width="0" layer="19" extent="1-1"/>
<wire x1="17.29" y1="24.79" x2="16.55" y2="27.03" width="0" layer="19" extent="1-1"/>
<wire x1="17.29" y1="22.79" x2="17.29" y2="24.79" width="0" layer="19" extent="1-1"/>
<wire x1="17.29" y1="21.79" x2="17.29" y2="22.79" width="0" layer="19" extent="1-1"/>
<wire x1="14.3" y1="24.04" x2="17.29" y2="24.79" width="0" layer="19" extent="1-1"/>
<wire x1="13.05" y1="27.03" x2="14.3" y2="24.04" width="0" layer="19" extent="1-1"/>
<wire x1="11.865" y1="31.105" x2="13.05" y2="27.03" width="0" layer="19" extent="1-1"/>
<wire x1="14.34" y1="18.31" x2="17.29" y2="21.79" width="0" layer="19" extent="1-1"/>
<wire x1="16.405" y1="16.34" x2="14.34" y2="18.31" width="0" layer="19" extent="1-1"/>
<wire x1="12.195" y1="16.425" x2="14.34" y2="18.31" width="0" layer="19" extent="1-1"/>
<wire x1="10.05" y1="16.43" x2="12.195" y2="16.425" width="0" layer="19" extent="1-1"/>
<wire x1="7.97" y1="16.445" x2="10.05" y2="16.43" width="0" layer="19" extent="1-1"/>
<wire x1="21.58" y1="19.895" x2="17.29" y2="21.79" width="0" layer="19" extent="1-1"/>
<wire x1="-13.97" y1="27.94" x2="7.97" y2="16.445" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="IRQ">
<contactref element="JP6" pad="7"/>
</signal>
<signal name="RSTOUT_N">
<contactref element="JP6" pad="6"/>
</signal>
<signal name="NSS/SCL/RX">
<contactref element="JP6" pad="5"/>
</signal>
<signal name="MOSI/SDA/TX">
<contactref element="JP6" pad="4"/>
</signal>
<signal name="+3V3">
<contactref element="U4" pad="37"/>
<contactref element="C28" pad="2"/>
<contactref element="U4" pad="8"/>
<contactref element="C33" pad="2"/>
<contactref element="U4" pad="5"/>
<contactref element="C32" pad="2"/>
<contactref element="U4" pad="23"/>
<contactref element="C2" pad="1"/>
<contactref element="C1" pad="1"/>
<contactref element="U4" pad="40"/>
<contactref element="U4" pad="38"/>
<contactref element="JP6" pad="1"/>
<wire x1="10.05" y1="18.33" x2="14.34" y2="16.41" width="0" layer="19" extent="1-1"/>
<wire x1="7.97" y1="18.345" x2="10.05" y2="18.33" width="0" layer="19" extent="1-1"/>
<wire x1="12.195" y1="18.325" x2="7.97" y2="18.345" width="0" layer="19" extent="1-1"/>
<wire x1="16.405" y1="18.24" x2="12.195" y2="18.325" width="0" layer="19" extent="1-1"/>
<wire x1="15.05" y1="21.05" x2="16.405" y2="18.24" width="0" layer="19" extent="1-1"/>
<wire x1="15.55" y1="21.05" x2="15.05" y2="21.05" width="0" layer="19" extent="1-1"/>
<wire x1="16.55" y1="21.05" x2="15.55" y2="21.05" width="0" layer="19" extent="1-1"/>
<wire x1="17.29" y1="23.79" x2="16.55" y2="21.05" width="0" layer="19" extent="1-1"/>
<wire x1="17.29" y1="25.29" x2="17.29" y2="23.79" width="0" layer="19" extent="1-1"/>
<wire x1="11.31" y1="25.29" x2="15.05" y2="21.05" width="0" layer="19" extent="1-1"/>
<wire x1="-31.75" y1="27.94" x2="7.97" y2="18.345" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$6">
<contactref element="L5" pad="2"/>
<contactref element="U4" pad="4"/>
<wire x1="17.29" y1="23.29" x2="21.225" y2="22.165" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$15">
<contactref element="L6" pad="2"/>
<contactref element="U4" pad="6"/>
<wire x1="21.14" y1="26.065" x2="17.29" y2="24.29" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="CON1">
<contactref element="L5" pad="1"/>
<contactref element="X1" pad="1"/>
<contactref element="C31" pad="2"/>
<wire x1="23.28" y1="19.895" x2="26.11" y2="22.735" width="0" layer="19" extent="1-1"/>
<wire x1="23.125" y1="22.165" x2="23.28" y2="19.895" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$47">
<contactref element="Y2" pad="1"/>
<contactref element="U4" pad="14"/>
<contactref element="C27" pad="2"/>
<wire x1="15.05" y1="27.03" x2="13.795" y2="29.585" width="0" layer="19" extent="1-1"/>
<wire x1="11.865" y1="29.405" x2="13.795" y2="29.585" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$48">
<contactref element="Y2" pad="2"/>
<contactref element="U4" pad="15"/>
<contactref element="C26" pad="2"/>
<wire x1="17.915" y1="31.005" x2="15.995" y2="31.185" width="0" layer="19" extent="1-1"/>
<wire x1="14.55" y1="27.03" x2="15.995" y2="31.185" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$49">
<contactref element="U4" pad="9"/>
<contactref element="R8" pad="2"/>
<contactref element="C21" pad="2"/>
<wire x1="21.77" y1="31.82" x2="17.29" y2="25.79" width="0" layer="19" extent="1-1"/>
<wire x1="21.77" y1="34.905" x2="21.77" y2="31.82" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$50">
<contactref element="R8" pad="1"/>
<contactref element="U4" pad="10"/>
<contactref element="C29" pad="2"/>
<wire x1="23.84" y1="34.9" x2="21.77" y2="33.205" width="0" layer="19" extent="1-1"/>
<wire x1="17.29" y1="26.29" x2="23.84" y2="34.9" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$16">
<contactref element="R9" pad="1"/>
<contactref element="C29" pad="1"/>
<wire x1="23.84" y1="33.2" x2="23.84" y2="30.155" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="XX1">
<contactref element="R9" pad="2"/>
<contactref element="X1" pad="3"/>
<contactref element="L6" pad="1"/>
<contactref element="C30" pad="1"/>
<wire x1="23.16" y1="28.4" x2="24.585" y2="24.11" width="0" layer="19" extent="1-1"/>
<wire x1="23.84" y1="31.855" x2="23.16" y2="28.4" width="0" layer="19" extent="1-1"/>
<wire x1="23.04" y1="26.065" x2="23.16" y2="28.4" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="SEL1">
<contactref element="U4" pad="17"/>
</signal>
<signal name="GND1" class="1">
<wire x1="12.0335" y1="16.4975" x2="16.6055" y2="16.4975" width="0.5" layer="1"/>
<wire x1="2.8335" y1="16.5325" x2="12.0335" y2="16.4975" width="0.5" layer="1"/>
<wire x1="17.3055" y1="22.8015" x2="15.78" y2="22.8015" width="0.254" layer="1"/>
<wire x1="15.78" y1="22.8015" x2="15.5655" y2="22.8015" width="0.254" layer="1"/>
<wire x1="15.5655" y1="22.8015" x2="14.3155" y2="24.0515" width="0.254" layer="1"/>
<wire x1="17.3055" y1="24.8015" x2="15.0655" y2="24.8015" width="0.254" layer="1"/>
<wire x1="15.0655" y1="24.8015" x2="14.3155" y2="24.0515" width="0.254" layer="1"/>
<wire x1="13.5655" y1="27.0415" x2="13.5655" y2="24.8015" width="0.254" layer="1"/>
<wire x1="13.5655" y1="24.8015" x2="14.3155" y2="24.0515" width="0.254" layer="1"/>
<wire x1="13.0655" y1="27.0415" x2="13.5655" y2="27.0415" width="0.254" layer="1"/>
<via x="12.6685" y="25.7025" extent="1-16" drill="0.3" shape="octagon"/>
<via x="12.6685" y="24.0515" extent="1-16" drill="0.3" shape="octagon"/>
<via x="20.9235" y="29.5125" extent="1-16" drill="0.3" shape="octagon"/>
<via x="18.2565" y="28.2425" extent="1-16" drill="0.3" shape="octagon"/>
<wire x1="16.5655" y1="27.0415" x2="17.0555" y2="27.0415" width="0.254" layer="1"/>
<wire x1="17.0555" y1="27.0415" x2="18.2565" y2="28.2425" width="0.254" layer="1"/>
<wire x1="17.3055" y1="21.8015" x2="16.78" y2="21.8015" width="0.254" layer="1"/>
<wire x1="16.78" y1="21.8015" x2="15.78" y2="22.8015" width="0.254" layer="1"/>
<wire x1="13.5655" y1="27.0415" x2="14.0655" y2="27.0415" width="0.254" layer="1"/>
<via x="10.6365" y="30.1475" extent="1-16" drill="0.3" shape="octagon"/>
<wire x1="11.7795" y1="31.1245" x2="10.9785" y2="31.1245" width="0.4064" layer="1"/>
<wire x1="10.9785" y1="31.1245" x2="10.6365" y2="30.7825" width="0.4064" layer="1"/>
<wire x1="10.6365" y1="30.7825" x2="10.6365" y2="30.1475" width="0.4064" layer="1"/>
<wire x1="12.6685" y1="22.4005" x2="12.6685" y2="21.3845" width="0.4064" layer="16"/>
<wire x1="12.6685" y1="21.3845" x2="14.764" y2="19.289" width="0.4064" layer="16"/>
<wire x1="14.764" y1="19.289" x2="14.764" y2="18.273" width="0.4064" layer="16"/>
<wire x1="14.764" y1="18.273" x2="14.3195" y2="17.8285" width="0.4064" layer="16"/>
<wire x1="14.3195" y1="17.8285" x2="14.3195" y2="16.4975" width="0.4064" layer="16"/>
<via x="12.6685" y="22.5275" extent="1-16" drill="0.3" shape="octagon"/>
</signal>
<signal name="+3V1">
<wire x1="2.9845" y1="18.4625" x2="10.1285" y2="18.3975" width="0.8128" layer="1"/>
<wire x1="10.1285" y1="18.3975" x2="16.6055" y2="18.3975" width="0.8128" layer="1"/>
<wire x1="4.2865" y1="19.9875" x2="9.4935" y2="19.9875" width="0.4064" layer="16"/>
<wire x1="9.4935" y1="19.9875" x2="10.1285" y2="19.9875" width="0.4064" layer="16"/>
<via x="10.1285" y="19.9875" extent="1-16" drill="0.5"/>
<wire x1="10.1285" y1="19.9875" x2="10.1285" y2="18.3975" width="0.5" layer="1"/>
<wire x1="16.6055" y1="18.3975" x2="16.5655" y2="18.1835" width="0.2" layer="1"/>
<wire x1="16.5655" y1="18.1835" x2="16.5655" y2="21.0615" width="0.2" layer="1"/>
<wire x1="11.3255" y1="25.3015" x2="10.5295" y2="25.3015" width="0.254" layer="1"/>
<wire x1="15.0655" y1="21.0615" x2="15.0655" y2="20.4795" width="0.254" layer="1"/>
<wire x1="15.0655" y1="20.4795" x2="14.5735" y2="19.9875" width="0.254" layer="1"/>
<wire x1="14.5735" y1="19.9875" x2="12.9225" y2="19.9875" width="0.254" layer="1"/>
<via x="12.9225" y="19.9875" extent="1-16" drill="0.3"/>
<wire x1="12.9225" y1="19.9875" x2="10.1285" y2="19.9875" width="0.4064" layer="16"/>
<via x="18.5105" y="25.3215" extent="1-16" drill="0.3"/>
<wire x1="17.3055" y1="23.8015" x2="19.1415" y2="23.8015" width="0.254" layer="1"/>
<wire x1="19.1415" y1="23.8015" x2="19.1455" y2="23.7975" width="0.254" layer="1"/>
<wire x1="17.3055" y1="25.3015" x2="18.6175" y2="25.3015" width="0.254" layer="1"/>
<wire x1="18.6175" y1="25.3015" x2="18.5105" y2="25.3215" width="0.254" layer="1"/>
<via x="10.2555" y="26.3375" extent="1-16" drill="0.3"/>
<wire x1="10.2555" y1="26.3375" x2="9.4935" y2="25.5755" width="0.4064" layer="16"/>
<wire x1="9.4935" y1="25.5755" x2="9.4935" y2="19.9875" width="0.4064" layer="16"/>
<wire x1="10.2555" y1="26.3375" x2="10.2555" y2="25.5755" width="0.254" layer="1"/>
<wire x1="10.2555" y1="25.5755" x2="10.5295" y2="25.3015" width="0.254" layer="1"/>
<wire x1="19.0185" y1="23.5435" x2="18.3835" y2="23.0355" width="0.3048" layer="16"/>
<wire x1="18.3835" y1="23.0355" x2="18.3835" y2="22.2735" width="0.3048" layer="16"/>
<via x="18.3835" y="22.2735" extent="1-16" drill="0.3"/>
<wire x1="18.3835" y1="22.2735" x2="18.3835" y2="19.4795" width="0.3048" layer="1"/>
<wire x1="18.3835" y1="19.4795" x2="17.3015" y2="18.3975" width="0.3048" layer="1"/>
<wire x1="17.3015" y1="18.3975" x2="16.6055" y2="18.3975" width="0.3048" layer="1"/>
<via x="19.1415" y="23.8015" extent="1-16" drill="0.3"/>
<wire x1="19.1415" y1="23.8015" x2="18.5105" y2="24.4325" width="0.3048" layer="16"/>
<wire x1="18.5105" y1="25.3215" x2="18.5105" y2="24.4325" width="0.3048" layer="16"/>
<wire x1="19.1455" y1="23.7975" x2="19.2725" y2="23.7975" width="0.3048" layer="1"/>
<wire x1="19.0185" y1="23.5435" x2="19.2725" y2="23.8055" width="0.3048" layer="16"/>
<wire x1="19.2725" y1="23.8055" x2="19.1415" y2="23.8015" width="0.3048" layer="16"/>
<wire x1="15.5655" y1="21.0615" x2="15.0655" y2="21.0615" width="0.254" layer="1"/>
<wire x1="2.8845" y1="18.4625" x2="2.9845" y2="18.4625" width="0.3048" layer="1"/>
</signal>
<signal name="N$9">
<wire x1="17.3055" y1="23.3015" x2="18.6255" y2="23.3015" width="0.254" layer="1"/>
<wire x1="18.6255" y1="23.3015" x2="19.7805" y2="22.1465" width="0.254" layer="1"/>
<wire x1="19.7805" y1="22.1465" x2="21.1165" y2="22.1465" width="0.254" layer="1"/>
</signal>
<signal name="N$10">
<wire x1="17.3055" y1="24.3015" x2="18.6335" y2="24.3015" width="0.254" layer="1"/>
<wire x1="18.6335" y1="24.3015" x2="20.4155" y2="26.0835" width="0.254" layer="1"/>
<wire x1="20.4155" y1="26.0835" x2="21.1165" y2="26.0835" width="0.254" layer="1"/>
</signal>
<signal name="CON2">
<wire x1="26.0035" y1="22.6765" x2="25.4735" y2="22.1465" width="0.8128" layer="1"/>
<wire x1="25.4735" y1="22.1465" x2="23.0165" y2="22.1465" width="0.8128" layer="1"/>
<wire x1="23.2975" y1="19.7335" x2="23.2975" y2="21.8655" width="0.8128" layer="1"/>
<wire x1="23.2975" y1="21.8655" x2="23.0165" y2="22.1465" width="0.8128" layer="1"/>
</signal>
<signal name="N$1">
<wire x1="15.0655" y1="27.0415" x2="15.0655" y2="28.1315" width="0.254" layer="1"/>
<wire x1="15.0655" y1="28.1315" x2="14.8275" y2="28.3695" width="0.254" layer="1"/>
<wire x1="14.8275" y1="28.3695" x2="14.8275" y2="30.4015" width="0.254" layer="1"/>
<wire x1="14.8275" y1="30.4015" x2="15.5005" y2="31.0745" width="0.254" layer="1"/>
<wire x1="15.5005" y1="31.0745" x2="15.9275" y2="31.0745" width="0.254" layer="1"/>
<wire x1="17.8755" y1="31.1245" x2="15.9775" y2="31.1245" width="0.6096" layer="1"/>
<wire x1="15.9775" y1="31.1245" x2="15.9275" y2="31.0745" width="0.6096" layer="1"/>
</signal>
<signal name="N$2">
<wire x1="14.5655" y1="27.0415" x2="14.5655" y2="27.8695" width="0.254" layer="1"/>
<wire x1="14.5655" y1="27.8695" x2="13.7275" y2="28.7075" width="0.254" layer="1"/>
<wire x1="13.7275" y1="28.7075" x2="13.7275" y2="29.4745" width="0.254" layer="1"/>
<wire x1="11.7795" y1="29.4245" x2="13.6775" y2="29.4245" width="0.6096" layer="1"/>
<wire x1="13.6775" y1="29.4245" x2="13.7275" y2="29.4745" width="0.6096" layer="1"/>
</signal>
<signal name="N$3">
<wire x1="17.3055" y1="25.8015" x2="18.1015" y2="25.8015" width="0.254" layer="1"/>
<wire x1="18.1015" y1="25.8015" x2="19.9075" y2="27.6075" width="0.254" layer="1"/>
<wire x1="19.9075" y1="27.6075" x2="19.9075" y2="30.1475" width="0.254" layer="1"/>
<wire x1="19.9075" y1="30.1475" x2="21.5195" y2="31.7595" width="0.254" layer="1"/>
<wire x1="21.5195" y1="31.7595" x2="21.8125" y2="31.7595" width="0.254" layer="1"/>
<wire x1="21.8125" y1="33.1075" x2="21.8125" y2="31.7595" width="0.8128" layer="1"/>
</signal>
<signal name="N$4">
<wire x1="21.8125" y1="34.8075" x2="21.3925" y2="34.8075" width="0.254" layer="1"/>
<wire x1="21.3925" y1="34.8075" x2="19.3995" y2="32.8145" width="0.254" layer="1"/>
<wire x1="19.3995" y1="32.8145" x2="19.3995" y2="27.9885" width="0.254" layer="1"/>
<wire x1="17.7125" y1="26.3015" x2="17.3055" y2="26.3015" width="0.254" layer="1"/>
<wire x1="17.7125" y1="26.3015" x2="19.3995" y2="27.9885" width="0.254" layer="1"/>
<wire x1="21.8125" y1="34.8075" x2="23.7175" y2="34.8075" width="0.8128" layer="1"/>
</signal>
<signal name="N$8">
<wire x1="23.7175" y1="33.1075" x2="23.7175" y2="31.7595" width="0.8128" layer="1"/>
</signal>
<signal name="XX2">
<wire x1="24.4785" y1="24.0515" x2="23.0165" y2="25.5135" width="0.8128" layer="1"/>
<wire x1="23.0165" y1="25.5135" x2="23.0165" y2="26.0835" width="0.8128" layer="1"/>
<wire x1="23.0165" y1="26.0835" x2="23.2975" y2="26.3645" width="0.8128" layer="1"/>
<wire x1="23.2975" y1="26.3645" x2="23.2975" y2="28.3695" width="0.8128" layer="1"/>
<wire x1="23.7175" y1="30.0595" x2="23.7175" y2="28.7895" width="0.8128" layer="1"/>
<wire x1="23.7175" y1="28.7895" x2="23.2975" y2="28.3695" width="0.8128" layer="1"/>
</signal>
<signal name="SEL0">
<contactref element="U4" pad="16"/>
</signal>
</signals>
</board>
</drawing>
</eagle>

extension: brd


text:
namespace Microsoft.Win32
{
    using System;
    using System.Runtime.InteropServices;

    static class NativeMethods
    {
        [DllImport( "shell32.dll", CharSet = CharSet.Unicode )]
        internal static extern int SHCreateItemFromParsingName( [MarshalAs( UnmanagedType.LPWStr )] string pszPath, IntPtr pbc, ref Guid riid, [MarshalAs( UnmanagedType.Interface )] out object ppv );

        internal static IShellItem CreateItemFromParsingName( string path )
        {
            var IID_IShellItem = new Guid( "43826d1e-e718-42ee-bc55-a1e261c37bfe" );
            var hr = SHCreateItemFromParsingName( path, IntPtr.Zero, ref IID_IShellItem, out var item );

            if ( hr != 0 )
            {
                Marshal.ThrowExceptionForHR( hr );
            }

            return (IShellItem) item;
        }
    }
}

license: MIT

repository: commonsensesoftware/More

license_type: permissive

repo_name: commonsensesoftware/More

branch_name: refs/heads/master

gha_license_id: MIT

gha_language: C#

extension: cs


text:
class Solution {
public:
    string pushDominoes(string dominoes) {
        int n = dominoes.size();
        vector<int> forces(n);

        // Calculating force from L to R
        int force = 0;
        for(int i=0; i<n; i++){
            if(dominoes[i] == 'R')
                force = n;
            else if(dominoes[i] == 'L')
                force = 0;
            else
                force = max(force-1, 0);
            forces[i] += force;
        }

        // Calculating force from R to L
        force = 0;
        for(int i=n-1; i>=0; i--){
            if(dominoes[i] == 'L')
                force = n;
            else if(dominoes[i] == 'R')
                force = 0;
            else
                force = max(force-1, 0);
            forces[i] -= force;
        }

        //creating strng based on forces
        string res{};
        for(auto i:forces){
            if(i>0)
                res += "R";
            else if(i<0)
                res += "L";
            else
                res += ".";
        }
        return res;
    }
};

path: /Problems/0838. Push Dominoes.cpp

extension: cpp

filename: 0838. Push Dominoes.cpp


text:
DESCRIPTION = "Linux kernel for h1940 devices."
SECTION = "kernel"
LICENSE = "GPL"

COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "h1940"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2 \
	   http://rtpnet.nerim.net/ipaq/patches/2.6.14-3/v2.6.14-gitcurrent.patch;patch=1 \
           http://rtpnet.nerim.net/ipaq/patches/2.6.14-3/full.patch;patch=1 \
           file://defconfig"

S = "${WORKDIR}/linux-2.6.14"

inherit kernel

do_configure() {
        install -m 0644 ${WORKDIR}/defconfig ${S}/.config
        yes '' | oe_runmake oldconfig
}

extension: bb


text:
package definition

import (
	"go/ast"
	"reflect"
	"strings"
)

// GetFieldTag gets the StructTag for a field
func GetFieldTag(field *ast.Field) reflect.StructTag {
	if field.Tag == nil {
		return ""
	}
	tag := strings.Replace(field.Tag.Value, "`", "", -1)
	return reflect.StructTag(tag)
}

// JSONPropName returns the name for marshaling to/from json
func JSONPropName(tag reflect.StructTag) string {
	jsonField := tag.Get("json")

	return strings.Split(jsonField, ",")[0]
}

repository: jcttrll/eksctl

repo_name: jcttrll/eksctl

branch_name: refs/heads/main

gha_license_id: NOASSERTION

extension: go


text:
DESCRIPTION = "Aircrack-ng suite"
SECTION = "aircrack-ng"
DEPENDS = ""
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=96af5705d6f64a88e035781ef00e98a8"

# This tells bitbake where to find the files we're providing on the local filesystem
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"

# Use local tarball
SRC_URI = "file://john-${PV}.tar.gz"

# Make sure our source directory (for the build) matches the directory structure in the tarball
S = "${WORKDIR}/aircrack-${PV}"

do_install () {
       oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
}

PACKAGES =+ "mtd-utils-jffs2 mtd-utils-ubifs mtd-utils-misc"

FILES_mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool"
FILES_mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*"
FILES_mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image"

# The autotools configuration I am basing this on seems to have a problem with a race condition when parallel make is enabled
PARALLEL_MAKE = ""

repository: KevinBacas/meta-wifisecure

repo_name: KevinBacas/meta-wifisecure


text:
using System;
using SartoxOS.Utils;

namespace SartoxOS.Errors
{
    public static class ErrorScreen
    {
        public static void Init(string msg, int result)
        {
            Console.BackgroundColor = ConsoleColor.Blue;
            Console.Clear();
            ColorConsole.WriteLine(ConsoleColor.White, "Oh no, an error has occured...");
            ColorConsole.WriteLine(ConsoleColor.White, "The system has been paused to prevent damage to your computer.");
            Console.WriteLine();
            ColorConsole.WriteLine(ConsoleColor.White, "Error : " + msg);
            ColorConsole.WriteLine(ConsoleColor.White, "HResult : " + result.ToString());
            Console.WriteLine();
            ColorConsole.WriteLine(ConsoleColor.White, "If you see this screen, it means you've encountered an error across Sartox OS. Please report this error at the developer ASAP so it can be fixed.\nThe system must reboot now.");

            Console.WriteLine();
            ColorConsole.WriteLine(ConsoleColor.White, "Press any key to reboot...");
            Console.ReadKey();
            Power.Restart();
        }
    }
}

repository: CosmosOSProjectArchive/Sartox-OS

repo_name: CosmosOSProjectArchive/Sartox-OS


text:
package auth

import (
	"errors"
	"time"

	"code.google.com/p/go.crypto/bcrypt"
	"github.com/jinzhu/gorm"
	"github.com/revel/revel"
)

type UserAuthInterface interface {
	AuthId() int64
	AuthPass() string
}

type UserAuth struct {
	Id        int64
	UserId    int64 `sql:"not null;unique"`
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt time.Time

	HashedPassword []byte `sql:"not null"`

	Activated bool
	ResetPass bool

	LastLoginAt  time.Time
	LastLogoutAt time.Time

	FailedLoginsCount int32
	LockExpiresAt     time.Time
}

type UserAuthActivate struct {
	Id        int64
	UserId    int64
	CreatedAt time.Time
	UpdatedAt time.Time

	ActivateAccountToken          string
	ActivateAccountTokenExpiresAt time.Time
	ActivateAccountEmailSentAt    time.Time
}

type UserAuthReset struct {
	Id        int64
	UserId    int64
	CreatedAt time.Time
	UpdatedAt time.Time

	ResetPasswordToken          string
	ResetPasswordTokenExpiresAt time.Time
	ResetPasswordEmailSentAt    time.Time
}

func AddUserAuth(db *gorm.DB, user UserAuthInterface) (*UserAuth, error) {

	hPass, _ := bcrypt.GenerateFromPassword([]byte(user.AuthPass()), bcrypt.DefaultCost)

	ua := &UserAuth{
		UserId:         user.AuthId(),
		HashedPassword: hPass,
	}

	if !checkUserExistsById(db, user) {
		err := db.Save(ua).Error
		if err != nil {
			revel.TRACE.Println("saving user: ", err)
			return nil, err
		}
	}

	return ua, nil

}

func Authenticate(db *gorm.DB, user UserAuthInterface) (*UserAuth, error) {
	var ua UserAuth
	err := db.Where(&UserAuth{UserId: user.AuthId()}).Find(&ua).Error
	// TODO: change this to check error type  No Record Found can be returned
	if err != nil {
		revel.TRACE.Println("Error looking up user", err)
		return nil, err
	}

	// TODO make this check better
	// ua.UserId should be 0 when no record found
	if user.AuthId() != int64(ua.UserId) {
		return nil, errors.New("Record Not Found")
	}

	err = bcrypt.CompareHashAndPassword(ua.HashedPassword, []byte(user.AuthPass()))
	if err != nil {
		return nil, errors.New("Password Fail")
	}

	return &ua, nil
}

func checkUserExistsById(db *gorm.DB, user UserAuthInterface) bool {
	var ua UserAuth
	err := db.Where(&UserAuth{UserId: user.AuthId()}).Find(&ua).Error
	if err == gorm.RecordNotFound {
		return false
	}

	if err != nil {
		revel.TRACE.Println("Error looking up user", err)
		return false
	}

	// TODO make this check better
	if user.AuthId() == int64(ua.UserId) {
		return true
	}

	return false
}

repository: kcolls/revel-modz

repo_name: kcolls/revel-modz


text:
package ctl

import (
	"context"
	"os"
	"path/filepath"
	"testing"

	pilosa "github.com/featurebasedb/featurebase/v3"
	"github.com/featurebasedb/featurebase/v3/test"
)

func TestBackupTarCommand_Run(t *testing.T) {
	cluster := test.MustRunCluster(t, 1)
	defer cluster.Close()
	cmd := cluster.GetNode(0)
	indexName := "backuptar"

	// this might produce some annoying spam in tests but we need to make sure log messages to
	// stdout are being redirected properly when the tarfile is also going to stdout
	cm := NewBackupTarCommand(os.Stdout)
	hostport := cmd.API.Node().URI.HostPort()
	cm.Host = hostport
	dir := t.TempDir()
	cm.OutputPath = filepath.Join(dir, "backuptest.tar")

	_, err := cmd.API.CreateIndex(context.Background(), indexName, pilosa.IndexOptions{Keys: true, TrackExistence: true})
	if err != nil {
		t.Fatalf("creating test index: %v", err)
	}
	_, err = cmd.API.CreateField(context.Background(), indexName, "f", pilosa.OptFieldKeys())
	if err != nil {
		t.Fatalf("creating test field: %v", err)
	}

	cm.Index = indexName
	if err := cm.Run(context.Background()); err != nil {
		t.Fatalf("BackupTarCommand Run error: %s", err)
	}

	oldpath := cm.OutputPath
	cm.OutputPath = "-"
	cfpath := filepath.Join(dir, "stdouttest.tar") //capture file
	cf, err := os.Create(cfpath)
	if err != nil {
		t.Fatalf("opening file to compare file and stdout outputs: %v", err)
	}
	defer cf.Close()
	// I don't like this at all but it's all i'm really finding for capturing os.Stdout
	old := os.Stdout
	defer func() { os.Stdout = old }()
	os.Stdout = cf
	if err := cm.Run(context.Background()); err != nil {
		t.Fatalf("BackupTarCommand Run error: %s", err)
	}
	fdata, err := os.ReadFile(oldpath)
	if err != nil {
		t.Fatalf("unable to read from direct-to-file backup: %v", err)
	}
	cdata, err := os.ReadFile(cfpath)
	if err != nil {
		t.Fatalf("unable to read from captured stdout backup: %v", err)
	}
	if len(fdata) != len(cdata) {
		t.Fatalf("backing up to file and to stdout produced different length results")
	}
}

repository: tgruben/pilosa

repo_name: tgruben/pilosa

gha_language: Go