text:
270"/>
<instance part="RN1" gate="B" x="99.06" y="53.34" rot="R270"/>
<instance part="RN1" gate="C" x="104.14" y="53.34" rot="R270"/>
<instance part="RN1" gate="D" x="109.22" y="53.34" rot="R270"/>
<instance part="RN2" gate="A" x="114.3" y="53.34" rot="R270"/>
<instance part="RN2" gate="B" x="119.38" y="53.34" rot="R270"/>
<instance part="RN2" gate="C" x="124.46" y="53.34" rot="R270"/>
<instance part="RN2" gate="D" x="129.54" y="53.34" rot="R270"/>
<instance part="GND17" gate="A" x="5.08" y="76.2"/>
<instance part="BU2" gate="G$1" x="22.86" y="66.04"/>
<instance part="GND18" gate="A" x="15.24" y="55.88"/>
<instance part="R3" gate="G$1" x="162.56" y="91.44" smashed="yes" rot="R180">
<attribute name="NAME" x="168.656" y="93.472" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="165.1" y="95.25" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="R4" gate="G$1" x="162.56" y="86.36" smashed="yes" rot="R180">
<attribute name="NAME" x="168.656" y="88.392" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="165.1" y="90.17" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="R5" gate="G$1" x="162.56" y="81.28" smashed="yes" rot="R180">
<attribute name="NAME" x="168.91" y="83.312" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="165.1" y="85.09" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="R6" gate="G$1" x="170.18" y="73.66" smashed="yes" rot="R270">
<attribute name="NAME" x="166.878" y="76.708" size="1.778" layer="95"/>
<attribute name="VALUE" x="166.37" y="76.2" size="1.778" layer="96" rot="R270"/>
</instance>
<instance part="GND19" gate="A" x="170.18" y="68.58"/>
<instance part="C12" gate="G$1" x="78.74" y="68.58" smashed="yes" rot="R90">
<attribute name="NAME" x="78.232" y="69.342" size="1.778" layer="95" rot="R90"/>
</instance>
<instance part="C13" gate="G$1" x="88.9" y="68.58" smashed="yes" rot="R90">
<attribute name="NAME" x="88.392" y="69.342" size="1.778" layer="95" rot="R90"/>
</instance>
<instance part="GND20" gate="A" x="78.74" y="66.04"/>
<instance part="GND21" gate="A" x="88.9" y="66.04"/>
<instance part="L1" gate="G$1" x="327.66" y="76.2" smashed="yes" rot="R90">
<attribute name="NAME" x="331.47" y="79.502" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="+3V3" gate="G$1" x="50.8" y="170.18"/>
<instance part="C14" gate="G$1" x="243.84" y="139.7" smashed="yes" rot="R90">
<attribute name="NAME" x="243.586" y="142.494" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="C15" gate="G$1" x="248.92" y="139.7" smashed="yes" rot="R90">
<attribute name="NAME" x="249.682" y="140.208" size="1.778" layer="95"/>
</instance>
<instance part="GND22" gate="A" x="248.92" y="129.54"/>
<instance part="+3V5" gate="G$1" x="248.92" y="149.86"/>
<instance part="GND23" gate="A" x="228.6" y="132.08"/>
<instance part="R7" gate="G$1" x="228.6" y="149.86" smashed="yes" rot="R270">
<attribute name="NAME" x="226.568" y="155.956" size="1.778" layer="95" rot="R270"/>
<attribute name="VALUE" x="224.79" y="152.4" size="1.778" layer="96" rot="R270"/>
</instance>
<instance part="+3V6" gate="G$1" x="228.6" y="162.56"/>
<instance part="C16" gate="G$1" x="142.24" y="60.96" smashed="yes" rot="R90">
<attribute name="NAME" x="141.986" y="63.754" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="C17" gate="G$1" x="147.32" y="60.96" smashed="yes" rot="R90">
<attribute name="NAME" x="146.812" y="61.722" size="1.778" layer="95" rot="R90"/>
</instance>
<instance part="GND24" gate="A" x="147.32" y="50.8"/>
<instance part="P+2" gate="1" x="147.32" y="71.12"/>
<instance part="U3" gate="A" x="132.08" y="104.14"/>
<instance part="U4" gate="A" x="198.12" y="58.42"/>
<instance part="C18" gate="G$1" x="223.52" y="58.42"/>
<instance part="L3" gate="G$1" x="195.58" y="71.12" smashed="yes" rot="R180">
<attribute name="NAME" x="194.056" y="72.136" size="1.778" layer="95"/>
</instance>
<instance part="GND25" gate="1" x="203.2" y="50.8"/>
<instance part="C19" gate="G$1" x="208.28" y="71.12" smashed="yes">
<attribute name="NAME" x="214.122" y="73.66" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="GND26" gate="1" x="218.44" y="66.04" smashed="yes">
<attribute name="VALUE" x="220.98" y="66.04" size="1.778" layer="96"/>
</instance>
<instance part="R8" gate="G$1" x="215.9" y="50.8" smashed="yes" rot="R270">
<attribute name="NAME" x="218.44" y="51.308" size="1.778" layer="95"/>
<attribute name="VALUE" x="212.09" y="53.34" size="1.778" layer="96" rot="R270"/>
</instance>
<instance part="R9" gate="G$1" x="187.96" y="45.72" smashed="yes" rot="R180">
<attribute name="NAME" x="189.738" y="49.276" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="190.5" y="49.53" size="1.778" layer="96" rot="R180"/>
</instance>
<instance part="GND27" gate="1" x="180.34" y="40.64"/>
<instance part="R10" gate="G$1" x="175.26" y="53.34" smashed="yes" rot="R270">
<attribute name="NAME" x="176.276" y="55.88" size="1.778" layer="95"/>
<attribute name="VALUE" x="171.45" y="55.88" size="1.778" layer="96" rot="R270"/>
</instance>
<instance part="C20" gate="G$1" x="170.18" y="53.34" smashed="yes" rot="R90">
<attribute name="NAME" x="169.926" y="56.134" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="GND28" gate="1" x="170.18" y="40.64"/>
<instance part="R11" gate="G$1" x="175.26" y="73.66" smashed="yes" rot="R270">
<attribute name="NAME" x="176.022" y="76.454" size="1.778" layer="95"/>
<attribute name="VALUE" x="171.45" y="76.2" size="1.778" layer="96" rot="R270"/>
</instance>
<instance part="U5" gate="G$1" x="345.44" y="68.58" rot="MR0"/>
<instance part="GND29" gate="A" x="345.44" y="60.96" smashed="yes" rot="MR0">
<attribute name="VALUE" x="347.98" y="55.88" size="1.778" layer="96" rot="MR0"/>
</instance>
<instance part="J2" gate="G$1" x="327.66" y="66.04" rot="MR270"/>
<instance part="+3V8" gate="G$1" x="327.66" y="83.82" smashed="yes" rot="MR0">
<attribute name="VALUE" x="325.12" y="86.36" size="1.778" layer="96" rot="MR180"/>
</instance>
<instance part="C8" gate="G$1" x="335.28" y="63.5" smashed="yes" rot="R90">
<attribute name="NAME" x="335.026" y="66.294" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="GND30" gate="A" x="335.28" y="60.96" smashed="yes" rot="MR0">
<attribute name="VALUE" x="337.82" y="55.88" size="1.778" layer="96" rot="MR0"/>
</instance>
<instance part="L4" gate="G$1" x="370.84" y="58.42" smashed="yes" rot="R180">
<attribute name="NAME" x="369.57" y="60.198" size="1.778" layer="95"/>
</instance>
<instance part="J1" gate="G$1" x="358.14" y="58.42" rot="MR0"/>
<instance part="X1" gate="G$1" x="83.82" y="76.2"/>
</instances>
<busses>
</busses>
<nets>
<net name="+5V" class="0">
<segment>
<pinref part="P+1" gate="1" pin="+5V"/>
<wire x1="149.86" y1="124.46" x2="154.94" y2="124.46" width="0.1524" layer="91"/>
<wire x1="154.94" y1="124.46" x2="154.94" y2="129.54" width="0.1524" layer="91"/>
<wire x1="149.86" y1="101.6" x2="154.94" y2="101.6" width="0.1524" layer="91"/>
<wire x1="154.94" y1="101.6" x2="154.94" y2="109.22" width="0.1524" layer="91"/>
<junction x="154.94" y="124.46"/>
<pinref part="U3" gate="A" pin="VCC"/>
<pinref part="U3" gate="A" pin="BC2"/>
<pinref part="U3" gate="A" pin="A8"/>
<wire x1="154.94" y1="109.22" x2="154.94" y2="124.46" width="0.1524" layer="91"/>
<wire x1="149.86" y1="109.22" x2="154.94" y2="109.22" width="0.1524" layer="91"/>
<junction x="154.94" y="109.22"/>
</segment>
<segment>
<pinref part="P+3" gate="1" pin="+5V"/>
<wire x1="378.46" y1="58.42" x2="378.46" y2="60.96" width="0.1524" layer="91"/>
<wire x1="375.92" y1="58.42" x2="378.46" y2="58.42" width="0.1524" layer="91"/>
<pinref part="L4" gate="G$1" pin="P$1"/>
</segment>
<segment>
<pinref part="C16" gate="G$1" pin="P$2"/>
<wire x1="142.24" y1="63.5" x2="142.24" y2="66.04" width="0.1524" layer="91"/>
<pinref part="C17" gate="G$1" pin="P$2"/>
<wire x1="142.24" y1="66.04" x2="147.32" y2="66.04" width="0.1524" layer="91"/>
<wire x1="147.32" y1="66.04" x2="147.32" y2="63.5" width="0.1524" layer="91"/>
<pinref part="P+2" gate="1" pin="+5V"/>
<wire x1="147.32" y1="66.04" x2="147.32" y2="68.58" width="0.1524" layer="91"/>
<junction x="147.32" y="66.04"/>
</segment>
</net>
<net name="GND" class="0">
<segment>
<pinref part="CN1" gate="A" pin="GND"/>
<pinref part="GND3" gate="1" pin="GND"/>
<wire x1="236.22" y1="53.34" x2="233.68" y2="53.34" width="0.1524" layer="91"/>
<wire x1="233.68" y1="53.34" x2="233.68" y2="50.8" width="0.1524" layer="91"/>
</segment>
<segment>
<wire x1="284.48" y1="45.72" x2="284.48" y2="38.1" width="0.1524" layer="91"/>
<pinref part="GND6" gate="A" pin="GND"/>
<pinref part="BA1" gate="G$1" pin="NEG"/>
</segment>
<segment>
<pinref part="GND8" gate="A" pin="GND"/>
<wire x1="294.64" y1="38.1" x2="294.64" y2="43.18" width="0.1524" layer="91"/>
<pinref part="C1" gate="G$1" pin="C"/>
</segment>
<segment>
<pinref part="GND9" gate="A" pin="GND"/>
<pinref part="C2" gate="G$1" pin="P$2"/>
<wire x1="345.44" y1="27.94" x2="345.44" y2="35.56" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND12" gate="A" pin="GND"/>
<wire x1="350.52" y1="27.94" x2="350.52" y2="35.56" width="0.1524" layer="91"/>
<pinref part="C3" gate="G$1" pin="C"/>
</segment>
<segment>
<pinref part="U1" gate="G$1" pin="GND"/>
<pinref part="GND7" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="R2" gate="G$1" pin="P$1"/>
<pinref part="GND10" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="GND_2"/>
<pinref part="GND11" gate="A" pin="GND"/>
<wire x1="55.88" y1="101.6" x2="50.8" y2="101.6" width="0.1524" layer="91"/>
<wire x1="50.8" y1="101.6" x2="50.8" y2="99.06" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="GND_3"/>
<wire x1="50.8" y1="99.06" x2="50.8" y2="96.52" width="0.1524" layer="91"/>
<wire x1="50.8" y1="96.52" x2="50.8" y2="93.98" width="0.1524" layer="91"/>
<wire x1="50.8" y1="93.98" x2="50.8" y2="91.44" width="0.1524" layer="91"/>
<wire x1="50.8" y1="91.44" x2="50.8" y2="88.9" width="0.1524" layer="91"/>
<wire x1="55.88" y1="99.06" x2="50.8" y2="99.06" width="0.1524" layer="91"/>
<junction x="50.8" y="99.06"/>
<pinref part="U2" gate="A" pin="GND_4"/>
<wire x1="55.88" y1="96.52" x2="50.8" y2="96.52" width="0.1524" layer="91"/>
<junction x="50.8" y="96.52"/>
<pinref part="U2" gate="A" pin="GND"/>
<wire x1="55.88" y1="93.98" x2="50.8" y2="93.98" width="0.1524" layer="91"/>
<junction x="50.8" y="93.98"/>
<pinref part="U2" gate="A" pin="UGND"/>
<wire x1="55.88" y1="91.44" x2="50.8" y2="91.44" width="0.1524" layer="91"/>
<junction x="50.8" y="91.44"/>
<pinref part="C9" gate="G$1" pin="P$1"/>
<wire x1="50.8" y1="101.6" x2="50.8" y2="121.92" width="0.1524" layer="91"/>
<junction x="50.8" y="101.6"/>
</segment>
<segment>
<pinref part="CN2" gate="G$1" pin="P$6"/>
<wire x1="200.66" y1="86.36" x2="198.12" y2="86.36" width="0.1524" layer="91"/>
<wire x1="198.12" y1="86.36" x2="198.12" y2="83.82" width="0.1524" layer="91"/>
<pinref part="GND1" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="CN2" gate="G$1" pin="P$10"/>
<wire x1="220.98" y1="91.44" x2="223.52" y2="91.44" width="0.1524" layer="91"/>
<wire x1="223.52" y1="91.44" x2="223.52" y2="83.82" width="0.1524" layer="91"/>
<pinref part="GND4" gate="A" pin="GND"/>
</segment>
<segment>
<wire x1="149.86" y1="121.92" x2="152.4" y2="121.92" width="0.1524" layer="91"/>
<wire x1="152.4" y1="121.92" x2="152.4" y2="81.28" width="0.1524" layer="91"/>
<pinref part="GND5" gate="A" pin="GND"/>
<pinref part="U3" gate="A" pin="VSS"/>
</segment>
<segment>
<wire x1="193.04" y1="116.84" x2="193.04" y2="119.38" width="0.1524" layer="91"/>
<pinref part="LCD1" gate="A" pin="GND@3"/>
<wire x1="193.04" y1="119.38" x2="193.04" y2="121.92" width="0.1524" layer="91"/>
<wire x1="193.04" y1="121.92" x2="195.58" y2="121.92" width="0.1524" layer="91"/>
<pinref part="LCD1" gate="A" pin="GND@8"/>
<wire x1="195.58" y1="119.38" x2="193.04" y2="119.38" width="0.1524" layer="91"/>
<junction x="193.04" y="119.38"/>
<pinref part="GND13" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="CN3" gate="G$1" pin="GND"/>
<pinref part="GND14" gate="A" pin="GND"/>
<wire x1="22.86" y1="124.46" x2="25.4" y2="124.46" width="0.1524" layer="91"/>
<wire x1="25.4" y1="124.46" x2="25.4" y2="121.92" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="C4" gate="G$1" pin="P$1"/>
<wire x1="30.48" y1="154.94" x2="35.56" y2="154.94" width="0.1524" layer="91"/>
<wire x1="35.56" y1="154.94" x2="40.64" y2="154.94" width="0.1524" layer="91"/>
<wire x1="40.64" y1="154.94" x2="45.72" y2="154.94" width="0.1524" layer="91"/>
<wire x1="45.72" y1="154.94" x2="45.72" y2="157.48" width="0.1524" layer="91"/>
<pinref part="C5" gate="G$1" pin="P$1"/>
<wire x1="40.64" y1="157.48" x2="40.64" y2="154.94" width="0.1524" layer="91"/>
<junction x="40.64" y="154.94"/>
<pinref part="C6" gate="G$1" pin="P$1"/>
<wire x1="35.56" y1="157.48" x2="35.56" y2="154.94" width="0.1524" layer="91"/>
<junction x="35.56" y="154.94"/>
<pinref part="C7" gate="G$1" pin="P$1"/>
<wire x1="30.48" y1="157.48" x2="30.48" y2="154.94" width="0.1524" layer="91"/>
<pinref part="GND15" gate="A" pin="GND"/>
<junction x="45.72" y="154.94"/>
</segment>
<segment>
<pinref part="C10" gate="G$1" pin="P$1"/>
<wire x1="236.22" y1="93.98" x2="236.22" y2="91.44" width="0.1524" layer="91"/>
<wire x1="236.22" y1="91.44" x2="241.3" y2="91.44" width="0.1524" layer="91"/>
<pinref part="C11" gate="G$1" pin="P$1"/>
<wire x1="241.3" y1="91.44" x2="241.3" y2="93.98" width="0.1524" layer="91"/>
<pinref part="GND2" gate="A" pin="GND"/>
<wire x1="241.3" y1="91.44" x2="241.3" y2="86.36" width="0.1524" layer="91"/>
<junction x="241.3" y="91.44"/>
</segment>
<segment>
<pinref part="D0" gate="A" pin="C"/>
<wire x1="93.98" y1="40.64" x2="93.98" y2="38.1" width="0.1524" layer="91"/>
<pinref part="D7" gate="A" pin="C"/>
<wire x1="93.98" y1="38.1" x2="99.06" y2="38.1" width="0.1524" layer="91"/>
<wire x1="99.06" y1="38.1" x2="104.14" y2="38.1" width="0.1524" layer="91"/>
<wire x1="104.14" y1="38.1" x2="109.22" y2="38.1" width="0.1524" layer="91"/>
<wire x1="109.22" y1="38.1" x2="114.3" y2="38.1" width="0.1524" layer="91"/>
<wire x1="114.3" y1="38.1" x2="119.38" y2="38.1" width="0.1524" layer="91"/>
<wire x1="119.38" y1="38.1" x2="124.46" y2="38.1" width="0.1524" layer="91"/>
<wire x1="124.46" y1="38.1" x2="129.54" y2="38.1" width="0.1524" layer="91"/>
<wire x1="129.54" y1="38.1" x2="129.54" y2="40.64" width="0.1524" layer="91"/>
<pinref part="D6" gate="A" pin="C"/>
<wire x1="124.46" y1="40.64" x2="124.46" y2="38.1" width="0.1524" layer="91"/>
<junction x="124.46" y="38.1"/>
<pinref part="D5" gate="A" pin="C"/>
<wire x1="119.38" y1="40.64" x2="119.38" y2="38.1" width="0.1524" layer="91"/>
<junction x="119.38" y="38.1"/>
<pinref part="D4" gate="A" pin="C"/>
<wire x1="114.3" y1="40.64" x2="114.3" y2="38.1" width="0.1524" layer="91"/>
<junction x="114.3" y="38.1"/>
<pinref part="D3" gate="A" pin="C"/>
<wire x1="109.22" y1="40.64" x2="109.22" y2="38.1" width="0.1524" layer="91"/>
<junction x="109.22" y="38.1"/>
<pinref part="D2" gate="A" pin="C"/>
<wire x1="104.14" y1="40.64" x2="104.14" y2="38.1" width="0.1524" layer="91"/>
<junction x="104.14" y="38.1"/>
<pinref part="D1" gate="A" pin="C"/>
<wire x1="99.06" y1="40.64" x2="99.06" y2="38.1" width="0.1524" layer="91"/>
<junction x="99.06" y="38.1"/>
<pinref part="GND16" gate="A" pin="GND"/>
<wire x1="129.54" y1="38.1" x2="129.54" y2="35.56" width="0.1524" layer="91"/>
<junction x="129.54" y="38.1"/>
</segment>
<segment>
<pinref part="S1" gate="G$1" pin="1A"/>
<wire x1="7.62" y1="109.22" x2="5.08" y2="109.22" width="0.1524" layer="91"/>
<wire x1="5.08" y1="109.22" x2="5.08" y2="106.68" width="0.1524" layer="91"/>
<pinref part="S5" gate="G$1" pin="1A"/>
<wire x1="5.08" y1="106.68" x2="5.08" y2="101.6" width="0.1524" layer="91"/>
<wire x1="5.08" y1="101.6" x2="5.08" y2="99.06" width="0.1524" layer="91"/>
<wire x1="5.08" y1="99.06" x2="5.08" y2="93.98" width="0.1524" layer="91"/>
<wire x1="5.08" y1="93.98" x2="5.08" y2="91.44" width="0.1524" layer="91"/>
<wire x1="5.08" y1="91.44" x2="5.08" y2="86.36" width="0.1524" layer="91"/>
<wire x1="5.08" y1="86.36" x2="5.08" y2="83.82" width="0.1524" layer="91"/>
<wire x1="5.08" y1="83.82" x2="5.08" y2="78.74" width="0.1524" layer="91"/>
<wire x1="5.08" y1="78.74" x2="5.08" y2="76.2" width="0.1524" layer="91"/>
<wire x1="7.62" y1="78.74" x2="5.08" y2="78.74" width="0.1524" layer="91"/>
<junction x="5.08" y="78.74"/>
<pinref part="S4" gate="G$1" pin="1A"/>
<wire x1="7.62" y1="86.36" x2="5.08" y2="86.36" width="0.1524" layer="91"/>
<junction x="5.08" y="86.36"/>
<pinref part="S3" gate="G$1" pin="1A"/>
<wire x1="7.62" y1="93.98" x2="5.08" y2="93.98" width="0.1524" layer="91"/>
<junction x="5.08" y="93.98"/>
<pinref part="S2" gate="G$1" pin="1A"/>
<wire x1="7.62" y1="101.6" x2="5.08" y2="101.6" width="0.1524" layer="91"/>
<junction x="5.08" y="101.6"/>
<pinref part="GND17" gate="A" pin="GND"/>
<pinref part="S5" gate="G$1" pin="1B"/>
<wire x1="7.62" y1="76.2" x2="5.08" y2="76.2" width="0.1524" layer="91"/>
<junction x="5.08" y="76.2"/>
<pinref part="S4" gate="G$1" pin="1B"/>
<wire x1="7.62" y1="83.82" x2="5.08" y2="83.82" width="0.1524" layer="91"/>
<junction x="5.08" y="83.82"/>
<pinref part="S3" gate="G$1" pin="1B"/>
<wire x1="7.62" y1="91.44" x2="5.08" y2="91.44" width="0.1524" layer="91"/>
<junction x="5.08" y="91.44"/>
<pinref part="S2" gate="G$1" pin="1B"/>
<wire x1="7.62" y1="99.06" x2="5.08" y2="99.06" width="0.1524" layer="91"/>
<junction x="5.08" y="99.06"/>
<pinref part="S1" gate="G$1" pin="1B"/>
<wire x1="7.62" y1="106.68" x2="5.08" y2="106.68" width="0.1524" layer="91"/>
<junction x="5.08" y="106.68"/>
</segment>
<segment>
<pinref part="BU2" gate="G$1" pin="SW1"/>
<pinref part="GND18" gate="A" pin="GND"/>
<wire x1="17.78" y1="58.42" x2="15.24" y2="58.42" width="0.1524" layer="91"/>
<wire x1="15.24" y1="58.42" x2="15.24" y2="55.88" width="0.1524" layer="91"/>
<pinref part="BU2" gate="G$1" pin="Q"/>
<wire x1="17.78" y1="66.04" x2="15.24" y2="66.04" width="0.1524" layer="91"/>
<wire x1="15.24" y1="66.04" x2="15.24" y2="58.42" width="0.1524" layer="91"/>
<junction x="15.24" y="58.42"/>
</segment>
<segment>
<pinref part="R6" gate="G$1" pin="P$2"/>
<pinref part="GND19" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="C12" gate="G$1" pin="P$1"/>
<pinref part="GND20" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="C13" gate="G$1" pin="P$1"/>
<pinref part="GND21" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="C14" gate="G$1" pin="P$1"/>
<wire x1="243.84" y1="137.16" x2="243.84" y2="134.62" width="0.1524" layer="91"/>
<wire x1="243.84" y1="134.62" x2="248.92" y2="134.62" width="0.1524" layer="91"/>
<pinref part="C15" gate="G$1" pin="P$1"/>
<wire x1="248.92" y1="134.62" x2="248.92" y2="137.16" width="0.1524" layer="91"/>
<pinref part="GND22" gate="A" pin="GND"/>
<wire x1="248.92" y1="134.62" x2="248.92" y2="129.54" width="0.1524" layer="91"/>
<junction x="248.92" y="134.62"/>
</segment>
<segment>
<pinref part="LCD1" gate="A" pin="LEDK"/>
<wire x1="226.06" y1="134.62" x2="228.6" y2="134.62" width="0.1524" layer="91"/>
<wire x1="228.6" y1="134.62" x2="228.6" y2="132.08" width="0.1524" layer="91"/>
<pinref part="GND23" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="C16" gate="G$1" pin="P$1"/>
<wire x1="142.24" y1="58.42" x2="142.24" y2="55.88" width="0.1524" layer="91"/>
<wire x1="142.24" y1="55.88" x2="147.32" y2="55.88" width="0.1524" layer="91"/>
<pinref part="C17" gate="G$1" pin="P$1"/>
<wire x1="147.32" y1="55.88" x2="147.32" y2="58.42" width="0.1524" layer="91"/>
<pinref part="GND24" gate="A" pin="GND"/>
<wire x1="147.32" y1="55.88" x2="147.32" y2="50.8" width="0.1524" layer="91"/>
<junction x="147.32" y="55.88"/>
</segment>
<segment>
<pinref part="U4" gate="A" pin="V-"/>
<pinref part="GND25" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C19" gate="G$1" pin="P$2"/>
<pinref part="GND26" gate="1" pin="GND"/>
<wire x1="210.82" y1="71.12" x2="218.44" y2="71.12" width="0.1524" layer="91"/>
<wire x1="218.44" y1="71.12" x2="218.44" y2="68.58" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R9" gate="G$1" pin="P$2"/>
<wire x1="182.88" y1="45.72" x2="180.34" y2="45.72" width="0.1524" layer="91"/>
<wire x1="180.34" y1="45.72" x2="180.34" y2="43.18" width="0.1524" layer="91"/>
<pinref part="GND27" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="R10" gate="G$1" pin="P$2"/>
<wire x1="175.26" y1="48.26" x2="175.26" y2="45.72" width="0.1524" layer="91"/>
<wire x1="175.26" y1="45.72" x2="170.18" y2="45.72" width="0.1524" layer="91"/>
<pinref part="C20" gate="G$1" pin="P$1"/>
<wire x1="170.18" y1="45.72" x2="170.18" y2="50.8" width="0.1524" layer="91"/>
<wire x1="170.18" y1="45.72" x2="170.18" y2="43.18" width="0.1524" layer="91"/>
<junction x="170.18" y="45.72"/>
<pinref part="GND28" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="U5" gate="G$1" pin="G/A"/>
<wire x1="345.44" y1="63.5" x2="345.44" y2="60.96" width="0.1524" layer="91"/>
<pinref part="GND29" gate="A" pin="GND"/>
</segment>
<segment>
<pinref part="C8" gate="G$1" pin="P$1"/>
<pinref part="GND30" gate="A" pin="GND"/>
</segment>
</net>
<net name="AY_RESET" class="0">
<segment>
<wire x1="149.86" y1="114.3" x2="160.02" y2="114.3" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="PC6"/>
<wire x1="86.36" y1="134.62" x2="160.02" y2="134.62" width="0.1524" layer="91"/>
<wire x1="160.02" y1="134.62" x2="160.02" y2="114.3" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="/RESET"/>
<pinref part="LCD1" gate="A" pin="!RST"/>
<wire x1="195.58" y1="134.62" x2="160.02" y2="134.62" width="0.1524" layer="91"/>
<junction x="160.02" y="134.62"/>
</segment>
</net>
<net name="AY_CLK" class="0">
<segment>
<wire x1="149.86" y1="116.84" x2="157.48" y2="116.84" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="PC7"/>
<wire x1="86.36" y1="132.08" x2="157.48" y2="132.08" width="0.1524" layer="91"/>
<wire x1="157.48" y1="132.08" x2="157.48" y2="116.84" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="CLK"/>
</segment>
</net>
<net name="AY_DIR" class="0">
<segment>
<wire x1="149.86" y1="106.68" x2="160.02" y2="106.68" width="0.1524" layer="91"/>
<label x="160.02" y="106.68" size="1.27" layer="95" xref="yes"/>
<pinref part="U3" gate="A" pin="BDIR"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PE2"/>
<wire x1="86.36" y1="104.14" x2="91.44" y2="104.14" width="0.1524" layer="91"/>
<label x="91.44" y="104.14" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="AY_BC1" class="0">
<segment>
<wire x1="149.86" y1="104.14" x2="160.02" y2="104.14" width="0.1524" layer="91"/>
<label x="160.02" y="104.14" size="1.27" layer="95" xref="yes"/>
<pinref part="U3" gate="A" pin="BC1"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PB6"/>
<wire x1="86.36" y1="142.24" x2="93.98" y2="142.24" width="0.1524" layer="91"/>
<label x="93.98" y="142.24" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="+3V3" class="0">
<segment>
<pinref part="LCD1" gate="A" pin="VDD"/>
<pinref part="+3V1" gate="G$1" pin="+3V3"/>
<wire x1="195.58" y1="127" x2="193.04" y2="127" width="0.1524" layer="91"/>
<wire x1="193.04" y1="127" x2="193.04" y2="129.54" width="0.1524" layer="91"/>
<pinref part="LCD1" gate="A" pin="VDDI"/>
<wire x1="193.04" y1="129.54" x2="193.04" y2="147.32" width="0.1524" layer="91"/>
<wire x1="195.58" y1="129.54" x2="193.04" y2="129.54" width="0.1524" layer="91"/>
<junction x="193.04" y="129.54"/>
<pinref part="CN2" gate="G$1" pin="P$4"/>
<wire x1="200.66" y1="104.14" x2="190.5" y2="104.14" width="0.1524" layer="91"/>
<wire x1="190.5" y1="104.14" x2="190.5" y2="127" width="0.1524" layer="91"/>
<wire x1="190.5" y1="127" x2="193.04" y2="127" width="0.1524" layer="91"/>
<junction x="193.04" y="127"/>
</segment>
<segment>
<pinref part="C10" gate="G$1" pin="P$2"/>
<wire x1="236.22" y1="99.06" x2="236.22" y2="101.6" width="0.1524" layer="91"/>
<pinref part="C11" gate="G$1" pin="P$2"/>
<wire x1="236.22" y1="101.6" x2="241.3" y2="101.6" width="0.1524" layer="91"/>
<wire x1="241.3" y1="101.6" x2="241.3" y2="99.06" width="0.1524" layer="91"/>
<wire x1="241.3" y1="101.6" x2="241.3" y2="104.14" width="0.1524" layer="91"/>
<junction x="241.3" y="101.6"/>
<pinref part="+3V2" gate="G$1" pin="+3V3"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="AVCC"/>
<wire x1="55.88" y1="147.32" x2="50.8" y2="147.32" width="0.1524" layer="91"/>
<wire x1="50.8" y1="147.32" x2="50.8" y2="149.86" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="VCC_2"/>
<wire x1="50.8" y1="149.86" x2="50.8" y2="154.94" width="0.1524" layer="91"/>
<wire x1="50.8" y1="154.94" x2="50.8" y2="157.48" width="0.1524" layer="91"/>
<wire x1="50.8" y1="157.48" x2="50.8" y2="160.02" width="0.1524" layer="91"/>
<wire x1="55.88" y1="157.48" x2="50.8" y2="157.48" width="0.1524" layer="91"/>
<junction x="50.8" y="157.48"/>
<pinref part="U2" gate="A" pin="VCC"/>
<wire x1="55.88" y1="154.94" x2="50.8" y2="154.94" width="0.1524" layer="91"/>
<junction x="50.8" y="154.94"/>
<pinref part="U2" gate="A" pin="AVCC_2"/>
<wire x1="55.88" y1="149.86" x2="50.8" y2="149.86" width="0.1524" layer="91"/>
<junction x="50.8" y="149.86"/>
<pinref part="C4" gate="G$1" pin="P$2"/>
<wire x1="45.72" y1="162.56" x2="45.72" y2="165.1" width="0.1524" layer="91"/>
<wire x1="45.72" y1="165.1" x2="40.64" y2="165.1" width="0.1524" layer="91"/>
<wire x1="40.64" y1="165.1" x2="35.56" y2="165.1" width="0.1524" layer="91"/>
<wire x1="35.56" y1="165.1" x2="30.48" y2="165.1" width="0.1524" layer="91"/>
<junction x="45.72" y="165.1"/>
<pinref part="C7" gate="G$1" pin="P$2"/>
<wire x1="30.48" y1="162.56" x2="30.48" y2="165.1" width="0.1524" layer="91"/>
<pinref part="C6" gate="G$1" pin="P$2"/>
<wire x1="35.56" y1="162.56" x2="35.56" y2="165.1" width="0.1524" layer="91"/>
<junction x="35.56" y="165.1"/>
<pinref part="C5" gate="G$1" pin="P$2"/>
<wire x1="40.64" y1="162.56" x2="40.64" y2="165.1" width="0.1524" layer="91"/>
<junction x="40.64" y="165.1"/>
<wire x1="45.72" y1="165.1" x2="50.8" y2="165.1" width="0.1524" layer="91"/>
<wire x1="50.8" y1="165.1" x2="50.8" y2="157.48" width="0.1524" layer="91"/>
<pinref part="+3V3" gate="G$1" pin="+3V3"/>
<wire x1="50.8" y1="165.1" x2="50.8" y2="167.64" width="0.1524" layer="91"/>
<junction x="50.8" y="165.1"/>
<pinref part="U2" gate="A" pin="UCAP"/>
<pinref part="C9" gate="G$1" pin="P$2"/>
<wire x1="55.88" y1="127" x2="50.8" y2="127" width="0.1524" layer="91"/>
<wire x1="50.8" y1="127" x2="50.8" y2="147.32" width="0.1524" layer="91"/>
<junction x="50.8" y="127"/>
<junction x="50.8" y="147.32"/>
</segment>
<segment>
<pinref part="C14" gate="G$1" pin="P$2"/>
<wire x1="243.84" y1="142.24" x2="243.84" y2="144.78" width="0.1524" layer="91"/>
<pinref part="C15" gate="G$1" pin="P$2"/>
<wire x1="243.84" y1="144.78" x2="248.92" y2="144.78" width="0.1524" layer="91"/>
<wire x1="248.92" y1="144.78" x2="248.92" y2="142.24" width="0.1524" layer="91"/>
<wire x1="248.92" y1="144.78" x2="248.92" y2="147.32" width="0.1524" layer="91"/>
<junction x="248.92" y="144.78"/>
<pinref part="+3V5" gate="G$1" pin="+3V3"/>
</segment>
<segment>
<pinref part="R7" gate="G$1" pin="P$1"/>
<pinref part="+3V6" gate="G$1" pin="+3V3"/>
<wire x1="228.6" y1="154.94" x2="228.6" y2="160.02" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="L1" gate="G$1" pin="P$2"/>
<pinref part="+3V8" gate="G$1" pin="+3V3"/>
</segment>
</net>
<net name="BAT-SWITCHED" class="0">
<segment>
<wire x1="294.64" y1="50.8" x2="294.64" y2="48.26" width="0.1524" layer="91"/>
<junction x="294.64" y="50.8"/>
<pinref part="SW2" gate="A" pin="NO"/>
<wire x1="294.64" y1="50.8" x2="294.64" y2="53.34" width="0.1524" layer="91"/>
<pinref part="L2" gate="G$1" pin="P$1"/>
<wire x1="294.64" y1="53.34" x2="294.64" y2="55.88" width="0.1524" layer="91"/>
<wire x1="294.64" y1="50.8" x2="307.34" y2="50.8" width="0.1524" layer="91"/>
<pinref part="C1" gate="G$1" pin="A"/>
<wire x1="299.72" y1="53.34" x2="294.64" y2="53.34" width="0.1524" layer="91"/>
<junction x="294.64" y="53.34"/>
<wire x1="299.72" y1="53.34" x2="299.72" y2="68.58" width="0.1524" layer="91"/>
<pinref part="J2" gate="G$1" pin="P$1"/>
<wire x1="325.12" y1="66.04" x2="325.12" y2="68.58" width="0.1524" layer="91"/>
<wire x1="299.72" y1="68.58" x2="325.12" y2="68.58" width="0.1524" layer="91"/>
</segment>
</net>
<net name="BAT" class="0">
<segment>
<pinref part="SW2" gate="A" pin="COM"/>
<wire x1="289.56" y1="53.34" x2="289.56" y2="55.88" width="0.1524" layer="91"/>
<pinref part="BA1" gate="G$1" pin="POS1"/>
<wire x1="289.56" y1="53.34" x2="284.48" y2="53.34" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$1" class="0">
<segment>
<pinref part="U1" gate="G$1" pin="LX"/>
<wire x1="325.12" y1="40.64" x2="327.66" y2="40.64" width="0.1524" layer="91"/>
<wire x1="327.66" y1="40.64" x2="327.66" y2="50.8" width="0.1524" layer="91"/>
<pinref part="L2" gate="G$1" pin="P$2"/>
<wire x1="327.66" y1="50.8" x2="317.5" y2="50.8" width="0.1524" layer="91"/>
<pinref part="D10" gate="G$1" pin="A"/>
<wire x1="327.66" y1="50.8" x2="330.2" y2="50.8" width="0.1524" layer="91"/>
<junction x="327.66" y="50.8"/>
</segment>
</net>
<net name="N$3" class="0">
<segment>
<pinref part="R1" gate="G$1" pin="P$1"/>
<pinref part="R2" gate="G$1" pin="P$2"/>
<pinref part="U1" gate="G$1" pin="FB"/>
<wire x1="325.12" y1="38.1" x2="340.36" y2="38.1" width="0.1524" layer="91"/>
<junction x="340.36" y="38.1"/>
</segment>
</net>
<net name="N$4" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD7"/>
<wire x1="86.36" y1="109.22" x2="114.3" y2="124.46" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA7"/>
</segment>
</net>
<net name="N$5" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD6"/>
<wire x1="114.3" y1="121.92" x2="86.36" y2="111.76" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA6"/>
</segment>
</net>
<net name="N$6" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD5"/>
<wire x1="86.36" y1="114.3" x2="114.3" y2="119.38" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA5"/>
</segment>
</net>
<net name="N$7" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD4"/>
<wire x1="114.3" y1="116.84" x2="86.36" y2="116.84" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA4"/>
</segment>
</net>
<net name="N$8" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD3"/>
<wire x1="86.36" y1="119.38" x2="114.3" y2="114.3" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA3"/>
</segment>
</net>
<net name="N$9" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD2"/>
<wire x1="114.3" y1="111.76" x2="86.36" y2="121.92" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA2"/>
</segment>
</net>
<net name="N$10" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD1"/>
<wire x1="86.36" y1="124.46" x2="114.3" y2="109.22" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA1"/>
</segment>
</net>
<net name="N$11" class="0">
<segment>
<pinref part="U2" gate="A" pin="PD0"/>
<wire x1="114.3" y1="106.68" x2="86.36" y2="127" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="DA0"/>
</segment>
</net>
<net name="VUSB" class="0">
<segment>
<pinref part="U2" gate="A" pin="VBUS"/>
<pinref part="CN3" gate="G$1" pin="VBUS"/>
<wire x1="55.88" y1="134.62" x2="35.56" y2="134.62" width="0.1524" layer="91"/>
<wire x1="35.56" y1="134.62" x2="22.86" y2="134.62" width="0.1524" layer="91"/>
<wire x1="35.56" y1="134.62" x2="35.56" y2="139.7" width="0.1524" layer="91"/>
<junction x="35.56" y="134.62"/>
<label x="35.56" y="139.7" size="1.27" layer="95" rot="R90" xref="yes"/>
</segment>
<segment>
<pinref part="U5" gate="G$1" pin="IN"/>
<wire x1="353.06" y1="68.58" x2="360.68" y2="68.58" width="0.1524" layer="91"/>
<label x="365.76" y="68.58" size="1.27" layer="95" rot="MR180" xref="yes"/>
<pinref part="J1" gate="G$1" pin="P$1"/>
<wire x1="360.68" y1="68.58" x2="365.76" y2="68.58" width="0.1524" layer="91"/>
<wire x1="358.14" y1="60.96" x2="360.68" y2="60.96" width="0.1524" layer="91"/>
<wire x1="360.68" y1="60.96" x2="360.68" y2="68.58" width="0.1524" layer="91"/>
<junction x="360.68" y="68.58"/>
</segment>
</net>
<net name="N$13" class="0">
<segment>
<pinref part="CN3" gate="G$1" pin="D+"/>
<pinref part="U2" gate="A" pin="D+"/>
<wire x1="22.86" y1="132.08" x2="55.88" y2="132.08" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$14" class="0">
<segment>
<pinref part="U2" gate="A" pin="D-"/>
<pinref part="CN3" gate="G$1" pin="D-"/>
<wire x1="55.88" y1="129.54" x2="22.86" y2="129.54" width="0.1524" layer="91"/>
</segment>
</net>
<net name="MOSI" class="0">
<segment>
<pinref part="CN2" gate="G$1" pin="P$3"/>
<wire x1="200.66" y1="93.98" x2="187.96" y2="93.98" width="0.1524" layer="91"/>
<wire x1="187.96" y1="93.98" x2="187.96" y2="142.24" width="0.1524" layer="91"/>
<pinref part="LCD1" gate="A" pin="SI"/>
<wire x1="195.58" y1="142.24" x2="187.96" y2="142.24" width="0.1524" layer="91"/>
<wire x1="187.96" y1="142.24" x2="180.34" y2="142.24" width="0.1524" layer="91"/>
<junction x="187.96" y="142.24"/>
<label x="180.34" y="142.24" size="1.27" layer="95" rot="R180" xref="yes"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PB2"/>
<wire x1="86.36" y1="152.4" x2="93.98" y2="152.4" width="0.1524" layer="91"/>
<label x="93.98" y="152.4" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="SD_CS" class="0">
<segment>
<pinref part="CN2" gate="G$1" pin="P$2"/>
<wire x1="200.66" y1="99.06" x2="180.34" y2="99.06" width="0.1524" layer="91"/>
<label x="180.34" y="99.06" size="1.27" layer="95" rot="R180" xref="yes"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PB0"/>
<wire x1="86.36" y1="157.48" x2="93.98" y2="157.48" width="0.1524" layer="91"/>
<label x="93.98" y="157.48" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="MISO" class="0">
<segment>
<pinref part="CN2" gate="G$1" pin="P$7"/>
<wire x1="200.66" y1="96.52" x2="180.34" y2="96.52" width="0.1524" layer="91"/>
<label x="180.34" y="96.52" size="1.27" layer="95" rot="R180" xref="yes"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PB3"/>
<wire x1="86.36" y1="149.86" x2="93.98" y2="149.86" width="0.1524" layer="91"/>
<label x="93.98" y="149.86" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="LCD_CS" class="0">
<segment>
<wire x1="195.58" y1="137.16" x2="180.34" y2="137.16" width="0.1524" layer="91"/>
<label x="180.34" y="137.16" size="1.27" layer="95" rot="R180" xref="yes"/>
<pinref part="LCD1" gate="A" pin="!CS"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PE6"/>
<wire x1="86.36" y1="101.6" x2="91.44" y2="101.6" width="0.1524" layer="91"/>
<label x="91.44" y="101.6" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="SCK" class="0">
<segment>
<pinref part="U2" gate="A" pin="PB1"/>
<wire x1="86.36" y1="154.94" x2="93.98" y2="154.94" width="0.1524" layer="91"/>
<label x="93.98" y="154.94" size="1.27" layer="95" xref="yes"/>
</segment>
<segment>
<pinref part="CN2" gate="G$1" pin="P$5"/>
<wire x1="200.66" y1="91.44" x2="185.42" y2="91.44" width="0.1524" layer="91"/>
<wire x1="185.42" y1="91.44" x2="185.42" y2="139.7" width="0.1524" layer="91"/>
<pinref part="LCD1" gate="A" pin="SCLK"/>
<wire x1="185.42" y1="139.7" x2="195.58" y2="139.7" width="0.1524" layer="91"/>
<wire x1="185.42" y1="139.7" x2="180.34" y2="139.7" width="0.1524" layer="91"/>
<junction x="185.42" y="139.7"/>
<label x="180.34" y="139.7" size="1.27" layer="95" rot="R180" xref="yes"/>
</segment>
</net>
<net name="N$16" class="0">
<segment>
<pinref part="D0" gate="A" pin="A"/>
<pinref part="RN1" gate="A" pin="P$2"/>
</segment>
</net>
<net name="N$17" class="0">
<segment>
<pinref part="D1" gate="A" pin="A"/>
<pinref part="RN1" gate="B" pin="P$2"/>
</segment>
</net>
<net name="N$18" class="0">
<segment>
<pinref part="D2" gate="A" pin="A"/>
<pinref part="RN1" gate="C" pin="P$2"/>
</segment>
</net>
<net name="N$19" class="0">
<segment>
<pinref part="D3" gate="A" pin="A"/>
<pinref part="RN1" gate="D" pin="P$2"/>
</segment>
</net>
<net name="N$20" class="0">
<segment>
<pinref part="D4" gate="A" pin="A"/>
<pinref part="RN2" gate="A" pin="P$2"/>
</segment>
</net>
<net name="N$22" class="0">
<segment>
<pinref part="D5" gate="A" pin="A"/>
<pinref part="RN2" gate="B" pin="P$2"/>
</segment>
</net>
<net name="N$23" class="0">
<segment>
<pinref part="D7" gate="A" pin="A"/>
<pinref part="RN2" gate="D" pin="P$2"/>
</segment>
</net>
<net name="N$24" class="0">
<segment>
<pinref part="D6" gate="A" pin="A"/>
<pinref part="RN2" gate="C" pin="P$2"/>
</segment>
</net>
<net name="N$25" class="0">
<segment>
<pinref part="RN2" gate="D" pin="P$1"/>
<wire x1="129.54" y1="58.42" x2="129.54" y2="76.2" width="0.1524" layer="91"/>
<wire x1="129.54" y1="76.2" x2="111.76" y2="76.2" width="0.1524" layer="91"/>
<wire x1="111.76" y1="76.2" x2="111.76" y2="101.6" width="0.1524" layer="91"/>
<wire x1="111.76" y1="101.6" x2="114.3" y2="101.6" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA7"/>
</segment>
</net>
<net name="N$26" class="0">
<segment>
<wire x1="114.3" y1="99.06" x2="109.22" y2="99.06" width="0.1524" layer="91"/>
<wire x1="109.22" y1="99.06" x2="109.22" y2="73.66" width="0.1524" layer="91"/>
<pinref part="RN2" gate="C" pin="P$1"/>
<wire x1="109.22" y1="73.66" x2="124.46" y2="73.66" width="0.1524" layer="91"/>
<wire x1="124.46" y1="73.66" x2="124.46" y2="58.42" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA6"/>
</segment>
</net>
<net name="N$27" class="0">
<segment>
<wire x1="114.3" y1="96.52" x2="106.68" y2="96.52" width="0.1524" layer="91"/>
<wire x1="106.68" y1="96.52" x2="106.68" y2="71.12" width="0.1524" layer="91"/>
<wire x1="106.68" y1="71.12" x2="119.38" y2="71.12" width="0.1524" layer="91"/>
<pinref part="RN2" gate="B" pin="P$1"/>
<wire x1="119.38" y1="71.12" x2="119.38" y2="58.42" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA5"/>
</segment>
</net>
<net name="N$28" class="0">
<segment>
<wire x1="114.3" y1="93.98" x2="104.14" y2="93.98" width="0.1524" layer="91"/>
<wire x1="104.14" y1="93.98" x2="104.14" y2="68.58" width="0.1524" layer="91"/>
<wire x1="104.14" y1="68.58" x2="114.3" y2="68.58" width="0.1524" layer="91"/>
<pinref part="RN2" gate="A" pin="P$1"/>
<wire x1="114.3" y1="68.58" x2="114.3" y2="58.42" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA4"/>
</segment>
</net>
<net name="N$29" class="0">
<segment>
<wire x1="114.3" y1="91.44" x2="101.6" y2="91.44" width="0.1524" layer="91"/>
<wire x1="101.6" y1="91.44" x2="101.6" y2="66.04" width="0.1524" layer="91"/>
<wire x1="101.6" y1="66.04" x2="109.22" y2="66.04" width="0.1524" layer="91"/>
<pinref part="RN1" gate="D" pin="P$1"/>
<wire x1="109.22" y1="66.04" x2="109.22" y2="58.42" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA3"/>
</segment>
</net>
<net name="N$30" class="0">
<segment>
<wire x1="114.3" y1="88.9" x2="99.06" y2="88.9" width="0.1524" layer="91"/>
<wire x1="99.06" y1="88.9" x2="99.06" y2="63.5" width="0.1524" layer="91"/>
<pinref part="RN1" gate="C" pin="P$1"/>
<wire x1="99.06" y1="63.5" x2="104.14" y2="63.5" width="0.1524" layer="91"/>
<wire x1="104.14" y1="63.5" x2="104.14" y2="58.42" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA2"/>
</segment>
</net>
<net name="N$31" class="0">
<segment>
<wire x1="114.3" y1="86.36" x2="96.52" y2="86.36" width="0.1524" layer="91"/>
<wire x1="96.52" y1="86.36" x2="96.52" y2="60.96" width="0.1524" layer="91"/>
<pinref part="RN1" gate="B" pin="P$1"/>
<wire x1="96.52" y1="60.96" x2="99.06" y2="60.96" width="0.1524" layer="91"/>
<wire x1="99.06" y1="60.96" x2="99.06" y2="58.42" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA1"/>
</segment>
</net>
<net name="N$32" class="0">
<segment>
<wire x1="114.3" y1="83.82" x2="93.98" y2="83.82" width="0.1524" layer="91"/>
<pinref part="RN1" gate="A" pin="P$1"/>
<wire x1="93.98" y1="83.82" x2="93.98" y2="58.42" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="IOA0"/>
</segment>
</net>
<net name="N$33" class="0">
<segment>
<pinref part="R3" gate="G$1" pin="P$2"/>
<wire x1="149.86" y1="88.9" x2="157.48" y2="88.9" width="0.1524" layer="91"/>
<wire x1="157.48" y1="88.9" x2="157.48" y2="91.44" width="0.1524" layer="91"/>
<pinref part="U3" gate="A" pin="CHANNEL_A"/>
</segment>
</net>
<net name="N$34" class="0">
<segment>
<wire x1="149.86" y1="86.36" x2="157.48" y2="86.36" width="0.1524" layer="91"/>
<pinref part="R4" gate="G$1" pin="P$2"/>
<pinref part="U3" gate="A" pin="CHANNEL_B"/>
</segment>
</net>
<net name="N$35" class="0">
<segment>
<wire x1="149.86" y1="83.82" x2="157.48" y2="83.82" width="0.1524" layer="91"/>
<wire x1="157.48" y1="83.82" x2="157.48" y2="81.28" width="0.1524" layer="91"/>
<pinref part="R5" gate="G$1" pin="P$2"/>
<pinref part="U3" gate="A" pin="CHANNEL_C"/>
</segment>
</net>
<net name="N$36" class="0">
<segment>
<pinref part="S1" gate="G$1" pin="2A"/>
<wire x1="17.78" y1="109.22" x2="30.48" y2="109.22" width="0.1524" layer="91"/>
<wire x1="30.48" y1="109.22" x2="30.48" y2="119.38" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="PF0"/>
<wire x1="30.48" y1="119.38" x2="55.88" y2="119.38" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$37" class="0">
<segment>
<pinref part="U2" gate="A" pin="PF1"/>
<wire x1="55.88" y1="116.84" x2="33.02" y2="116.84" width="0.1524" layer="91"/>
<wire x1="33.02" y1="116.84" x2="33.02" y2="101.6" width="0.1524" layer="91"/>
<pinref part="S2" gate="G$1" pin="2A"/>
<wire x1="33.02" y1="101.6" x2="17.78" y2="101.6" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$38" class="0">
<segment>
<wire x1="35.56" y1="91.44" x2="35.56" y2="114.3" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="PF4"/>
<wire x1="35.56" y1="114.3" x2="55.88" y2="114.3" width="0.1524" layer="91"/>
<pinref part="S3" gate="G$1" pin="2B"/>
<wire x1="17.78" y1="91.44" x2="35.56" y2="91.44" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$39" class="0">
<segment>
<wire x1="38.1" y1="83.82" x2="38.1" y2="111.76" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="PF5"/>
<wire x1="38.1" y1="111.76" x2="55.88" y2="111.76" width="0.1524" layer="91"/>
<pinref part="S4" gate="G$1" pin="2B"/>
<wire x1="17.78" y1="83.82" x2="38.1" y2="83.82" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$40" class="0">
<segment>
<pinref part="U2" gate="A" pin="PF6"/>
<wire x1="55.88" y1="109.22" x2="40.64" y2="109.22" width="0.1524" layer="91"/>
<wire x1="40.64" y1="109.22" x2="40.64" y2="78.74" width="0.1524" layer="91"/>
<pinref part="S5" gate="G$1" pin="2A"/>
<wire x1="40.64" y1="78.74" x2="17.78" y2="78.74" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$42" class="0">
<segment>
<pinref part="U2" gate="A" pin="PF7"/>
<wire x1="55.88" y1="106.68" x2="43.18" y2="106.68" width="0.1524" layer="91"/>
<wire x1="43.18" y1="106.68" x2="43.18" y2="58.42" width="0.1524" layer="91"/>
<pinref part="BU2" gate="G$1" pin="SW2"/>
<wire x1="43.18" y1="58.42" x2="30.48" y2="58.42" width="0.1524" layer="91"/>
</segment>
</net>
<net name="ROT1" class="0">
<segment>
<pinref part="BU2" gate="G$1" pin="Q2"/>
<wire x1="30.48" y1="63.5" x2="33.02" y2="63.5" width="0.1524" layer="91"/>
<label x="33.02" y="63.5" size="1.27" layer="95" xref="yes"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PB4"/>
<wire x1="86.36" y1="147.32" x2="93.98" y2="147.32" width="0.1524" layer="91"/>
<label x="93.98" y="147.32" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="ROT2" class="0">
<segment>
<pinref part="BU2" gate="G$1" pin="Q1"/>
<wire x1="30.48" y1="68.58" x2="33.02" y2="68.58" width="0.1524" layer="91"/>
<label x="33.02" y="68.58" size="1.27" layer="95" xref="yes"/>
</segment>
<segment>
<pinref part="U2" gate="A" pin="PB5"/>
<wire x1="86.36" y1="144.78" x2="93.98" y2="144.78" width="0.1524" layer="91"/>
<label x="93.98" y="144.78" size="1.27" layer="95" xref="yes"/>
</segment>
</net>
<net name="N$41" class="0">
<segment>
<pinref part="R3" gate="G$1" pin="P$1"/>
<wire x1="167.64" y1="91.44" x2="170.18" y2="91.44" width="0.1524" layer="91"/>
<wire x1="170.18" y1="91.44" x2="170.18" y2="86.36" width="0.1524" layer="91"/>
<pinref part="R5" gate="G$1" pin="P$1"/>
<wire x1="170.18" y1="86.36" x2="170.18" y2="81.28" width="0.1524" layer="91"/>
<wire x1="170.18" y1="81.28" x2="170.18" y2="78.74" width="0.1524" layer="91"/>
<wire x1="170.18" y1="81.28" x2="167.64" y2="81.28" width="0.1524" layer="91"/>
<junction x="170.18" y="81.28"/>
<pinref part="R4" gate="G$1" pin="P$1"/>
<wire x1="170.18" y1="86.36" x2="167.64" y2="86.36" width="0.1524" layer="91"/>
<junction x="170.18" y="86.36"/>
<pinref part="R6" gate="G$1" pin="P$1"/>
<pinref part="R11" gate="G$1" pin="P$1"/>
<wire x1="175.26" y1="78.74" x2="175.26" y2="81.28" width="0.1524" layer="91"/>
<wire x1="175.26" y1="81.28" x2="170.18" y2="81.28" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$21" class="0">
<segment>
<pinref part="C12" gate="G$1" pin="P$2"/>
<wire x1="78.74" y1="71.12" x2="78.74" y2="76.2" width="0.1524" layer="91"/>
<pinref part="U2" gate="A" pin="XTAL2"/>
<wire x1="78.74" y1="76.2" x2="78.74" y2="81.28" width="0.1524" layer="91"/>
<wire x1="78.74" y1="81.28" x2="86.36" y2="81.28" width="0.1524" layer="91"/>
<wire x1="86.36" y1="81.28" x2="86.36" y2="91.44" width="0.1524" layer="91"/>
<pinref part="X1" gate="G$1" pin="P$1"/>
<junction x="78.74" y="76.2"/>
</segment>
</net>
<net name="N$43" class="0">
<segment>
<pinref part="C13" gate="G$1" pin="P$2"/>
<pinref part="U2" gate="A" pin="XTAL1"/>
<wire x1="86.36" y1="96.52" x2="88.9" y2="96.52" width="0.1524" layer="91"/>
<wire x1="88.9" y1="96.52" x2="88.9" y2="76.2" width="0.1524" layer="91"/>
<wire x1="88.9" y1="76.2" x2="88.9" y2="71.12" width="0.1524" layer="91"/>
<pinref part="X1" gate="G$1" pin="P$2"/>
<junction x="88.9" y="76.2"/>
</segment>
</net>
<net name="N$44" class="0">
<segment>
<pinref part="LCD1" gate="A" pin="LEDA"/>
<pinref part="R7" gate="G$1" pin="P$2"/>
<wire x1="226.06" y1="142.24" x2="228.6" y2="142.24" width="0.1524" layer="91"/>
<wire x1="228.6" y1="142.24" x2="228.6" y2="144.78" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$2" class="0">
<segment>
<pinref part="CN1" gate="A" pin="R"/>
<pinref part="C18" gate="G$1" pin="A"/>
<wire x1="236.22" y1="58.42" x2="233.68" y2="58.42" width="0.1524" layer="91"/>
<pinref part="CN1" gate="A" pin="L"/>
<wire x1="233.68" y1="58.42" x2="226.06" y2="58.42" width="0.1524" layer="91"/>
<wire x1="236.22" y1="55.88" x2="233.68" y2="55.88" width="0.1524" layer="91"/>
<wire x1="233.68" y1="55.88" x2="233.68" y2="58.42" width="0.1524" layer="91"/>
<junction x="233.68" y="58.42"/>
</segment>
</net>
<net name="N$45" class="0">
<segment>
<pinref part="U4" gate="A" pin="OUT"/>
<pinref part="C18" gate="G$1" pin="C"/>
<wire x1="210.82" y1="58.42" x2="215.9" y2="58.42" width="0.1524" layer="91"/>
<pinref part="R8" gate="G$1" pin="P$1"/>
<wire x1="215.9" y1="58.42" x2="220.98" y2="58.42" width="0.1524" layer="91"/>
<wire x1="215.9" y1="58.42" x2="215.9" y2="55.88" width="0.1524" layer="91"/>
<junction x="215.9" y="58.42"/>
</segment>
</net>
<net name="N$46" class="0">
<segment>
<pinref part="U4" gate="A" pin="V+"/>
<wire x1="203.2" y1="63.5" x2="203.2" y2="71.12" width="0.1524" layer="91"/>
<pinref part="C19" gate="G$1" pin="P$1"/>
<wire x1="203.2" y1="71.12" x2="205.74" y2="71.12" width="0.1524" layer="91"/>
<pinref part="L3" gate="G$1" pin="P$1"/>
<wire x1="203.2" y1="71.12" x2="200.66" y2="71.12" width="0.1524" layer="91"/>
<junction x="203.2" y="71.12"/>
</segment>
</net>
<net name="N$47" class="0">
<segment>
<pinref part="R8" gate="G$1" pin="P$2"/>
<pinref part="R9" gate="G$1" pin="P$1"/>
<wire x1="215.9" y1="45.72" x2="193.04" y2="45.72" width="0.1524" layer="91"/>
<pinref part="U4" gate="A" pin="NEG"/>
<wire x1="195.58" y1="55.88" x2="193.04" y2="55.88" width="0.1524" layer="91"/>
<wire x1="193.04" y1="55.88" x2="193.04" y2="45.72" width="0.1524" layer="91"/>
<junction x="193.04" y="45.72"/>
</segment>
</net>
<net name="N$49" class="0">
<segment>
<pinref part="U4" gate="A" pin="POS"/>
<pinref part="R10" gate="G$1" pin="P$1"/>
<wire x1="195.58" y1="60.96" x2="175.26" y2="60.96" width="0.1524" layer="91"/>
<wire x1="175.26" y1="60.96" x2="175.26" y2="58.42" width="0.1524" layer="91"/>
<pinref part="C20" gate="G$1" pin="P$2"/>
<wire x1="170.18" y1="55.88" x2="170.18" y2="60.96" width="0.1524" layer="91"/>
<wire x1="170.18" y1="60.96" x2="175.26" y2="60.96" width="0.1524" layer="91"/>
<junction x="175.26" y="60.96"/>
<pinref part="R11" gate="G$1" pin="P$2"/>
<wire x1="175.26" y1="68.58" x2="175.26" y2="60.96" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$12" class="0">
<segment>
<pinref part="U5" gate="G$1" pin="OUT"/>
<pinref part="J2" gate="G$1" pin="P$3"/>
<wire x1="337.82" y1="68.58" x2="335.28" y2="68.58" width="0.1524" layer="91"/>
<wire x1="335.28" y1="68.58" x2="330.2" y2="68.58" width="0.1524" layer="91"/>
<wire x1="330.2" y1="68.58" x2="330.2" y2="66.04" width="0.1524" layer="91"/>
<pinref part="C8" gate="G$1" pin="P$2"/>
<wire x1="335.28" y1="66.04" x2="335.28" y2="68.58" width="0.1524" layer="91"/>
<junction x="335.28" y="68.58"/>
</segment>
</net>
<net name="+3.3RAW" class="0">
<segment>
<pinref part="J2" gate="G$1" pin="P$2"/>
<pinref part="L1" gate="G$1" pin="P$1"/>
<wire x1="327.66" y1="71.12" x2="327.66" y2="66.04" width="0.1524" layer="91"/>
<wire x1="327.66" y1="71.12" x2="322.58" y2="71.12" width="0.1524" layer="91"/>
<junction x="327.66" y="71.12"/>
<label x="322.58" y="71.12" size="1.27" layer="95" rot="R180" xref="yes"/>
</segment>
<segment>
<pinref part="L3" gate="G$1" pin="P$2"/>
<wire x1="190.5" y1="71.12" x2="187.96" y2="71.12" width="0.1524" layer="91"/>
<label x="187.96" y="71.12" size="1.27" layer="95" rot="R180" xref="yes"/>
</segment>
</net>
<net name="N$15" class="0">
<segment>
<pinref part="U1" gate="G$1" pin="EN"/>
<wire x1="304.8" y1="40.64" x2="302.26" y2="40.64" width="0.1524" layer="91"/>
<wire x1="302.26" y1="40.64" x2="302.26" y2="48.26" width="0.1524" layer="91"/>
<pinref part="U1" gate="G$1" pin="VDD"/>
<wire x1="302.26" y1="48.26" x2="314.96" y2="48.26" width="0.1524" layer="91"/>
<wire x1="314.96" y1="48.26" x2="314.96" y2="45.72" width="0.1524" layer="91"/>
<wire x1="314.96" y1="48.26" x2="340.36" y2="48.26" width="0.1524" layer="91"/>
<wire x1="340.36" y1="48.26" x2="340.36" y2="50.8" width="0.1524" layer="91"/>
<junction x="314.96" y="48.26"/>
<pinref part="D10" gate="G$1" pin="C"/>
<wire x1="340.36" y1="50.8" x2="337.82" y2="50.8" width="0.1524" layer="91"/>
<pinref part="C2" gate="G$1" pin="P$1"/>
<wire x1="340.36" y1="48.26" x2="345.44" y2="48.26" width="0.1524" layer="91"/>
<wire x1="345.44" y1="48.26" x2="345.44" y2="40.64" width="0.1524" layer="91"/>
<junction x="340.36" y="48.26"/>
<wire x1="345.44" y1="48.26" x2="350.52" y2="48.26" width="0.1524" layer="91"/>
<wire x1="350.52" y1="48.26" x2="350.52" y2="40.64" width="0.1524" layer="91"/>
<junction x="345.44" y="48.26"/>
<pinref part="R1" gate="G$1" pin="P$2"/>
<pinref part="C3" gate="G$1" pin="A"/>
<wire x1="350.52" y1="48.26" x2="360.68" y2="48.26" width="0.1524" layer="91"/>
<wire x1="360.68" y1="48.26" x2="360.68" y2="55.88" width="0.1524" layer="91"/>
<junction x="350.52" y="48.26"/>
<pinref part="J1" gate="G$1" pin="P$3"/>
<wire x1="360.68" y1="55.88" x2="358.14" y2="55.88" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$48" class="0">
<segment>
<pinref part="J1" gate="G$1" pin="P$2"/>
<pinref part="L4" gate="G$1" pin="P$2"/>
<wire x1="365.76" y1="58.42" x2="358.14" y2="58.42" width="0.1524" layer="91"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
<compatibility>
<note version="6.3" minversion="6.2.2" severity="warning">
Since Version 6.2.2 text objects can contain more than one line,
which will not be processed correctly with this version.
</note>
</compatibility>
</eagle>

