text:
93.0275" size="1.27" layer="27" ratio="10"/>
</element>
<element name="Q11" library="lbr" package="TO220BV" value="IRF3205" x="38.1" y="99.3775" smashed="yes">
<attribute name="NAME" x="34.29" y="99.6823" size="1.27" layer="25" ratio="10"/>
<attribute name="VALUE" x="34.29" y="93.0275" size="1.27" layer="27" ratio="10"/>
</element>
<element name="Q12" library="lbr" package="TO220BV" value="IRF3205" x="54.61" y="99.3775" smashed="yes">
<attribute name="NAME" x="50.8" y="99.6823" size="1.27" layer="25" ratio="10"/>
<attribute name="VALUE" x="50.8" y="93.0275" size="1.27" layer="27" ratio="10"/>
</element>
<element name="C3" library="chuong" package="CAP-2,5" value="47UF" x="80.01" y="77.1525" smashed="yes" rot="R270">
<attribute name="NAME" x="80.391" y="74.1045" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="78.359" y="74.1045" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="C4" library="chuong" package="CAP-2,5" value="47UF" x="45.72" y="79.0575" smashed="yes" rot="R180">
<attribute name="NAME" x="42.672" y="78.6765" size="1.27" layer="25" ratio="10" rot="R180"/>
<attribute name="VALUE" x="42.672" y="80.7085" size="1.27" layer="27" ratio="10" rot="R180"/>
</element>
<element name="R1" library="lbr" package="R-7,5" value="10R" x="68.58" y="87.9475" smashed="yes" rot="R90">
<attribute name="NAME" x="68.834" y="85.4075" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="67.056" y="85.4075" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="R2" library="lbr" package="R-7,5" value="10R" x="85.09" y="87.9475" smashed="yes" rot="R90">
<attribute name="NAME" x="85.344" y="85.4075" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="83.566" y="85.4075" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="R3" library="lbr" package="R-7,5" value="10R" x="35.56" y="87.9475" smashed="yes" rot="R270">
<attribute name="NAME" x="35.306" y="90.4875" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="37.084" y="90.4875" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="R4" library="lbr" package="R-7,5" value="10R" x="52.07" y="87.9475" smashed="yes" rot="R270">
<attribute name="NAME" x="51.816" y="90.4875" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="53.594" y="90.4875" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="R5" library="lbr" package="R-7,5" value="2K" x="57.15" y="87.9475" smashed="yes" rot="R270">
<attribute name="NAME" x="56.896" y="90.4875" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="58.674" y="90.4875" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="R6" library="lbr" package="R-7,5" value="2k" x="40.64" y="87.9475" smashed="yes" rot="R270">
<attribute name="NAME" x="40.386" y="90.4875" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="42.164" y="90.4875" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="R7" library="lbr" package="R-7,5" value="2K" x="73.66" y="87.9475" smashed="yes" rot="R90">
<attribute name="NAME" x="73.914" y="85.4075" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="72.136" y="85.4075" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="R8" library="lbr" package="R-7,5" value="2K" x="90.4875" y="87.9475" smashed="yes" rot="R90">
<attribute name="NAME" x="90.7415" y="85.4075" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="88.9635" y="85.4075" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="C5" library="lbr" package="E7,5-18" value="3300UF/25V" x="20.32" y="96.2025" smashed="yes" rot="R270">
<attribute name="NAME" x="25.4" y="88.2015" size="1.778" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="16.0274" y="101.2825" size="1.778" layer="27" ratio="10" rot="R270"/>
</element>
<element name="D1" library="lbr" package="1N4007" value="1N4007/FR107" x="63.5" y="87.9475" smashed="yes" rot="R90">
<attribute name="NAME" x="63.754" y="86.0425" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="61.976" y="86.0425" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="D2" library="lbr" package="1N4007" value="1N4007/IRF107" x="30.48" y="87.9475" smashed="yes" rot="R90">
<attribute name="NAME" x="30.734" y="86.0425" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="28.956" y="86.0425" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="OPTO1" library="chuong" package="DIL-04" value="PC817" x="72.39" y="76.5175" smashed="yes">
<attribute name="NAME" x="69.469" y="73.8505" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="76.581" y="73.5965" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="OPTO2" library="chuong" package="DIL-04" value="PC817" x="39.37" y="76.5175" smashed="yes">
<attribute name="NAME" x="36.449" y="73.8505" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="43.561" y="73.5965" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="R9" library="chuong" package="R-7,5" value="2K" x="85.4075" y="75.2475" smashed="yes" rot="R90">
<attribute name="NAME" x="83.7565" y="72.7075" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="85.7885" y="72.7075" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="R10" library="chuong" package="R-7,5" value="2K" x="57.15" y="76.5175" smashed="yes" rot="R90">
<attribute name="NAME" x="55.499" y="73.9775" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="57.531" y="73.9775" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="R16" library="lbr" package="R-7,5" value="1K" x="80.01" y="87.9475" smashed="yes" rot="R90">
<attribute name="NAME" x="80.264" y="85.4075" size="1.27" layer="25" ratio="10" rot="R90"/>
<attribute name="VALUE" x="78.486" y="85.4075" size="1.27" layer="27" ratio="10" rot="R90"/>
</element>
<element name="R17" library="lbr" package="R-7,5" value="1k" x="46.6725" y="87.63" smashed="yes" rot="R270">
<attribute name="NAME" x="46.4185" y="90.17" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="48.1965" y="90.17" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="LED1" library="chuong" package="LED5" value="LED-5" x="31.4325" y="75.565" smashed="yes">
<attribute name="NAME" x="34.6075" y="76.0984" size="1.27" layer="25" ratio="10"/>
<attribute name="VALUE" x="34.6329" y="73.7616" size="1.27" layer="27" ratio="10"/>
</element>
<element name="R11" library="chuong" package="R-7,5" value="1OK" x="32.7025" y="67.6275" smashed="yes" rot="R270">
<attribute name="NAME" x="34.3535" y="70.1675" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="32.3215" y="70.1675" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="U$1" library="irs" package="DIL16" value="SG3525N" x="21.9075" y="74.295" smashed="yes" rot="R270">
<attribute name="NAME" x="18.9865" y="84.836" size="1.27" layer="25" ratio="10"/>
<attribute name="VALUE" x="21.2725" y="81.788" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="C1" library="chuong" package="CAP-2,5" value="10UF" x="11.1125" y="63.5" smashed="yes" rot="R270">
<attribute name="NAME" x="11.4935" y="60.452" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="9.4615" y="60.452" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="R12" library="chuong" package="R-7,5" value="1K" x="13.97" y="71.755" smashed="yes" rot="R270">
<attribute name="NAME" x="15.621" y="74.295" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="13.589" y="74.295" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="R13" library="chuong" package="R-7,5" value="140K" x="6.985" y="70.485" smashed="yes" rot="R270">
<attribute name="NAME" x="8.636" y="73.025" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="6.604" y="73.025" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="C2" library="chuong" package="CAP-NP5" value="100NF" x="14.2875" y="79.0575" smashed="yes" rot="R270">
<attribute name="NAME" x="17.4625" y="80.9625" size="1.27" layer="25" ratio="10" rot="R270"/>
<attribute name="VALUE" x="15.9385" y="83.5025" size="1.27" layer="27" ratio="10" rot="R270"/>
</element>
<element name="VR1" library="chuong" package="VR-5" value="10K" x="8.89" y="79.375" smashed="yes">
<attribute name="NAME" x="13.335" y="78.105" size="1.27" layer="25" ratio="10"/>
<attribute name="VALUE" x="13.462" y="75.565" size="1.27" layer="27" ratio="10"/>
</element>
<element name="J2" library="SparkFun-Connectors" package="1X02_XTRA_BIG" value="" x="5.3975" y="92.71" rot="R270"/>
<element name="J1" library="SparkFun-Connectors" package="1X01_2MM" value="" x="22.225" y="61.595"/>
<element name="J3" library="SparkFun-Connectors" package="1X02_XTRA_BIG" value="" x="85.09" y="105.41"/>
<element name="IC1" library="fab" package="TQFP32-08THIN" value="ATMEGA88-THIN" x="45.14284375" y="28.6835125" rot="R90"/>
<element name="U$2" library="fab" package="LED1206FAB" value="pwr led" x="50.292" y="10.95375" rot="R270"/>
<element name="C20" library="fab" package="C1206FAB" value="0.1uF" x="42.418" y="12.47775"/>
<element name="R22" library="fab" package="R1206FAB" value="499" x="47.117" y="10.95375" rot="R90"/>
<element name="Q2" library="adafruit" package="HC49U-V" value="" x="43.307" y="18.82775" rot="R180">
<attribute name="OC_NEWARK" value="unknown" x="43.307" y="18.82775" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="MPN" value="" x="43.307" y="18.82775" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="OC_FARNELL" value="1666969" x="43.307" y="18.82775" size="1.778" layer="27" rot="R180" display="off"/>
<attribute name="MF" value="" x="43.307" y="18.82775" size="1.778" layer="27" rot="R180" display="off"/>
</element>
<element name="C21" library="fab" package="C1206FAB" value="22pF" x="42.1005" y="16.002"/>
<element name="C22" library="fab" package="C1206FAB" value="22pF" x="47.8155" y="16.002"/>
<element name="R24" library="fab" package="R1206FAB" value="10k" x="53.467" y="10.95375" rot="R270"/>
<element name="FTDI" library="SparkFun-Connectors" package="FTDI_BASIC" value="6_PIN_SERIAL_CABLEPTH" x="36.22675" y="22.479" rot="R270"/>
<element name="RST-BTN" library="SparkFun-Connectors" package="1X02_BIG" value="" x="43.307" y="9.68375" rot="R180"/>
<element name="J4" library="SparkFun-Connectors" package="1X01" value="" x="24.2815" y="3.2385"/>
<element name="J5" library="SparkFun-Connectors" package="1X01" value="" x="6.2815" y="3.2385"/>
<element name="J6" library="SparkFun-Connectors" package="1X01" value="" x="24.2815" y="43.2385"/>
<element name="J7" library="SparkFun-Connectors" package="1X01" value="" x="6.2815" y="43.2385"/>
<element name="J8" library="SparkFun-Connectors" package="1X02_XTRA_BIG" value="" x="8.868" y="51.78425"/>
<element name="R14" library="fab" package="R1206FAB" value="499" x="46.38675" y="36.576" rot="R180"/>
<element name="U$3" library="fab" package="LED1206FAB" value="pwr led" x="52.10175" y="36.576" rot="R180"/>
<element name="LCD" library="SparkFun-Connectors" package="1X08" value="" x="56.54675" y="9.779" rot="R90">
<attribute name="PROD_ID" value="CONN-08438" x="56.54675" y="9.779" size="1.778" layer="27" rot="R90" display="off"/>
</element>
<element name="R15" library="fab" package="R1206FAB" value="1K" x="56.54675" y="31.4835125" rot="R90"/>
<element name="CS-OUT" library="SparkFun-Connectors" package="1X03" value="455-1750-1-ND" x="32.41675" y="48.26" rot="R90">
<attribute name="PROD_ID" value="XXX-00000" x="32.41675" y="48.26" size="1.778" layer="27" rot="R90" display="off"/>
</element>
<element name="CS-IN" library="SparkFun-Connectors" package="1X03" value="455-1750-1-ND" x="32.41675" y="35.179" rot="R90">
<attribute name="PROD_ID" value="XXX-00000" x="32.41675" y="35.179" size="1.778" layer="27" rot="R90" display="off"/>
</element>
<element name="J9" library="SparkFun-Connectors" package="1X02_XTRA_BIG" value="" x="21.55825" y="51.78425"/>
<element name="R18" library="fab" package="R1206FAB" value="0" x="56.61025" y="5.68325" rot="R90"/>
<element name="R19" library="fab" package="R1206FAB" value="0" x="37.87775" y="38.25875"/>
<element name="R20" library="fab" package="R1206FAB" value="0" x="32.22625" y="9.779"/>
<element name="R21" library="fab" package="R1206FAB" value="0" x="60.3885" y="25.019"/>
<element name="R23" library="fab" package="R1206FAB" value="0" x="52.959" y="19.939"/>
</elements>
<signals>
<signal name="GND">
<contactref element="Q10" pad="S"/>
<contactref element="Q12" pad="S"/>
<contactref element="R8" pad="2"/>
<contactref element="R5" pad="1"/>
<contactref element="C5" pad="-"/>
<contactref element="OPTO1" pad="2"/>
<contactref element="OPTO2" pad="2"/>
<contactref element="R11" pad="2"/>
<contactref element="U$1" pad="12"/>
<contactref element="U$1" pad="10"/>
<contactref element="C1" pad="-"/>
<contactref element="C2" pad="1"/>
<contactref element="VR1" pad="2"/>
<contactref element="VR1" pad="1"/>
<wire x1="14.2875" y1="82.8675" x2="13.335" y2="81.915" width="1.27" layer="1"/>
<wire x1="13.335" y1="81.915" x2="8.89" y2="81.915" width="1.27" layer="1"/>
<wire x1="20.32" y1="92.3925" x2="14.2875" y2="86.36" width="1.27" layer="1"/>
<wire x1="14.2875" y1="86.36" x2="14.2875" y2="82.8675" width="1.27" layer="1"/>
<wire x1="6.35" y1="76.835" x2="6.35" y2="79.375" width="1.27" layer="1"/>
<wire x1="6.35" y1="79.375" x2="8.89" y2="81.915" width="1.27" layer="1"/>
<wire x1="6.35" y1="76.835" x2="4.7625" y2="76.835" width="1.27" layer="1"/>
<wire x1="4.7625" y1="76.835" x2="2.8575" y2="74.93" width="1.27" layer="1"/>
<wire x1="2.8575" y1="74.93" x2="2.8575" y2="64.77" width="1.27" layer="1"/>
<wire x1="2.8575" y1="64.77" x2="4.1275" y2="63.5" width="1.27" layer="1"/>
<wire x1="9.525" y1="64.77" x2="11.1125" y2="64.77" width="1.27" layer="1"/>
<wire x1="4.1275" y1="63.5" x2="8.255" y2="63.5" width="1.27" layer="1"/>
<wire x1="8.255" y1="63.5" x2="9.525" y2="64.77" width="1.27" layer="1"/>
<wire x1="32.7025" y1="63.8175" x2="32.7025" y2="58.42" width="1.27" layer="1"/>
<wire x1="5.3975" y1="58.42" x2="32.7025" y2="58.42" width="1.27" layer="1"/>
<wire x1="5.3975" y1="58.42" x2="2.8575" y2="60.96" width="1.27" layer="1"/>
<wire x1="2.8575" y1="60.96" x2="2.8575" y2="64.77" width="1.27" layer="1"/>
<wire x1="42.2275" y1="69.85" x2="40.64" y2="71.4375" width="1.27" layer="1"/>
<wire x1="40.64" y1="72.7075" x2="40.64" y2="71.4375" width="1.27" layer="1"/>
<wire x1="73.66" y1="69.85" x2="73.66" y2="72.7075" width="1.27" layer="1"/>
<wire x1="32.7025" y1="58.42" x2="86.36" y2="58.42" width="1.27" layer="1"/>
<wire x1="86.36" y1="58.42" x2="90.17" y2="62.23" width="1.27" layer="1"/>
<wire x1="90.17" y1="62.23" x2="90.17" y2="75.565" width="1.27" layer="1"/>
<wire x1="90.17" y1="75.565" x2="90.17" y2="76.835" width="1.27" layer="1"/>
<wire x1="90.17" y1="75.565" x2="84.455" y2="75.565" width="1.27" layer="1"/>
<wire x1="90.4875" y1="93.0275" x2="90.17" y2="93.345" width="1.27" layer="1"/>
<wire x1="90.17" y1="93.345" x2="90.17" y2="96.8375" width="1.27" layer="1"/>
<wire x1="90.17" y1="76.835" x2="93.6625" y2="80.3275" width="1.27" layer="1"/>
<wire x1="42.2275" y1="69.85" x2="73.66" y2="69.85" width="1.27" layer="1"/>
<wire x1="59.3725" y1="88.5825" x2="57.15" y2="90.805" width="1.27" layer="1"/>
<wire x1="57.15" y1="93.0275" x2="57.15" y2="90.805" width="1.27" layer="1"/>
<wire x1="57.15" y1="96.8375" x2="57.15" y2="93.0275" width="1.27" layer="1"/>
<contactref element="J2" pad="2"/>
<wire x1="5.3975" y1="90.17" x2="5.3975" y2="85.4075" width="2.54" layer="1"/>
<wire x1="5.3975" y1="85.4075" x2="8.89" y2="81.915" width="2.54" layer="1"/>
<wire x1="25.7175" y1="73.025" x2="23.495" y2="73.025" width="0.8128" layer="1"/>
<wire x1="23.495" y1="73.025" x2="22.5425" y2="72.0725" width="0.8128" layer="1"/>
<wire x1="22.5425" y1="72.0725" x2="22.5425" y2="68.8975" width="0.8128" layer="1"/>
<wire x1="22.5425" y1="68.8975" x2="23.495" y2="67.945" width="0.8128" layer="1"/>
<wire x1="23.495" y1="67.945" x2="25.7175" y2="67.945" width="0.8128" layer="1"/>
<wire x1="25.7175" y1="67.945" x2="28.2575" y2="67.945" width="1.016" layer="1"/>
<wire x1="32.7025" y1="63.8175" x2="32.385" y2="63.8175" width="1.016" layer="1"/>
<wire x1="32.385" y1="63.8175" x2="28.2575" y2="67.945" width="1.016" layer="1"/>
<wire x1="84.455" y1="75.565" x2="78.74" y2="69.85" width="1.27" layer="1"/>
<wire x1="73.66" y1="69.85" x2="78.74" y2="69.85" width="1.27" layer="1"/>
<wire x1="90.4875" y1="93.0275" x2="90.4875" y2="91.7575" width="1.27" layer="1"/>
<wire x1="93.6625" y1="80.3275" x2="93.6625" y2="88.5825" width="1.27" layer="1"/>
<wire x1="93.6625" y1="88.5825" x2="90.4875" y2="91.7575" width="1.27" layer="1"/>
<wire x1="59.3725" y1="88.5825" x2="93.6625" y2="88.5825" width="1.27" layer="1"/>
</signal>
<signal name="N$4">
<contactref element="R7" pad="1"/>
<contactref element="R1" pad="1"/>
<contactref element="OPTO1" pad="3"/>
<wire x1="68.58" y1="82.8675" x2="73.66" y2="82.8675" width="1.4224" layer="1"/>
<wire x1="73.66" y1="82.8675" x2="73.66" y2="80.3275" width="1.4224" layer="1"/>
</signal>
<signal name="N$5">
<contactref element="R3" pad="2"/>
<contactref element="R6" pad="2"/>
<contactref element="OPTO2" pad="3"/>
<wire x1="35.56" y1="82.8675" x2="40.64" y2="82.8675" width="1.4224" layer="1"/>
<wire x1="40.64" y1="82.8675" x2="40.64" y2="80.3275" width="1.4224" layer="1"/>
</signal>
<signal name="N$17">
<contactref element="Q12" pad="D"/>
<contactref element="Q11" pad="S"/>
<contactref element="R6" pad="1"/>
<contactref element="R17" pad="1"/>
<wire x1="40.64" y1="93.0275" x2="40.64" y2="96.8375" width="1.27" layer="1"/>
<wire x1="46.6725" y1="92.71" x2="40.9575" y2="92.71" width="1.27" layer="1"/>
<wire x1="40.9575" y1="92.71" x2="40.64" y2="93.0275" width="1.27" layer="1"/>
<wire x1="55.5625" y1="100.33" x2="54.61" y2="99.3775" width="1.27" layer="1"/>
<wire x1="54.61" y1="99.3775" x2="54.61" y2="98.1075" width="1.27" layer="1"/>
<wire x1="46.6725" y1="92.71" x2="46.6725" y2="98.425" width="1.27" layer="1"/>
<wire x1="46.6725" y1="98.425" x2="48.5775" y2="100.33" width="1.27" layer="1"/>
<wire x1="48.5775" y1="100.33" x2="55.5625" y2="100.33" width="1.27" layer="1"/>
<contactref element="J3" pad="1"/>
<wire x1="55.5625" y1="100.33" x2="59.3725" y2="100.33" width="1.27" layer="1"/>
<wire x1="60.0075" y1="99.695" x2="60.0075" y2="106.9975" width="1.27" layer="16"/>
<wire x1="59.3725" y1="100.33" x2="60.0075" y2="99.695" width="1.27" layer="1"/>
<wire x1="60.0075" y1="106.9975" x2="80.9625" y2="106.9975" width="1.27" layer="1"/>
<wire x1="80.9625" y1="106.9975" x2="82.55" y2="105.41" width="1.27" layer="1"/>
<via x="60.0075" y="106.9975" extent="1-16" drill="0.8636"/>
<via x="60.0075" y="99.695" extent="1-16" drill="0.8636"/>
</signal>
<signal name="12V">
<contactref element="Q9" pad="D"/>
<contactref element="Q11" pad="D"/>
<contactref element="C5" pad="+"/>
<contactref element="D1" pad="A"/>
<contactref element="D2" pad="A"/>
<wire x1="20.32" y1="100.0125" x2="29.845" y2="100.0125" width="2.54" layer="1"/>
<contactref element="J2" pad="1"/>
<wire x1="20.32" y1="100.0125" x2="10.16" y2="100.0125" width="2.54" layer="1"/>
<wire x1="10.16" y1="100.0125" x2="5.3975" y2="95.25" width="2.54" layer="1"/>
<wire x1="33.9725" y1="103.505" x2="38.1" y2="103.505" width="1.905" layer="1"/>
<wire x1="38.1" y1="103.505" x2="63.5" y2="103.505" width="1.905" layer="1"/>
<wire x1="63.5" y1="103.505" x2="69.215" y2="103.505" width="1.905" layer="1"/>
<wire x1="69.215" y1="103.505" x2="71.12" y2="101.6" width="1.905" layer="1"/>
<wire x1="30.48" y1="93.0275" x2="30.48" y2="99.3775" width="1.905" layer="1"/>
<wire x1="30.48" y1="99.3775" x2="30.1625" y2="99.695" width="1.905" layer="1"/>
<wire x1="30.1625" y1="99.695" x2="29.845" y2="100.0125" width="1.905" layer="1"/>
<wire x1="33.9725" y1="103.505" x2="30.1625" y2="99.695" width="1.905" layer="1"/>
<wire x1="38.1" y1="98.1075" x2="38.1" y2="103.505" width="1.905" layer="1"/>
<wire x1="63.5" y1="93.0275" x2="63.5" y2="103.505" width="1.905" layer="1"/>
<wire x1="71.12" y1="98.1075" x2="71.12" y2="101.6" width="1.905" layer="1"/>
</signal>
<signal name="N$19">
<contactref element="Q9" pad="G"/>
<contactref element="R1" pad="2"/>
<wire x1="68.58" y1="93.0275" x2="68.58" y2="96.8375" width="1.27" layer="1"/>
</signal>
<signal name="N$20">
<contactref element="Q10" pad="G"/>
<contactref element="R2" pad="2"/>
<wire x1="85.09" y1="93.0275" x2="85.09" y2="96.8375" width="1.27" layer="1"/>
</signal>
<signal name="N$21">
<contactref element="Q11" pad="G"/>
<contactref element="R3" pad="1"/>
<wire x1="35.56" y1="93.0275" x2="35.56" y2="96.8375" width="1.27" layer="1"/>
</signal>
<signal name="N$22">
<contactref element="Q12" pad="G"/>
<contactref element="R4" pad="1"/>
<wire x1="52.07" y1="93.0275" x2="52.07" y2="96.8375" width="1.27" layer="1"/>
</signal>
<signal name="N$1">
<contactref element="Q9" pad="S"/>
<contactref element="R7" pad="2"/>
<contactref element="Q10" pad="D"/>
<contactref element="R16" pad="2"/>
<wire x1="73.66" y1="93.0275" x2="73.66" y2="96.8375" width="1.27" layer="1"/>
<contactref element="J3" pad="2"/>
<wire x1="87.63" y1="98.1075" x2="87.63" y2="100.965" width="1.27" layer="1"/>
<wire x1="73.66" y1="93.0275" x2="80.01" y2="93.0275" width="1.27" layer="1"/>
<wire x1="80.01" y1="93.0275" x2="80.01" y2="98.425" width="1.27" layer="1"/>
<wire x1="80.01" y1="98.425" x2="82.55" y2="100.965" width="1.27" layer="1"/>
<wire x1="82.55" y1="100.965" x2="87.63" y2="100.965" width="1.27" layer="1"/>
<wire x1="87.63" y1="105.41" x2="87.63" y2="100.965" width="1.27" layer="1"/>
</signal>
<signal name="N$2">
<contactref element="D1" pad="K"/>
<contactref element="OPTO1" pad="4"/>
<contactref element="C3" pad="+"/>
<wire x1="63.5" y1="82.8675" x2="63.5" y2="81.915" width="1.016" layer="1"/>
<wire x1="63.5" y1="81.915" x2="65.0875" y2="80.3275" width="1.016" layer="1"/>
<wire x1="65.0875" y1="80.3275" x2="71.12" y2="80.3275" width="1.016" layer="1"/>
<wire x1="80.01" y1="75.8825" x2="72.7075" y2="75.8825" width="1.016" layer="1"/>
<wire x1="72.7075" y1="75.8825" x2="71.12" y2="77.47" width="1.016" layer="1"/>
<wire x1="71.12" y1="77.47" x2="71.12" y2="80.3275" width="1.016" layer="1"/>
</signal>
<signal name="N$3">
<contactref element="D2" pad="K"/>
<contactref element="OPTO2" pad="4"/>
<contactref element="C4" pad="+"/>
<wire x1="33.02" y1="80.3275" x2="38.1" y2="80.3275" width="1.016" layer="1"/>
<wire x1="44.45" y1="79.0575" x2="44.45" y2="82.8675" width="1.016" layer="1"/>
<wire x1="44.45" y1="82.8675" x2="41.91" y2="85.4075" width="1.016" layer="1"/>
<wire x1="41.91" y1="85.4075" x2="33.02" y2="85.4075" width="1.016" layer="1"/>
<wire x1="33.02" y1="85.4075" x2="30.48" y2="82.8675" width="1.016" layer="1"/>
<wire x1="33.02" y1="80.3275" x2="30.48" y2="82.8675" width="1.016" layer="1"/>
</signal>
<signal name="N$6">
<contactref element="OPTO2" pad="1"/>
<contactref element="R9" pad="1"/>
<wire x1="85.4075" y1="71.4375" x2="84.7725" y2="71.4375" width="1.27" layer="1"/>
<wire x1="84.7725" y1="71.4375" x2="79.0575" y2="65.7225" width="1.27" layer="1"/>
<wire x1="38.1" y1="72.7075" x2="38.1" y2="67.945" width="1.27" layer="1"/>
<wire x1="38.1" y1="67.945" x2="40.3225" y2="65.7225" width="1.27" layer="1"/>
<wire x1="40.3225" y1="65.7225" x2="79.0575" y2="65.7225" width="1.27" layer="1"/>
</signal>
<signal name="N$9">
<contactref element="OPTO1" pad="1"/>
<contactref element="R10" pad="1"/>
<wire x1="57.15" y1="72.7075" x2="71.12" y2="72.7075" width="1.016" layer="1"/>
</signal>
<signal name="N$11">
<contactref element="C3" pad="-"/>
<contactref element="R16" pad="1"/>
<wire x1="80.01" y1="82.8675" x2="80.01" y2="78.4225" width="1.4224" layer="1"/>
</signal>
<signal name="N$13">
<contactref element="C4" pad="-"/>
<contactref element="R17" pad="2"/>
<wire x1="46.6725" y1="82.55" x2="46.6725" y2="79.375" width="1.016" layer="1"/>
<wire x1="46.6725" y1="79.375" x2="46.99" y2="79.0575" width="1.016" layer="1"/>
</signal>
<signal name="N$10">
<contactref element="LED1" pad="K"/>
<contactref element="R11" pad="1"/>
<wire x1="32.7025" y1="75.565" x2="32.7025" y2="71.4375" width="1.016" layer="1"/>
</signal>
<signal name="VCC">
<contactref element="U$1" pad="15"/>
<contactref element="U$1" pad="13"/>
<contactref element="LED1" pad="A"/>
<wire x1="25.7175" y1="75.565" x2="30.1625" y2="75.565" width="1.016" layer="1"/>
<contactref element="J1" pad="1"/>
<wire x1="22.225" y1="64.135" x2="20.955" y2="65.405" width="0.8128" layer="1"/>
<wire x1="20.955" y1="65.405" x2="20.955" y2="75.565" width="0.8128" layer="1"/>
<wire x1="20.955" y1="75.565" x2="20.955" y2="78.4225" width="0.8128" layer="1"/>
<wire x1="20.955" y1="78.4225" x2="23.1775" y2="80.645" width="0.8128" layer="1"/>
<wire x1="25.7175" y1="80.645" x2="23.1775" y2="80.645" width="0.8128" layer="1"/>
<wire x1="25.7175" y1="75.565" x2="20.955" y2="75.565" width="0.8128" layer="1"/>
<wire x1="22.225" y1="61.595" x2="22.225" y2="59.055" width="1.27" layer="16"/>
<wire x1="22.225" y1="59.055" x2="19.05" y2="55.88" width="1.27" layer="16"/>
<wire x1="22.225" y1="64.135" x2="22.225" y2="61.595" width="1.27" layer="1"/>
</signal>
<signal name="VREF">
<contactref element="U$1" pad="16"/>
<contactref element="U$1" pad="2"/>
<wire x1="25.7175" y1="83.185" x2="22.225" y2="83.185" width="0.8128" layer="1"/>
<wire x1="22.225" y1="83.185" x2="19.685" y2="80.645" width="0.8128" layer="1"/>
<wire x1="18.0975" y1="80.645" x2="19.685" y2="80.645" width="0.8128" layer="1"/>
</signal>
<signal name="OUTA">
<contactref element="R5" pad="2"/>
<contactref element="R4" pad="2"/>
<contactref element="R10" pad="2"/>
<contactref element="U$1" pad="11"/>
<wire x1="52.07" y1="82.8675" x2="57.15" y2="82.8675" width="1.4224" layer="1"/>
<wire x1="57.15" y1="82.8675" x2="57.15" y2="80.3275" width="1.016" layer="1"/>
<wire x1="35.56" y1="74.6125" x2="36.195" y2="75.2475" width="1.016" layer="1"/>
<wire x1="36.195" y1="75.2475" x2="50.4825" y2="75.2475" width="1.016" layer="1"/>
<wire x1="50.4825" y1="75.2475" x2="52.07" y2="76.835" width="1.016" layer="1"/>
<wire x1="52.07" y1="76.835" x2="52.07" y2="82.8675" width="1.016" layer="1"/>
<wire x1="35.56" y1="74.6125" x2="35.56" y2="69.215" width="1.016" layer="1"/>
<wire x1="25.7175" y1="70.485" x2="28.8925" y2="70.485" width="1.016" layer="1"/>
<wire x1="28.8925" y1="70.485" x2="31.75" y2="67.6275" width="1.016" layer="1"/>
<wire x1="31.75" y1="67.6275" x2="33.9725" y2="67.6275" width="1.016" layer="1"/>
<wire x1="33.9725" y1="67.6275" x2="35.56" y2="69.215" width="1.016" layer="1"/>
</signal>
<signal name="OUTB">
<contactref element="R8" pad="1"/>
<contactref element="R2" pad="1"/>
<contactref element="R9" pad="2"/>
<wire x1="85.09" y1="82.8675" x2="90.4875" y2="82.8675" width="1.4224" layer="1"/>
<contactref element="U$1" pad="14"/>
<wire x1="85.09" y1="82.8675" x2="86.0425" y2="82.8675" width="1.016" layer="1"/>
<wire x1="25.7175" y1="78.105" x2="42.545" y2="78.105" width="1.016" layer="1"/>
<wire x1="42.545" y1="78.105" x2="43.4975" y2="77.1525" width="1.016" layer="1"/>
<wire x1="51.7525" y1="86.0425" x2="84.1375" y2="86.0425" width="1.016" layer="1"/>
<wire x1="85.09" y1="85.09" x2="84.1375" y2="86.0425" width="1.016" layer="1"/>
<wire x1="85.09" y1="85.09" x2="85.09" y2="82.8675" width="1.016" layer="1"/>
<wire x1="51.7525" y1="86.0425" x2="49.2125" y2="83.5025" width="1.016" layer="1"/>
<wire x1="49.2125" y1="83.5025" x2="49.2125" y2="78.105" width="1.016" layer="1"/>
<wire x1="49.2125" y1="78.105" x2="48.26" y2="77.1525" width="1.016" layer="1"/>
<wire x1="48.26" y1="77.1525" x2="43.4975" y2="77.1525" width="1.016" layer="1"/>
<wire x1="85.4075" y1="79.0575" x2="85.4075" y2="82.55" width="1.27" layer="1"/>
<wire x1="85.4075" y1="82.55" x2="85.09" y2="82.8675" width="1.27" layer="1"/>
</signal>
<signal name="CSS">
<contactref element="U$1" pad="8"/>
<contactref element="C1" pad="+"/>
<wire x1="15.875" y1="65.405" x2="18.0975" y2="65.405" width="1.016" layer="1"/>
<wire x1="15.875" y1="65.405" x2="12.7" y2="62.23" width="1.016" layer="1"/>
<wire x1="12.7" y1="62.23" x2="11.1125" y2="62.23" width="1.016" layer="1"/>
</signal>
<signal name="N$12">
<contactref element="U$1" pad="7"/>
<contactref element="R12" pad="2"/>
<wire x1="13.97" y1="67.945" x2="18.0975" y2="67.945" width="1.016" layer="1"/>
</signal>
<signal name="N$16">
<contactref element="U$1" pad="6"/>
<contactref element="R13" pad="2"/>
<wire x1="18.0975" y1="70.485" x2="8.89" y2="70.485" width="1.27" layer="1"/>
<wire x1="6.985" y1="66.675" x2="6.985" y2="68.58" width="1.27" layer="1"/>
<wire x1="6.985" y1="68.58" x2="8.89" y2="70.485" width="1.27" layer="1"/>
</signal>
<signal name="N$23">
<contactref element="U$1" pad="3"/>
</signal>
<signal name="N$24">
<contactref element="U$1" pad="4"/>
</signal>
<signal name="COMP">
<contactref element="U$1" pad="9"/>
</signal>
<signal name="IN-">
<contactref element="U$1" pad="1"/>
</signal>
<signal name="N$25">
<contactref element="U$1" pad="5"/>
<contactref element="R12" pad="1"/>
<contactref element="C2" pad="2"/>
<wire x1="14.2875" y1="77.7875" x2="14.2875" y2="75.8825" width="1.016" layer="1"/>
<wire x1="14.2875" y1="75.8825" x2="13.97" y2="75.565" width="1.016" layer="1"/>
<wire x1="18.0975" y1="73.025" x2="15.24" y2="73.025" width="1.016" layer="1"/>
<wire x1="15.24" y1="73.025" x2="13.97" y2="74.295" width="1.016" layer="1"/>
<wire x1="13.97" y1="74.295" x2="13.97" y2="75.565" width="1.016" layer="1"/>
</signal>
<signal name="N$8">
<contactref element="VR1" pad="3"/>
<contactref element="R13" pad="1"/>
<wire x1="11.43" y1="76.835" x2="11.43" y2="75.2475" width="1.27" layer="1"/>
<wire x1="11.43" y1="75.2475" x2="10.4775" y2="74.295" width="1.27" layer="1"/>
<wire x1="10.4775" y1="74.295" x2="6.985" y2="74.295" width="1.27" layer="1"/>
</signal>
<signal name="GND1">
<contactref element="C21" pad="1"/>
<contactref element="C22" pad="1"/>
<contactref element="IC1" pad="5"/>
<contactref element="IC1" pad="3"/>
<contactref element="IC1" pad="21"/>
<contactref element="R22" pad="2"/>
<contactref element="FTDI" pad="GND"/>
<contactref element="RST-BTN" pad="P$2"/>
<wire x1="44.74284375" y1="32.9761125" x2="44.74284375" y2="28.79725" width="0.3048" layer="1"/>
<contactref element="J7" pad="1"/>
<contactref element="J5" pad="1"/>
<contactref element="R14" pad="2"/>
<wire x1="42.418" y1="11.39825" x2="42.418" y2="14.00175" width="0.3048" layer="1"/>
<wire x1="40.4495" y1="16.002" x2="40.767" y2="15.65275" width="0.4064" layer="1"/>
<wire x1="40.767" y1="15.65275" x2="42.418" y2="14.00175" width="0.4064" layer="1"/>
<wire x1="42.418" y1="11.39825" x2="40.7035" y2="9.68375" width="0.3048" layer="1"/>
<wire x1="39.497" y1="9.68375" x2="40.7035" y2="9.68375" width="0.3048" layer="1"/>
<contactref element="LCD" pad="2"/>
<contactref element="CS-OUT" pad="1"/>
<contactref element="CS-IN" pad="1"/>
<contactref element="J8" pad="1"/>
<contactref element="J9" pad="2"/>
<wire x1="45.227025" y1="22.589275" x2="44.0055" y2="22.589275" width="0.4064" layer="1"/>
<wire x1="44.0055" y1="22.589275" x2="41.575775" y2="22.589275" width="0.4064" layer="1"/>
<wire x1="41.575775" y1="22.589275" x2="39.02075" y2="20.03425" width="0.4064" layer="1"/>
<wire x1="45.54284375" y1="24.3909125" x2="45.54284375" y2="22.90509375" width="0.3048" layer="1"/>
<wire x1="45.54284375" y1="22.90509375" x2="45.2755" y2="22.63775" width="0.3048" layer="1"/>
<wire x1="45.227025" y1="22.589275" x2="45.2755" y2="22.63775" width="0.4064" layer="1"/>
<wire x1="43.94284375" y1="24.3909125" x2="43.94284375" y2="22.65193125" width="0.4064" layer="1"/>
<wire x1="43.94284375" y1="22.65193125" x2="44.0055" y2="22.589275" width="0.4064" layer="1"/>
<wire x1="36.22675" y1="9.779" x2="39.40175" y2="9.779" width="0.4064" layer="1"/>
<wire x1="39.40175" y1="9.779" x2="39.497" y2="9.68375" width="0.4064" layer="1"/>
<wire x1="43.94284375" y1="24.3909125" x2="43.94284375" y2="27.99725" width="0.3048" layer="1"/>
<wire x1="43.94284375" y1="27.99725" x2="44.74284375" y2="28.79725" width="0.3048" layer="1"/>
<wire x1="44.74284375" y1="32.9761125" x2="44.74284375" y2="36.44190625" width="0.3048" layer="1"/>
<wire x1="44.74284375" y1="36.44190625" x2="44.73575" y2="36.576" width="0.3048" layer="1"/>
<wire x1="6.2815" y1="43.2385" x2="6.2815" y2="51.73775" width="1.27" layer="1"/>
<wire x1="6.2815" y1="51.73775" x2="6.328" y2="51.78425" width="1.27" layer="1"/>
<wire x1="6.2815" y1="3.2385" x2="6.2815" y2="35.56" width="1.27" layer="1"/>
<wire x1="6.2815" y1="35.56" x2="6.2815" y2="43.2385" width="1.27" layer="1"/>
<wire x1="57.8485" y1="5.6515" x2="33.05175" y2="5.6515" width="0.4064" layer="1"/>
<wire x1="56.54675" y1="12.319" x2="57.9755" y2="12.319" width="0.4064" layer="1"/>
<wire x1="57.9755" y1="12.319" x2="58.51525" y2="11.77925" width="0.4064" layer="1"/>
<wire x1="58.51525" y1="11.77925" x2="58.51525" y2="6.31825" width="0.4064" layer="1"/>
<wire x1="58.51525" y1="6.31825" x2="57.8485" y2="5.6515" width="0.4064" layer="1"/>
<contactref element="R20" pad="2"/>
<contactref element="R20" pad="1"/>
<wire x1="33.87725" y1="9.779" x2="36.22675" y2="9.779" width="0.4064" layer="1"/>
<wire x1="33.05175" y1="5.6515" x2="30.57525" y2="8.128" width="0.4064" layer="1"/>
<wire x1="30.57525" y1="9.779" x2="30.57525" y2="8.128" width="0.4064" layer="1"/>
<wire x1="30.57525" y1="9.779" x2="30.57525" y2="10.31875" width="0.4064" layer="1"/>
<wire x1="30.57525" y1="10.31875" x2="30.82925" y2="10.57275" width="0.4064" layer="1"/>
<wire x1="30.82925" y1="10.57275" x2="30.82925" y2="24.73325" width="0.4064" layer="1"/>
<wire x1="39.02075" y1="20.03425" x2="39.02075" y2="17.43075" width="0.4064" layer="1"/>
<wire x1="39.02075" y1="17.43075" x2="40.4495" y2="16.002" width="0.4064" layer="1"/>
<wire x1="42.418" y1="14.00175" x2="42.418" y2="14.06525" width="0.4064" layer="1"/>
<wire x1="42.418" y1="14.06525" x2="42.51325" y2="14.1605" width="0.4064" layer="1"/>
<wire x1="42.51325" y1="14.1605" x2="45.56125" y2="14.1605" width="0.3048" layer="1"/>
<wire x1="45.56125" y1="14.1605" x2="47.117" y2="12.60475" width="0.3048" layer="1"/>
<wire x1="46.1645" y1="16.002" x2="46.1645" y2="14.76375" width="0.3048" layer="1"/>
<wire x1="46.1645" y1="14.76375" x2="45.56125" y2="14.1605" width="0.3048" layer="1"/>
<wire x1="32.41675" y1="35.179" x2="32.41675" y2="26.32075" width="0.4064" layer="1"/>
<wire x1="32.41675" y1="26.32075" x2="30.82925" y2="24.73325" width="0.4064" layer="1"/>
<wire x1="30.099" y1="35.179" x2="28.5115" y2="36.7665" width="1.27" layer="1"/>
<wire x1="28.5115" y1="36.7665" x2="28.5115" y2="47.6885" width="1.27" layer="1"/>
<wire x1="30.099" y1="35.179" x2="6.6625" y2="35.179" width="1.27" layer="1"/>
<wire x1="6.6625" y1="35.179" x2="6.2815" y2="35.56" width="1.27" layer="1"/>
<wire x1="32.41675" y1="35.179" x2="30.099" y2="35.179" width="1.27" layer="1"/>
<wire x1="32.41675" y1="48.26" x2="27.94" y2="48.26" width="1.27" layer="1"/>
<wire x1="27.94" y1="48.26" x2="27.6225" y2="48.26" width="1.27" layer="1"/>
<wire x1="27.6225" y1="48.26" x2="24.09825" y2="51.78425" width="1.27" layer="1"/>
<wire x1="28.5115" y1="47.6885" x2="27.94" y2="48.26" width="1.27" layer="1"/>
<wire x1="30.82925" y1="10.57275" x2="33.87725" y2="9.779" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="VCC1">
<contactref element="IC1" pad="20"/>
<contactref element="IC1" pad="6"/>
<contactref element="IC1" pad="4"/>
<contactref element="IC1" pad="18"/>
<contactref element="U$2" pad="1"/>
<contactref element="R24" pad="1"/>
<contactref element="FTDI" pad="VCC"/>
<wire x1="45.54284375" y1="32.9761125" x2="45.54284375" y2="31.593871875" width="0.3048" layer="1"/>
<wire x1="44.74284375" y1="24.3909125" x2="44.73873125" y2="24.395021875" width="0.254" layer="1"/>
<contactref element="J4" pad="1"/>
<contactref element="R15" pad="2"/>
<contactref element="LCD" pad="1"/>
<contactref element="CS-OUT" pad="3"/>
<contactref element="CS-IN" pad="3"/>
<wire x1="46.9537375" y1="26.8650125" x2="47.990125" y2="25.828625" width="0.3048" layer="1"/>
<wire x1="47.990125" y1="25.828625" x2="49.05375" y2="24.765" width="0.3048" layer="1"/>
<wire x1="56.29275" y1="9.779" x2="53.467" y2="12.60475" width="0.4064" layer="1"/>
<wire x1="49.24425" y1="32.766" x2="47.5615" y2="31.08325" width="0.3048" layer="1"/>
<wire x1="46.332728125" y1="29.854478125" x2="46.942375" y2="30.464125" width="0.4064" layer="1"/>
<wire x1="46.942375" y1="30.464125" x2="47.5615" y2="31.08325" width="0.4064" layer="1"/>
<wire x1="45.54284375" y1="31.593871875" x2="45.54284375" y2="30.6443625" width="0.4064" layer="1"/>
<wire x1="45.54284375" y1="30.6443625" x2="46.332728125" y2="29.854478125" width="0.4064" layer="1"/>
<wire x1="47.14284375" y1="32.9761125" x2="47.14284375" y2="30.66459375" width="0.3048" layer="1"/>
<wire x1="47.14284375" y1="30.66459375" x2="46.942375" y2="30.464125" width="0.3048" layer="1"/>
<wire x1="46.332728125" y1="29.854478125" x2="46.332728125" y2="27.486021875" width="0.4064" layer="1"/>
<wire x1="46.332728125" y1="27.486021875" x2="47.990125" y2="25.828625" width="0.4064" layer="1"/>
<wire x1="46.34284375" y1="24.3909125" x2="46.34284375" y2="27.47590625" width="0.3048" layer="1"/>
<wire x1="46.34284375" y1="27.47590625" x2="46.332728125" y2="27.486021875" width="0.3048" layer="1"/>
<wire x1="44.74284375" y1="24.3909125" x2="44.74284375" y2="25.8961375" width="0.3048" layer="1"/>
<wire x1="44.74284375" y1="25.8961375" x2="46.332728125" y2="27.486021875" width="0.3048" layer="1"/>
<wire x1="56.29275" y1="9.779" x2="56.54675" y2="9.779" width="0.4064" layer="1"/>
<contactref element="R18" pad="1"/>
<contactref element="R18" pad="2"/>
<wire x1="56.61025" y1="7.33425" x2="56.61025" y2="9.7155" width="0.4064" layer="1"/>
<wire x1="56.61025" y1="9.7155" x2="56.54675" y2="9.779" width="0.4064" layer="1"/>
<wire x1="56.61025" y1="4.03225" x2="25.07525" y2="4.03225" width="0.8128" layer="1"/>
<contactref element="R19" pad="1"/>
<contactref element="R19" pad="2"/>
<wire x1="36.22675" y1="14.859" x2="34.00425" y2="14.859" width="0.4064" layer="1"/>
<via x="34.00425" y="14.859" extent="1-16" drill="0.6"/>
<wire x1="34.00425" y1="14.859" x2="29.05125" y2="14.859" width="0.4064" layer="16"/>
<via x="29.05125" y="14.859" extent="1-16" drill="0.6"/>
<wire x1="46.38675" y1="37.62375" x2="46.38675" y2="35.14725" width="0.4064" layer="1"/>
<wire x1="39.52875" y1="38.25875" x2="39.71925" y2="38.25875" width="0.4064" layer="1"/>
<wire x1="39.71925" y1="38.25875" x2="39.97325" y2="38.51275" width="0.4064" layer="1"/>
<wire x1="39.97325" y1="38.51275" x2="45.49775" y2="38.51275" width="0.4064" layer="1"/>
<wire x1="45.49775" y1="38.51275" x2="46.38675" y2="37.62375" width="0.4064" layer="1"/>
<wire x1="46.38675" y1="35.14725" x2="46.13275" y2="34.89325" width="0.4064" layer="1"/>
<wire x1="45.54284375" y1="32.9761125" x2="45.54284375" y2="34.30334375" width="0.3048" layer="1"/>
<wire x1="45.54284375" y1="34.30334375" x2="46.13275" y2="34.89325" width="0.3048" layer="1"/>
<wire x1="56.54675" y1="33.1345125" x2="49.6127625" y2="33.1345125" width="0.4064" layer="1"/>
<wire x1="49.6127625" y1="33.1345125" x2="49.24425" y2="32.766" width="0.4064" layer="1"/>
<wire x1="53.467" y1="12.60475" x2="50.292" y2="12.60475" width="0.4064" layer="1"/>
<wire x1="49.24425" y1="19.1135" x2="49.24425" y2="24.5745" width="0.4064" layer="1"/>
<wire x1="49.24425" y1="24.5745" x2="49.05375" y2="24.765" width="0.4064" layer="1"/>
<wire x1="53.467" y1="12.60475" x2="53.467" y2="14.89075" width="0.4064" layer="1"/>
<wire x1="53.467" y1="14.89075" x2="49.24425" y2="19.1135" width="0.4064" layer="1"/>
<wire x1="32.41675" y1="53.34" x2="35.8775" y2="53.34" width="0.4064" layer="1"/>
<wire x1="35.8775" y1="53.34" x2="39.52875" y2="49.68875" width="0.4064" layer="1"/>
<wire x1="39.52875" y1="38.25875" x2="39.52875" y2="49.68875" width="0.4064" layer="1"/>
<wire x1="32.41675" y1="40.259" x2="34.2265" y2="40.259" width="0.4064" layer="1"/>
<wire x1="34.2265" y1="40.259" x2="36.22675" y2="38.25875" width="0.4064" layer="1"/>
<wire x1="24.2815" y1="3.2385" x2="24.2815" y2="10.08925" width="1.27" layer="1"/>
<wire x1="24.2815" y1="10.08925" x2="29.05125" y2="14.859" width="1.27" layer="1"/>
<wire x1="25.07525" y1="4.03225" x2="24.2815" y2="3.2385" width="0.8128" layer="1"/>
<wire x1="39.52875" y1="38.25875" x2="36.22675" y2="38.25875" width="0" layer="19" extent="1-1"/>
<wire x1="56.61025" y1="4.03225" x2="56.61025" y2="7.33425" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="A5">
<contactref element="IC1" pad="28"/>
</signal>
<signal name="A4">
<contactref element="IC1" pad="27"/>
</signal>
<signal name="N$7">
<contactref element="Q2" pad="2"/>
<contactref element="IC1" pad="7"/>
<contactref element="C21" pad="2"/>
<wire x1="43.7515" y1="16.002" x2="44.069" y2="16.92275" width="0.4064" layer="1"/>
<wire x1="44.069" y1="16.92275" x2="42.164" y2="18.82775" width="0.4064" layer="1"/>
<wire x1="40.894" y1="18.82775" x2="42.164" y2="18.82775" width="0.4064" layer="1"/>
<wire x1="47.14284375" y1="24.3909125" x2="47.14284375" y2="23.17159375" width="0.3048" layer="1"/>
<wire x1="47.14284375" y1="23.17159375" x2="46.783625" y2="22.812375" width="0.3048" layer="1"/>
<wire x1="46.783625" y1="22.812375" x2="46.4185" y2="22.44725" width="0.3048" layer="1"/>
<wire x1="40.894" y1="18.82775" x2="42.799" y2="18.82775" width="0.4064" layer="1"/>
<wire x1="42.799" y1="18.82775" x2="46.783625" y2="22.812375" width="0.4064" layer="1"/>
</signal>
<signal name="N$14">
<contactref element="IC1" pad="8"/>
<contactref element="Q2" pad="1"/>
<contactref element="C22" pad="2"/>
<wire x1="49.4665" y1="16.002" x2="49.4665" y2="16.1925" width="0.4064" layer="1"/>
<wire x1="49.4665" y1="16.1925" x2="46.83125" y2="18.82775" width="0.4064" layer="1"/>
<wire x1="45.72" y1="18.82775" x2="46.83125" y2="18.82775" width="0.4064" layer="1"/>
<wire x1="47.94284375" y1="24.3147125" x2="47.94284375" y2="21.05059375" width="0.3048" layer="1"/>
<wire x1="47.94284375" y1="21.05059375" x2="45.72" y2="18.82775" width="0.3048" layer="1"/>
</signal>
<signal name="RST">
<contactref element="IC1" pad="29"/>
<contactref element="R24" pad="2"/>
<contactref element="C20" pad="2"/>
<contactref element="RST-BTN" pad="P$1"/>
<wire x1="44.03725" y1="12.446" x2="44.069" y2="12.47775" width="0.3048" layer="1"/>
<wire x1="53.467" y1="9.30275" x2="53.467" y2="8.54075" width="0.4064" layer="1"/>
<wire x1="53.467" y1="8.54075" x2="52.451" y2="7.52475" width="0.4064" layer="1"/>
<wire x1="52.451" y1="7.52475" x2="43.27525" y2="7.52475" width="0.4064" layer="1"/>
<wire x1="43.27525" y1="7.52475" x2="33.401" y2="7.52475" width="0.4064" layer="1"/>
<wire x1="44.03725" y1="12.446" x2="44.03725" y2="10.414" width="0.4064" layer="1"/>
<wire x1="44.03725" y1="10.414" x2="43.307" y2="9.68375" width="0.4064" layer="1"/>
<wire x1="43.307" y1="9.68375" x2="43.307" y2="7.5565" width="0.4064" layer="1"/>
<wire x1="43.307" y1="7.5565" x2="43.27525" y2="7.52475" width="0.4064" layer="1"/>
<wire x1="40.85024375" y1="28.2835125" x2="36.4115125" y2="28.2835125" width="0.3048" layer="1"/>
<wire x1="32.1945" y1="24.257" x2="36.2210125" y2="28.2835125" width="0.4064" layer="1"/>
<wire x1="36.4115125" y1="28.2835125" x2="36.2210125" y2="28.2835125" width="0.4064" layer="1"/>
<wire x1="32.1945" y1="24.257" x2="32.1945" y2="8.73125" width="0.4064" layer="1"/>
<wire x1="32.1945" y1="8.73125" x2="33.401" y2="7.52475" width="0.4064" layer="1"/>
</signal>
<signal name="N$15">
<contactref element="R22" pad="1"/>
<contactref element="U$2" pad="2"/>
<wire x1="47.117" y1="9.30275" x2="50.292" y2="9.30275" width="0.3048" layer="1"/>
</signal>
<signal name="D13">
<contactref element="IC1" pad="17"/>
<contactref element="U$3" pad="1"/>
<contactref element="LCD" pad="7"/>
<contactref element="R21" pad="2"/>
<contactref element="R21" pad="1"/>
<wire x1="56.54675" y1="25.019" x2="58.7375" y2="25.019" width="0.4064" layer="1"/>
<wire x1="47.94284375" y1="33.0523125" x2="47.94284375" y2="33.94109375" width="0.3048" layer="1"/>
<wire x1="47.94284375" y1="33.94109375" x2="48.387" y2="34.38525" width="0.3048" layer="1"/>
<wire x1="48.387" y1="34.38525" x2="52.705" y2="34.38525" width="0.4064" layer="1"/>
<wire x1="52.705" y1="34.38525" x2="53.75275" y2="35.433" width="0.4064" layer="1"/>
<wire x1="53.75275" y1="36.576" x2="53.75275" y2="35.433" width="0.4064" layer="1"/>
<wire x1="62.0395" y1="25.019" x2="62.0395" y2="31.08325" width="0.4064" layer="1"/>
<wire x1="62.0395" y1="31.08325" x2="56.54675" y2="36.576" width="0.4064" layer="1"/>
<wire x1="53.75275" y1="36.576" x2="56.54675" y2="36.576" width="0.4064" layer="1"/>
<wire x1="62.0395" y1="25.019" x2="58.7375" y2="25.019" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="D0">
<contactref element="FTDI" pad="TXO"/>
<contactref element="IC1" pad="30"/>
<wire x1="33.3375" y1="18.76425" x2="33.3375" y2="24.003" width="0.4064" layer="1"/>
<wire x1="33.3375" y1="24.003" x2="35.90925" y2="26.57475" width="0.4064" layer="1"/>
<wire x1="35.90925" y1="26.57475" x2="36.2585" y2="26.924" width="0.4064" layer="1"/>
<wire x1="40.85024375" y1="27.4835125" x2="36.8180125" y2="27.4835125" width="0.3048" layer="1"/>
<wire x1="36.8180125" y1="27.4835125" x2="35.90925" y2="26.57475" width="0.3048" layer="1"/>
<wire x1="36.22675" y1="17.399" x2="34.70275" y2="17.399" width="0.4064" layer="1"/>
<wire x1="34.70275" y1="17.399" x2="33.3375" y2="18.76425" width="0.4064" layer="1"/>
</signal>
<signal name="D11">
<contactref element="IC1" pad="15"/>
<contactref element="LCD" pad="6"/>
<wire x1="49.43544375" y1="30.6835125" x2="53.8032375" y2="30.6835125" width="0.3048" layer="1"/>
<wire x1="56.54675" y1="22.479" x2="55.14975" y2="22.479" width="0.4064" layer="1"/>
<wire x1="55.14975" y1="22.479" x2="54.4195" y2="23.20925" width="0.4064" layer="1"/>
<wire x1="54.4195" y1="23.20925" x2="54.4195" y2="30.06725" width="0.4064" layer="1"/>
<wire x1="53.8032375" y1="30.6835125" x2="53.959125" y2="30.527625" width="0.3048" layer="1"/>
<wire x1="53.959125" y1="30.527625" x2="54.32425" y2="30.1625" width="0.3048" layer="1"/>
<wire x1="54.4195" y1="30.06725" x2="53.959125" y2="30.527625" width="0.4064" layer="1"/>
</signal>
<signal name="D12">
<contactref element="IC1" pad="16"/>
<contactref element="LCD" pad="4"/>
<wire x1="56.54675" y1="17.399" x2="58.293" y2="17.399" width="0.4064" layer="1"/>
<wire x1="60.3885" y1="19.4945" x2="60.3885" y2="29.62275" width="0.4064" layer="1"/>
<wire x1="58.5277375" y1="31.4835125" x2="60.3885" y2="29.62275" width="0.4064" layer="1"/>
<wire x1="60.3885" y1="19.4945" x2="58.293" y2="17.399" width="0.4064" layer="1"/>
<wire x1="49.51164375" y1="31.4835125" x2="55.0420125" y2="31.4835125" width="0.3048" layer="1"/>
<wire x1="55.0420125" y1="31.4835125" x2="58.5277375" y2="31.4835125" width="0.4064" layer="1"/>
</signal>
<signal name="N$18">
<contactref element="FTDI" pad="DTR"/>
<contactref element="C20" pad="1"/>
<wire x1="36.22675" y1="22.479" x2="37.36975" y2="22.479" width="0.4064" layer="1"/>
<wire x1="37.36975" y1="22.479" x2="38.1" y2="21.74875" width="0.4064" layer="1"/>
<wire x1="38.1" y1="15.14475" x2="40.767" y2="12.47775" width="0.4064" layer="1"/>
<wire x1="38.1" y1="15.14475" x2="38.1" y2="21.74875" width="0.4064" layer="1"/>
</signal>
<signal name="A0">
<contactref element="IC1" pad="23"/>
<contactref element="CS-OUT" pad="2"/>
<wire x1="39.243" y1="34.925" x2="42.51325" y2="34.925" width="0.4064" layer="1"/>
<wire x1="42.51325" y1="34.925" x2="42.76725" y2="34.671" width="0.4064" layer="1"/>
<wire x1="43.14284375" y1="32.9761125" x2="43.14284375" y2="34.29540625" width="0.3048" layer="1"/>
<wire x1="43.14284375" y1="34.29540625" x2="42.76725" y2="34.671" width="0.3048" layer="1"/>
<wire x1="37.87775" y1="36.29025" x2="39.243" y2="34.925" width="0.4064" layer="1"/>
<wire x1="32.41675" y1="50.8" x2="36.03625" y2="50.8" width="0.4064" layer="1"/>
<wire x1="36.03625" y1="50.8" x2="37.87775" y2="48.9585" width="0.4064" layer="1"/>
<wire x1="37.87775" y1="36.29025" x2="37.87775" y2="48.9585" width="0.4064" layer="1"/>
</signal>
<signal name="A1">
<contactref element="IC1" pad="24"/>
<contactref element="CS-IN" pad="2"/>
<wire x1="42.34284375" y1="33.0523125" x2="39.5293125" y2="33.0523125" width="0.3048" layer="1"/>
<wire x1="32.41675" y1="37.719" x2="33.43275" y2="37.719" width="0.4064" layer="1"/>
<wire x1="33.43275" y1="37.719" x2="38.0994375" y2="33.0523125" width="0.4064" layer="1"/>
<wire x1="39.5293125" y1="33.0523125" x2="38.0994375" y2="33.0523125" width="0.4064" layer="1"/>
</signal>
<signal name="A2">
<contactref element="IC1" pad="25"/>
</signal>
<signal name="A3">
<contactref element="IC1" pad="26"/>
</signal>
<signal name="D8">
<contactref element="IC1" pad="12"/>
</signal>
<signal name="D9">
<contactref element="IC1" pad="13"/>
<contactref element="LCD" pad="5"/>
<wire x1="49.43544375" y1="29.0835125" x2="50.7677375" y2="29.0835125" width="0.3048" layer="1"/>
<wire x1="50.7677375" y1="29.0835125" x2="50.9905" y2="28.86075" width="0.3048" layer="1"/>
<contactref element="R23" pad="2"/>
<contactref element="R23" pad="1"/>
<wire x1="56.54675" y1="19.939" x2="54.61" y2="19.939" width="0.4064" layer="1"/>
<wire x1="51.308" y1="19.939" x2="51.308" y2="28.54325" width="0.4064" layer="1"/>
<wire x1="51.308" y1="28.54325" x2="50.9905" y2="28.86075" width="0.4064" layer="1"/>
<wire x1="51.308" y1="19.939" x2="54.61" y2="19.939" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="D10">
<contactref element="IC1" pad="14"/>
<contactref element="LCD" pad="3"/>
<wire x1="49.44220625" y1="29.87675" x2="49.43544375" y2="29.8835125" width="0" layer="19" extent="1-16"/>
<wire x1="49.44220625" y1="29.87675" x2="51.97475" y2="29.87675" width="0.3048" layer="1"/>
<wire x1="51.97475" y1="29.87675" x2="52.41925" y2="29.43225" width="0.3048" layer="1"/>
<wire x1="52.41925" y1="29.43225" x2="52.578" y2="29.2735" width="0.3048" layer="1"/>
<wire x1="56.54675" y1="14.859" x2="54.95925" y2="14.859" width="0.4064" layer="1"/>
<wire x1="54.95925" y1="14.859" x2="52.99075" y2="16.8275" width="0.4064" layer="1"/>
<wire x1="52.99075" y1="16.8275" x2="52.99075" y2="28.86075" width="0.4064" layer="1"/>
<wire x1="52.99075" y1="28.86075" x2="52.41925" y2="29.43225" width="0.4064" layer="1"/>
</signal>
<signal name="D2">
<contactref element="IC1" pad="32"/>
</signal>
<signal name="D3">
<contactref element="IC1" pad="1"/>
</signal>
<signal name="D4">
<contactref element="IC1" pad="2"/>
</signal>
<signal name="D7">
<contactref element="IC1" pad="11"/>
</signal>
<signal name="D6">
<contactref element="IC1" pad="10"/>
</signal>
<signal name="D5">
<contactref element="IC1" pad="9"/>
</signal>
<signal name="D1">
<contactref element="FTDI" pad="RXI"/>
<contactref element="IC1" pad="31"/>
<wire x1="36.22675" y1="19.939" x2="34.89325" y2="19.939" width="0.4064" layer="1"/>
<wire x1="34.89325" y1="19.939" x2="34.32175" y2="20.5105" width="0.4064" layer="1"/>
<wire x1="34.32175" y1="20.5105" x2="34.32175" y2="23.5585" width="0.4064" layer="1"/>
<wire x1="34.32175" y1="23.5585" x2="37.211" y2="26.44775" width="0.4064" layer="1"/>
<wire x1="40.85024375" y1="26.6835125" x2="37.4467625" y2="26.6835125" width="0.3048" layer="1"/>
<wire x1="37.4467625" y1="26.6835125" x2="37.211" y2="26.44775" width="0.3048" layer="1"/>
</signal>
<signal name="12VIN">
<contactref element="J6" pad="1"/>
<contactref element="J8" pad="2"/>
<contactref element="J9" pad="1"/>
<wire x1="19.01825" y1="51.78425" x2="19.01825" y2="49.75225" width="1.27" layer="1"/>
<wire x1="19.01825" y1="49.75225" x2="24.2815" y2="44.489" width="1.27" layer="1"/>
<wire x1="24.2815" y1="43.2385" x2="24.2815" y2="44.489" width="1.27" layer="1"/>
<wire x1="19.01825" y1="51.78425" x2="19.01825" y2="55.84825" width="1.27" layer="1"/>
<wire x1="19.01825" y1="55.84825" x2="19.05" y2="55.88" width="1.27" layer="1"/>
<via x="19.05" y="55.88" extent="1-16" drill="1.27" diameter="2.54"/>
<wire x1="19.01825" y1="51.78425" x2="11.408" y2="51.78425" width="1.27" layer="1"/>
</signal>
<signal name="N$26">
<contactref element="R14" pad="1"/>
<contactref element="U$3" pad="2"/>
<wire x1="50.45075" y1="36.576" x2="48.03775" y2="36.576" width="0.4064" layer="1"/>
</signal>
<signal name="N$27">
<via x="40.86225" y="18.82775" extent="1-16" drill="1.27"/>
</signal>
<signal name="N$28">
<via x="45.75175" y="18.82775" extent="1-16" drill="1.27"/>
</signal>
<signal name="N$29">
<via x="11.39825" y="51.689" extent="1-16" drill="1.778"/>
</signal>
<signal name="N$30">
<via x="6.31825" y="51.7525" extent="1-16" drill="1.778"/>
</signal>
<signal name="N$31">
<contactref element="LCD" pad="8"/>
<contactref element="R15" pad="1"/>
<wire x1="56.54675" y1="27.559" x2="56.54675" y2="29.8325125" width="0.4064" layer="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>


text:
DESCRIPTION = "parted, the GNU partition resizing program"
HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
LICENSE = "GPLv2"
SECTION = "console/tools"
DEPENDS = "readline e2fsprogs-libs"
PR = "r2"

SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
           file://syscalls.h \
           file://syscalls.patch;patch=1 \
           file://cross-gross-hack.patch;patch=1"

EXTRA_OECONF = "--disable-Werror"

inherit autotools pkgconfig

do_configure_prepend() {
	cp ${WORKDIR}/syscalls.h ${S}/libparted/arch/
}

do_configure() {
        gnu-configize
        libtoolize --force
        autoconf
        oe_runconf
}

do_stage() {
	autotools_stage_all
}

license: MIT

repository: jdegges/gumstix-pip-oe

license_type: permissive

repo_name: jdegges/gumstix-pip-oe

branch_name: refs/heads/master


text:
@InProceedings{trapeznikov13a,
  pdf = {http://jmlr.org/proceedings/papers/v31/trapeznikov13a.pdf},
  supplementary = {Supplementary:trapeznikov13a-supp.pdf},
  title = {Supervised Sequential Classification Under Budget Constraints},
  author = {Trapeznikov, Kirill and Saligrama, Venkatesh},
  pages = {581--589},
  abstract = {In this paper we develop a framework for a sequential decision making under budget constraints for multi-class classification. In many classification systems, such as medical diagnosis and homeland security, sequential decisions are often warranted. For each instance, a sensor is first chosen for acquiring measurements and then based on the available information one decides (rejects) to seek more measurements from a new sensor/modality or to terminate by classifying the example based on the available information. Different sensors have varying costs for acquisition, and these costs account for delay, throughput or monetary value. Consequently, we seek methods for maximizing performance of the system subject to budget constraints.  We formulate a multi-stage multi-class empirical risk objective and learn sequential decision functions from training data. We show that reject decision at each stage can be posed as supervised binary classification. We derive bounds for the VC dimension of the multi-stage system to quantify the generalization error. We compare our approach to alternative strategies on several multi-class real world datasets.},
}

repository: mreid/papersite

repo_name: mreid/papersite

gha_license_id: MIT

gha_language: TeX

extension: bib


text:
SUMMARY = "A VirtualBox image of OpenSwitch"

LICENSE = "Apache-2.0"

IMAGE_ROOTFS_SIZE = "524288"

# Do a quiet boot with limited console messages
APPEND += "quiet"
SYSLINUX_PROMPT ?= "0"
SYSLINUX_TIMEOUT ?= "0"

DEPENDS = "tar-native"
IMAGE_FSTYPES = "vmdk tar.gz"

CORE_NUMBER ??= "2"
RAM_SIZE ??= "512"
OVA_PRODUCT ??= "${DISTRO_NAME}"
OVA_VENDOR ??= "${DISTRO_NAME}"
OVA_VENDOR_URL ??= "http://www.openswitch.net"
OVA_VERSION ??= "${DISTRO_VERSION}"

SRC_URI = " \
	file://appliance.ovf.in \
	file://Vagrantfile \
	file://metadata.json \
"

IMAGE_CMD_ext4_append () {
	# We don't need to reserve much space for root, 0.5% is more than enough
	tune2fs -m 0.5 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4
}

addtask rootfs after do_unpack

python () {
	# Ensure we run these usually noexec tasks
	d.delVarFlag("do_fetch", "noexec")
	d.delVarFlag("do_unpack", "noexec")
}

create_bundle_files () {
	cd ${WORKDIR}

	cp ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.vmdk ${DISTRO_NAME}.vmdk

    DISK_BOOT_VMDK_SIZE=`du -b ${DISTRO_NAME}.vmdk | awk '{ print $1 }'`

	sed -e "s|@@DISK_BOOT_NAME@@|${DISTRO_NAME}.vmdk|g" \
        -e "s|@@DISK_BOOT_VMDK_SIZE@@|${DISK_BOOT_VMDK_SIZE}|g" \
        -e "s|@@DISK_BOOT_CAPACITY@@|${IMAGE_ROOTFS_SIZE}|g" \
        -e "s|@@DISTRO_NAME@@|${DISTRO_NAME}-${DISTRO_VERSION}|g" \
        -e "s|@@CORE_NUMBER@@|${CORE_NUMBER}|g" \
        -e "s|@@RAM_SIZE@@|${RAM_SIZE}|g" \
	    -e "s|@@OVA_PRODUCT@@|${OVA_PRODUCT}|g" \
	    -e "s|@@OVA_VENDOR@@|${OVA_VENDOR}|g" \
	    -e "s|@@OVA_VENDOR_URL@@|${OVA_VENDOR_URL}|g" \
	    -e "s|@@OVA_VERSION@@|${OVA_VERSION}|g" \
            appliance.ovf.in  > ${DISTRO_NAME}.ovf

	printf "SHA1 (${DISTRO_NAME}.ovf)= %s\n" `sha1sum ${DISTRO_NAME}.ovf | cut -f1 -d' '` > ${DISTRO_NAME}.mf
	printf "SHA1 (${DISTRO_NAME}.vmdk)= %s\n" `sha1sum ${DISTRO_NAME}.vmdk | cut -f1 -d' '` >> ${DISTRO_NAME}.mf
	tar cvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.ova ${DISTRO_NAME}.ovf ${DISTRO_NAME}.mf ${DISTRO_NAME}.vmdk
	ln -sf ${IMAGE_NAME}.ova ${DEPLOY_DIR_IMAGE}/${BPN}-${MACHINE}.ova
	cp ${DISTRO_NAME}.ovf box.ovf
	tar cvzf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.box box.ovf ${DISTRO_NAME}.vmdk Vagrantfile metadata.json
	ln -sf ${IMAGE_NAME}.box ${DEPLOY_DIR_IMAGE}/${BPN}-${MACHINE}.box
}

python do_bundle_files() {
    bb.build.exec_func('create_bundle_files', d)
}

addtask bundle_files after do_vmdkimg before do_build
#do_bundle_files[nostamp] = "1"

inherit openswitch-image

extension: bb


text:
// Code generated by "stringer -type=StatusFlag"; DO NOT EDIT.

package main

import "strconv"

func _() {
	// An "invalid array index" compiler error signifies that the constant values have changed.
	// Re-run the stringer command to generate them again.
	var x [1]struct{}
	_ = x[SERVER_STATUS_IN_TRANS-1]
	_ = x[SERVER_STATUS_AUTOCOMMIT-2]
	_ = x[SERVER_MORE_RESULTS_EXISTS-4]
	_ = x[SERVER_STATUS_NO_GOOD_INDEX_USED-8]
	_ = x[SERVER_STATUS_NO_INDEX_USED-16]
	_ = x[SERVER_STATUS_CURSOR_EXISTS-32]
	_ = x[SERVER_STATUS_LAST_ROW_SENT-64]
	_ = x[SERVER_STATUS_DB_DROPPED-128]
	_ = x[SERVER_STATUS_NO_BACKSLASH_ESCAPES-256]
	_ = x[SERVER_STATUS_METADATA_CHANGED-512]
	_ = x[SERVER_QUERY_WAS_SLOW-1024]
	_ = x[SERVER_PS_OUT_PARAMS-2048]
	_ = x[SERVER_STATUS_IN_TRANS_READONLY-4096]
	_ = x[SERVER_SESSION_STATE_CHANGED-8192]
}

const _StatusFlag_name = "SERVER_STATUS_IN_TRANSSERVER_STATUS_AUTOCOMMITSERVER_MORE_RESULTS_EXISTSSERVER_STATUS_NO_GOOD_INDEX_USEDSERVER_STATUS_NO_INDEX_USEDSERVER_STATUS_CURSOR_EXISTSSERVER_STATUS_LAST_ROW_SENTSERVER_STATUS_DB_DROPPEDSERVER_STATUS_NO_BACKSLASH_ESCAPESSERVER_STATUS_METADATA_CHANGEDSERVER_QUERY_WAS_SLOWSERVER_PS_OUT_PARAMSSERVER_STATUS_IN_TRANS_READONLYSERVER_SESSION_STATE_CHANGED"

var _StatusFlag_map = map[StatusFlag]string{
	1:    _StatusFlag_name[0:22],
	2:    _StatusFlag_name[22:46],
	4:    _StatusFlag_name[46:72],
	8:    _StatusFlag_name[72:104],
	16:   _StatusFlag_name[104:131],
	32:   _StatusFlag_name[131:158],
	64:   _StatusFlag_name[158:185],
	128:  _StatusFlag_name[185:209],
	256:  _StatusFlag_name[209:243],
	512:  _StatusFlag_name[243:273],
	1024: _StatusFlag_name[273:294],
	2048: _StatusFlag_name[294:314],
	4096: _StatusFlag_name[314:345],
	8192: _StatusFlag_name[345:373],
}

func (i StatusFlag) String() string {
	if str, ok := _StatusFlag_map[i]; ok {
		return str
	}
	return "StatusFlag(" + strconv.FormatInt(int64(i), 10) + ")"
}

branch_name: refs/heads/main

extension: go


text:
package strutils

import "bytes"

func Join(strs []string, sep string) string {
	var buf bytes.Buffer
	lastIdx := len(strs) - 1
	for i, str := range strs {
		if str == "" {
			buf.WriteString("\"\"")
		} else {
			buf.WriteString(str)
		}
		if i != lastIdx {
			buf.WriteString(sep)
		}
	}
	return buf.String()
}