repository: mengstr/BEEPoo

repo_name: mengstr/BEEPoo

extension: sch


text:
// Package billmodel contains the types for schema 'equinox'.
package billmodel

// GENERATED BY XO. DO NOT EDIT.

import (
	"database/sql"

	"github.com/lib/pq"
)

// Gcominv represents a row from 'equinox.gcominv'.
type Gcominv struct {
	Gcominvid     sql.NullFloat64 `json:"gcominvid"`     // gcominvid
	Gcominvdate   pq.NullTime     `json:"gcominvdate"`   // gcominvdate
	Gcominvtotal  sql.NullFloat64 `json:"gcominvtotal"`  // gcominvtotal
	Gcominvnet    sql.NullFloat64 `json:"gcominvnet"`    // gcominvnet
	Gcominvvat    sql.NullFloat64 `json:"gcominvvat"`    // gcominvvat
	Gcominvbilled sql.NullInt64   `json:"gcominvbilled"` // gcominvbilled
	EquinoxPrn    sql.NullInt64   `json:"equinox_prn"`   // equinox_prn
	EquinoxLrn    int64           `json:"equinox_lrn"`   // equinox_lrn
	EquinoxSec    sql.NullInt64   `json:"equinox_sec"`   // equinox_sec
}

func AllGcominv(db XODB, callback func(x Gcominv) bool) error {

	// sql query
	const sqlstr = `SELECT ` +
		`gcominvid, gcominvdate, gcominvtotal, gcominvnet, gcominvvat, gcominvbilled, equinox_prn, equinox_lrn, equinox_sec ` +
		`FROM equinox.gcominv `

	q, err := db.Query(sqlstr)

	if err != nil {
		return err
	}
	defer q.Close()

	// load results
	for q.Next() {
		g := Gcominv{}

		// scan
		err = q.Scan(&g.Gcominvid, &g.Gcominvdate, &g.Gcominvtotal, &g.Gcominvnet, &g.Gcominvvat, &g.Gcominvbilled, &g.EquinoxPrn, &g.EquinoxLrn, &g.EquinoxSec)
		if err != nil {
			return err
		}
		if !callback(g) {
			return nil
		}
	}

	return nil
}

// GcominvByEquinoxLrn retrieves a row from 'equinox.gcominv' as a Gcominv.
//
// Generated from index 'gcominv_pkey'.
func GcominvByEquinoxLrn(db XODB, equinoxLrn int64) (*Gcominv, error) {
	var err error

	// sql query
	const sqlstr = `SELECT ` +
		`gcominvid, gcominvdate, gcominvtotal, gcominvnet, gcominvvat, gcominvbilled, equinox_prn, equinox_lrn, equinox_sec ` +
		`FROM equinox.gcominv ` +
		`WHERE equinox_lrn = $1`

	// run query
	XOLog(sqlstr, equinoxLrn)
	g := Gcominv{}

	err = db.QueryRow(sqlstr, equinoxLrn).Scan(&g.Gcominvid, &g.Gcominvdate, &g.Gcominvtotal, &g.Gcominvnet, &g.Gcominvvat, &g.Gcominvbilled, &g.EquinoxPrn, &g.EquinoxLrn, &g.EquinoxSec)
	if err != nil {
		return nil, err
	}

	return &g, nil
}

license: MIT

repository: utilitywarehouse/poc-pg-mirror

license_type: permissive

repo_name: utilitywarehouse/poc-pg-mirror

branch_name: refs/heads/master

extension: go