text:
technologies>
<technology name=""/>
</technologies>
</device>
<device name="G" package="PANASONIC_G">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="E" package="PANASONIC_E">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="C" package="PANASONIC_C">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="F80" package="NIPPON_F80">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="D" package="PANASONIC_D">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="PTH3" package="CPOL-RADIAL-1000UF-63V">
<connects>
<connect gate="G$1" pin="+" pad="1"/>
<connect gate="G$1" pin="-" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="PTH4" package="CPOL-RADIAL-1000UF-25V">
<connects>
<connect gate="G$1" pin="+" pad="1"/>
<connect gate="G$1" pin="-" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="SMD" package="VISHAY_C">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="H13" package="PANASONIC_H13">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="6032" package="EIA6032">
<connects>
<connect gate="G$1" pin="+" pad="P$1"/>
<connect gate="G$1" pin="-" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="EN_J2" package="EN_J2">
<connects>
<connect gate="G$1" pin="+" pad="+"/>
<connect gate="G$1" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="3528-KIT" package="EIA3528-KIT">
<connects>
<connect gate="G$1" pin="+" pad="A"/>
<connect gate="G$1" pin="-" pad="C"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206-KIT" package="EIA3216-KIT">
<connects>
<connect gate="G$1" pin="+" pad="A"/>
<connect gate="G$1" pin="-" pad="C"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="SparkFun-AnalogIC">
<description>
SparkFun Electronics' preferred foot prints

In this library you'll find all manner of analog ICs- DACs, ADCs, video chips, op-amps, and others.

We've spent an enormous amount of time creating and checking these footprints and parts, but it is the end user's responsibility to ensure correctness and suitablity for a given componet or application. If you enjoy using this library, please buy one of our products at www.sparkfun.com.

Licensing: CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SOT23-5">
<description>Small Outline Transistor</description>
<wire x1="1.4224" y1="0.4294" x2="1.4224" y2="-0.4294" width="0.2032" layer="21"/>
<wire x1="1.4" y1="-0.8" x2="-1.4" y2="-0.8" width="0.1524" layer="51"/>
<wire x1="-1.4224" y1="-0.4294" x2="-1.4224" y2="0.4294" width="0.2032" layer="21"/>
<wire x1="-1.4" y1="0.8" x2="1.4" y2="0.8" width="0.1524" layer="51"/>
<wire x1="-0.2684" y1="0.8104" x2="0.2684" y2="0.8104" width="0.2032" layer="21"/>
<wire x1="1.4" y1="0.8" x2="1.4" y2="-0.8" width="0.1524" layer="51"/>
<wire x1="-1.4" y1="0.8" x2="-1.4" y2="-0.8" width="0.1524" layer="51"/>
<smd name="1" x="-0.95" y="-1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="2" x="0" y="-1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="3" x="0.95" y="-1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="4" x="0.95" y="1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="5" x="-0.95" y="1.3001" dx="0.55" dy="1.2" layer="1"/>
<text x="-0.889" y="2.159" size="0.4064" layer="25">>NAME</text>
<text x="-0.9525" y="-0.1905" size="0.4064" layer="27">>VALUE</text>
<rectangle x1="-1.2" y1="-1.5" x2="-0.7" y2="-0.85" layer="51"/>
<rectangle x1="-0.25" y1="-1.5" x2="0.25" y2="-0.85" layer="51"/>
<rectangle x1="0.7" y1="-1.5" x2="1.2" y2="-0.85" layer="51"/>
<rectangle x1="0.7" y1="0.85" x2="1.2" y2="1.5" layer="51"/>
<rectangle x1="-1.2" y1="0.85" x2="-0.7" y2="1.5" layer="51"/>
</package>
</packages>
<symbols>
<symbol name="OP-AMP+-">
<wire x1="-1.27" y1="-3.175" x2="-1.27" y2="-1.905" width="0.1524" layer="94"/>
<wire x1="-1.905" y1="-2.54" x2="-0.635" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="-1.905" y1="2.54" x2="-0.635" y2="2.54" width="0.1524" layer="94"/>
<wire x1="0" y1="-5.08" x2="0" y2="-3.8862" width="0.1524" layer="94"/>
<wire x1="0" y1="3.9116" x2="0" y2="5.08" width="0.1524" layer="94"/>
<wire x1="7.62" y1="0" x2="-2.54" y2="-5.08" width="0.4064" layer="94"/>
<wire x1="-2.54" y1="-5.08" x2="-2.54" y2="5.08" width="0.4064" layer="94"/>
<wire x1="-2.54" y1="5.08" x2="7.62" y2="0" width="0.4064" layer="94"/>
<text x="5.08" y="-5.715" size="1.778" layer="95" rot="MR180">>NAME</text>
<text x="5.08" y="5.08" size="1.778" layer="96" rot="MR180">>VALUE</text>
<text x="1.27" y="5.715" size="0.8128" layer="93" rot="MR270">V+</text>
<text x="1.27" y="-4.445" size="0.8128" layer="93" rot="MR270">V-</text>
<pin name="+IN" x="-5.08" y="-2.54" visible="pad" length="short" direction="in"/>
<pin name="-IN" x="-5.08" y="2.54" visible="pad" length="short" direction="in"/>
<pin name="OUT" x="10.16" y="0" visible="pad" length="short" direction="out" rot="R180"/>
<pin name="V+" x="0" y="7.62" visible="pad" length="short" direction="pwr" rot="R270"/>
<pin name="V-" x="0" y="-7.62" visible="pad" length="short" direction="pwr" rot="R90"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="OPA344">
<description>Single gate rail-to-rail output op-amp. Inputs extend 300mV past rails.</description>
<gates>
<gate name="G$1" symbol="OP-AMP+-" x="0" y="0"/>
</gates>
<devices>
<device name="" package="SOT23-5">
<connects>
<connect gate="G$1" pin="+IN" pad="3"/>
<connect gate="G$1" pin="-IN" pad="4"/>
<connect gate="G$1" pin="OUT" pad="1"/>
<connect gate="G$1" pin="V+" pad="5"/>
<connect gate="G$1" pin="V-" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
</classes>
<parts>
<part name="R24" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="C40" library="adafruit" deviceset="C-US" device="C0805" value=".1uF"/>
<part name="FRAME1" library="frames" deviceset="DOCFIELD" device=""/>
<part name="LED3" library="adafruit" deviceset="LED" device="CHIP-LED0805"/>
<part name="P+2" library="supply1" deviceset="+12V" device=""/>
<part name="GND7" library="supply1" deviceset="GND" device=""/>
<part name="U7" library="NASA_LIB" deviceset="MAX6818" device=""/>
<part name="GND8" library="supply1" deviceset="GND" device=""/>
<part name="P+4" library="supply1" deviceset="+5V" device=""/>
<part name="Q1" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="Bss123"/>
<part name="Q2" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="Bss123"/>
<part name="Q3" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="Bss123"/>
<part name="Q4" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="Bss123"/>
<part name="Q5" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="Bss123"/>
<part name="GND12" library="supply1" deviceset="GND" device=""/>
<part name="R1" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="R3" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="R4" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="R5" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="R6" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="CASE1" library="FSAE Eletric" deviceset="581-01-48-009" device=""/>
<part name="U8" library="FSAE Eletric" deviceset="PIC18F45K22" device=""/>
<part name="P+13" library="supply1" deviceset="+5V" device=""/>
<part name="P+25" library="supply1" deviceset="+5V" device=""/>
<part name="GND18" library="supply1" deviceset="GND" device=""/>
<part name="GND41" library="supply1" deviceset="GND" device=""/>
<part name="JP3" library="SparkFun-Connectors" deviceset="M05" device="LOCK_LONGPADS"/>
<part name="P+29" library="supply1" deviceset="+5V" device=""/>
<part name="R8" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="10k"/>
<part name="R2" library="adafruit" deviceset="R-US_" device="R0805" value="2k"/>
<part name="R7" library="adafruit" deviceset="R-US_" device="R0805" value="2k"/>
<part name="P+6" library="supply1" deviceset="+5V" device=""/>
<part name="P+7" library="supply1" deviceset="+5V" device=""/>
<part name="Q6" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="Bss123"/>
<part name="R9" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="P+8" library="supply1" deviceset="+5V" device=""/>
<part name="P+3" library="supply1" deviceset="+5V" device=""/>
<part name="P+9" library="supply1" deviceset="+5V" device=""/>
<part name="GND1" library="SparkFun" deviceset="GND" device=""/>
<part name="GND3" library="SparkFun" deviceset="GND" device=""/>
<part name="GND4" library="supply1" deviceset="GND" device=""/>
<part name="C1" library="adafruit" deviceset="C-US" device="C0805" value=".1uF"/>
<part name="P+10" library="supply1" deviceset="+5V" device=""/>
<part name="GND5" library="SparkFun" deviceset="GND" device=""/>
<part name="C2" library="adafruit" deviceset="C-US" device="C0805" value=".1uF"/>
<part name="C3" library="adafruit" deviceset="C-US" device="C0805" value=".1uF"/>
<part name="R10" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="LED1" library="adafruit" deviceset="LED" device="CHIP-LED0805"/>
<part name="GND6" library="SparkFun" deviceset="GND" device=""/>
<part name="U$1" library="untitled" deviceset="LOGO" device=""/>
<part name="U$2" library="SparkFun-RF" deviceset="BLUETOOTH-RN41" device="""/>
<part name="LED4" library="led" deviceset="LED" device="CHIP-LED0805"/>
<part name="LED5" library="led" deviceset="LED" device="CHIP-LED0805"/>
<part name="R11" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="330"/>
<part name="R13" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="330"/>
<part name="+3V1" library="supply1" deviceset="+3V3" device=""/>
<part name="GND9" library="supply1" deviceset="GND" device=""/>
<part name="GND10" library="supply1" deviceset="GND" device=""/>
<part name="R14" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="100k"/>
<part name="+3V3" library="supply1" deviceset="+3V3" device=""/>
<part name="GND13" library="supply1" deviceset="GND" device=""/>
<part name="JP19" library="SparkFun-Connectors" deviceset="FTDI_DEVICE" device=""/>
<part name="GND31" library="supply1" deviceset="GND" device=""/>
<part name="LED7" library="led" deviceset="LED" device="CHIP-LED0805"/>
<part name="LED8" library="led" deviceset="LED" device="CHIP-LED0805"/>
<part name="Q7" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="BS123"/>
<part name="R16" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="10k"/>
<part name="+3V6" library="supply1" deviceset="+3V3" device=""/>
<part name="R17" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="10k"/>
<part name="P+12" library="supply1" deviceset="+5V" device=""/>
<part name="Q8" library="SparkFun-DiscreteSemi" deviceset="MOSFET-NCHANNEL" device="BSS123LT1G" value="BS123"/>
<part name="R18" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="10k"/>
<part name="+3V8" library="supply1" deviceset="+3V3" device=""/>
<part name="R19" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="10k"/>
<part name="P+14" library="supply1" deviceset="+5V" device=""/>
<part name="P+15" library="supply1" deviceset="+5V" device=""/>
<part name="P+16" library="supply1" deviceset="+5V" device=""/>
<part name="R20" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="1k"/>
<part name="R21" library="SparkFun-Passives" deviceset="RESISTOR" device="0805-RES" value="1k"/>
<part name="+3V4" library="supply1" deviceset="+3V3" device=""/>
<part name="R43" library="adafruit" deviceset="R-US_" device="R0805" value="3.3k"/>
<part name="C80" library="RJ's_parts" deviceset="POLCAP" device="" value="10uF"/>
<part name="L1" library="EmEndev" deviceset="FERITEBEAD" device="" value="FB"/>
<part name="L2" library="EmEndev" deviceset="FERITEBEAD" device="" value="FB"/>
<part name="V1" library="EmEndev" deviceset="VAR-RES" device="" value="30Vdc"/>
<part name="D2" library="EmEndev" deviceset="MM5Z30" device=""/>
<part name="D1" library="diode" deviceset="DIODE-" device="SOD123" value="1N4001"/>
<part name="C7" library="SparkFun-Capacitors" deviceset="CAP_POL" device="7343"/>
<part name="LED9" library="adafruit" deviceset="LED" device="CHIP-LED0805"/>
<part name="U4" library="FSAE Eletric" deviceset="NCP1117DT" device=""/>
<part name="P+17" library="supply1" deviceset="+12V" device=""/>
<part name="GND14" library="supply1" deviceset="GND" device=""/>
<part name="GND15" library="supply1" deviceset="GND" device=""/>
<part name="GND16" library="supply1" deviceset="GND" device=""/>
<part name="GND17" library="supply1" deviceset="GND" device=""/>
<part name="GND19" library="supply1" deviceset="GND" device=""/>
<part name="IC1" library="adafruit" deviceset="78*" device="DT" technology="05"/>
<part name="C4" library="RJ's_parts" deviceset="POLCAP" device="" value="10uF"/>
<part name="GND21" library="supply1" deviceset="GND" device=""/>
<part name="P+18" library="supply1" deviceset="+5V" device=""/>
<part name="GND22" library="supply1" deviceset="GND" device=""/>
<part name="R22" library="adafruit" deviceset="R-US_" device="R0805" value="499"/>
<part name="LED10" library="adafruit" deviceset="LED" device="CHIP-LED0805"/>
<part name="GND23" library="SparkFun" deviceset="GND" device=""/>
<part name="+3V5" library="supply1" deviceset="+3V3" device=""/>
<part name="GND11" library="supply1" deviceset="GND" device=""/>
<part name="IC2" library="adafruit" deviceset="78*" device="DT" technology="05"/>
<part name="C5" library="RJ's_parts" deviceset="POLCAP" device="" value="10uF"/>
<part name="GND20" library="supply1" deviceset="GND" device=""/>
<part name="GND24" library="supply1" deviceset="GND" device=""/>
<part name="U5" library="SparkFun-AnalogIC" deviceset="OPA344" device=""/>
<part name="P+11" library="supply1" deviceset="+5V" device=""/>
<part name="GND25" library="supply1" deviceset="GND" device=""/>
<part name="R12" library="adafruit" deviceset="R-US_" device="R0805" value="10k"/>
<part name="C6" library="adafruit" deviceset="C-US" device="C0805" value="1uF"/>
<part name="GND26" library="supply1" deviceset="GND" device=""/>
<part name="R15" library="adafruit" deviceset="R-US_" device="R0805" value="10k"/>
<part name="C8" library="adafruit" deviceset="C-US" device="C0805" value="100pF"/>
<part name="GND27" library="supply1" deviceset="GND" device=""/>
<part name="GND28" library="supply1" deviceset="GND" device=""/>
<part name="TX2" library="adafruit" deviceset="LED" device="CHIPLED_0805" value="GREEN"/>
<part name="RX2" library="adafruit" deviceset="LED" device="CHIPLED_0805" value="RED"/>
<part name="R23" library="adafruit" deviceset="R-US_" device="R0805" value="1K"/>
<part name="R25" library="adafruit" deviceset="R-US_" device="R0805" value="1k"/>
<part name="GND29" library="supply1" deviceset="GND" device=""/>
<part name="U2" library="FSAE Eletric" deviceset="SN75HVD08DR" device=""/>
<part name="R32" library="adafruit" deviceset="R-US_" device="R0805" value="120"/>
<part name="P+1" library="supply1" deviceset="+5V" device=""/>
<part name="P+5" library="supply1" deviceset="+5V" device=""/>
<part name="C9" library="adafruit" deviceset="C-US" device="C0805" value=".1uF"/>
<part name="GND2" library="SparkFun" deviceset="GND" device=""/>
<part name="P+19" library="supply1" deviceset="+5V" device=""/>
<part name="C10" library="adafruit" deviceset="C-US" device="C0805" value=".1uF"/>
<part name="C11" library="RJ's_parts" deviceset="POLCAP" device="" value="10uF"/>
<part name="+3V2" library="supply1" deviceset="+3V3" device=""/>
<part name="GND30" library="supply1" deviceset="GND" device=""/>
</parts>
<sheets>
<sheet>
<plain>
<text x="345.44" y="22.86" size="5.08" layer="94">1</text>
<frame x1="0" y1="0" x2="368.3" y2="284.48" columns="8" rows="5" layer="94"/>
</plain>
<instances>
<instance part="R24" gate="G$1" x="162.56" y="38.1" rot="R90"/>
<instance part="C40" gate="G$1" x="203.2" y="33.02"/>
<instance part="FRAME1" gate="G$1" x="248.92" y="15.24"/>
<instance part="LED3" gate="G$1" x="162.56" y="30.48"/>
<instance part="P+2" gate="1" x="134.62" y="157.48"/>
<instance part="GND7" gate="1" x="203.2" y="114.3"/>
<instance part="U7" gate="G$1" x="50.8" y="127" rot="MR0"/>
<instance part="GND8" gate="1" x="68.58" y="93.98" rot="MR0"/>
<instance part="P+4" gate="1" x="33.02" y="154.94" rot="MR0"/>
<instance part="Q1" gate="G$1" x="93.98" y="66.04"/>
<instance part="Q2" gate="G$1" x="99.06" y="53.34"/>
<instance part="Q3" gate="G$1" x="104.14" y="40.64"/>
<instance part="Q4" gate="G$1" x="109.22" y="30.48"/>
<instance part="Q5" gate="G$1" x="114.3" y="20.32"/>
<instance part="GND12" gate="1" x="114.3" y="12.7" rot="MR0"/>
<instance part="R1" gate="G$1" x="76.2" y="66.04" rot="R180"/>
<instance part="R3" gate="G$1" x="76.2" y="53.34" rot="R180"/>
<instance part="R4" gate="G$1" x="76.2" y="40.64" rot="R180"/>
<instance part="R5" gate="G$1" x="76.2" y="30.48" rot="R180"/>
<instance part="R6" gate="G$1" x="76.2" y="20.32" rot="R180"/>
<instance part="CASE1" gate="G$1" x="142.24" y="132.08" rot="R180"/>
<instance part="CASE1" gate="G$2" x="142.24" y="86.36" rot="R180"/>
<instance part="CASE1" gate="G$3" x="213.36" y="132.08" smashed="yes" rot="R180">
<attribute name="VALUE" x="223.52" y="149.86" size="1.778" layer="96" rot="R180"/>
<attribute name="NAME" x="220.98" y="113.538" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="CASE1" gate="G$4" x="213.36" y="86.36" smashed="yes" rot="R180">
<attribute name="VALUE" x="223.52" y="104.14" size="1.778" layer="96" rot="R180"/>
<attribute name="NAME" x="223.52" y="67.818" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="U8" gate="G$1" x="111.76" y="228.6"/>
<instance part="P+13" gate="1" x="88.9" y="266.7"/>
<instance part="P+25" gate="1" x="139.7" y="266.7"/>
<instance part="GND18" gate="1" x="76.2" y="190.5"/>
<instance part="GND41" gate="1" x="144.78" y="190.5"/>
<instance part="JP3" gate="G$1" x="53.34" y="241.3" rot="R270"/>
<instance part="P+29" gate="1" x="43.18" y="246.38"/>
<instance part="R8" gate="G$1" x="50.8" y="220.98" rot="R90"/>
<instance part="R2" gate="G$1" x="147.32" y="254" rot="R90"/>
<instance part="R7" gate="G$1" x="154.94" y="254" rot="R90"/>
<instance part="P+6" gate="1" x="147.32" y="266.7"/>
<instance part="P+7" gate="1" x="154.94" y="266.7"/>
<instance part="Q6" gate="G$1" x="88.9" y="76.2"/>
<instance part="R9" gate="G$1" x="76.2" y="76.2" rot="R180"/>
<instance part="P+8" gate="1" x="203.2" y="154.94"/>
<instance part="P+3" gate="1" x="162.56" y="45.72"/>
<instance part="P+9" gate="1" x="203.2" y="38.1"/>
<instance part="GND1" gate="1" x="162.56" y="22.86"/>
<instance part="GND3" gate="1" x="203.2" y="25.4"/>
<instance part="GND4" gate="1" x="132.08" y="55.88" rot="MR0"/>
<instance part="C1" gate="G$1" x="215.9" y="33.02"/>
<instance part="P+10" gate="1" x="215.9" y="38.1"/>
<instance part="GND5" gate="1" x="215.9" y="25.4"/>
<instance part="C2" gate="G$1" x="68.58" y="236.22"/>
<instance part="C3" gate="G$1" x="149.86" y="215.9"/>
<instance part="R10" gate="G$1" x="88.9" y="205.74" smashed="yes">
<attribute name="NAME" x="87.63" y="202.1586" size="1.778" layer="95"/>
<attribute name="VALUE" x="92.71" y="202.438" size="1.778" layer="96"/>
</instance>
<instance part="LED1" gate="G$1" x="83.82" y="200.66" smashed="yes">
<attribute name="NAME" x="82.296" y="201.168" size="1.778" layer="95" rot="R90"/>
<attribute name="VALUE" x="89.535" y="196.088" size="1.778" layer="96" rot="R90"/>
</instance>
<instance part="GND6" gate="1" x="83.82" y="190.5"/>
<instance part="U$1" gate="G$1" x="10.16" y="7.62"/>
<instance part="U$2" gate="G$1" x="287.02" y="231.14"/>
<instance part="LED4" gate="G$1" x="330.2" y="243.84"/>
<instance part="LED5" gate="G$1" x="320.04" y="231.14"/>
<instance part="R11" gate="G$1" x="330.2" y="254" rot="R90"/>
<instance part="R13" gate="G$1" x="320.04" y="218.44" rot="R90"/>
<instance part="+3V1" gate="G$1" x="264.16" y="266.7"/>
<instance part="GND9" gate="1" x="307.34" y="198.12"/>
<instance part="GND10" gate="1" x="320.04" y="210.82"/>
<instance part="R14" gate="G$1" x="312.42" y="226.06" rot="R90"/>
<instance part="+3V3" gate="G$1" x="330.2" y="261.62"/>
<instance part="GND13" gate="1" x="312.42" y="210.82"/>
<instance part="JP19" gate="G$1" x="243.84" y="248.92" rot="R90"/>
<instance part="GND31" gate="1" x="251.46" y="241.3"/>
<instance part="LED7" gate="G$1" x="187.96" y="236.22"/>
<instance part="LED8" gate="G$1" x="195.58" y="236.22"/>
<instance part="Q7" gate="G$1" x="223.52" y="236.22" rot="MR270"/>
<instance part="R16" gate="G$1" x="215.9" y="241.3" rot="R90"/>
<instance part="+3V6" gate="G$1" x="223.52" y="254"/>
<instance part="R17" gate="G$1" x="231.14" y="241.3" rot="R90"/>
<instance part="P+12" gate="1" x="215.9" y="254"/>
<instance part="Q8" gate="G$1" x="223.52" y="200.66" rot="MR270"/>
<instance part="R18" gate="G$1" x="215.9" y="205.74" rot="R90"/>
<instance part="+3V8" gate="G$1" x="223.52" y="218.44"/>
<instance part="R19" gate="G$1" x="231.14" y="205.74" rot="R90"/>
<instance part="P+14" gate="1" x="215.9" y="218.44"/>
<instance part="P+15" gate="1" x="187.96" y="256.54"/>
<instance part="P+16" gate="1" x="195.58" y="256.54"/>
<instance part="R20" gate="G$1" x="187.96" y="246.38" rot="R90"/>
<instance part="R21" gate="G$1" x="195.58" y="246.38" rot="R90"/>
<instance part="+3V4" gate="G$1" x="332.74" y="172.72"/>
<instance part="R43" gate="G$1" x="279.4" y="162.56" rot="R90"/>
<instance part="C80" gate="G$1" x="332.74" y="165.1"/>
<instance part="L1" gate="G$1" x="248.92" y="167.64"/>
<instance part="L2" gate="G$1" x="248.92" y="157.48"/>
<instance part="V1" gate="G$1" x="261.62" y="162.56" rot="R90"/>
<instance part="D2" gate="G$1" x="269.24" y="162.56" smashed="yes" rot="R90">
<attribute name="NAME" x="274.32" y="159.5374" size="1.778" layer="95" rot="R180"/>
</instance>
<instance part="D1" gate="G$1" x="274.32" y="167.64" smashed="yes">
<attribute name="NAME" x="269.24" y="170.6626" size="1.778" layer="95"/>
<attribute name="VALUE" x="276.86" y="170.4086" size="1.778" layer="96"/>
</instance>
<instance part="C7" gate="G$1" x="294.64" y="165.1"/>
<instance part="LED9" gate="G$1" x="279.4" y="154.94"/>
<instance part="U4" gate="G$1" x="320.04" y="162.56"/>
<instance part="P+17" gate="1" x="294.64" y="172.72"/>
<instance part="GND14" gate="1" x="279.4" y="147.32"/>
<instance part="GND15" gate="1" x="269.24" y="154.94"/>
<instance part="GND16" gate="1" x="312.42" y="154.94"/>
<instance part="GND17" gate="1" x="294.64" y="157.48"/>
<instance part="GND19" gate="1" x="332.74" y="157.48"/>
<instance part="IC1" gate="A1" x="312.42" y="144.78"/>
<instance part="C4" gate="G$1" x="332.74" y="142.24"/>
<instance part="GND21" gate="1" x="332.74" y="134.62"/>
<instance part="P+18" gate="1" x="332.74" y="149.86"/>
<instance part="GND22" gate="1" x="312.42" y="134.62"/>
<instance part="R22" gate="G$1" x="175.26" y="38.1" rot="R90"/>
<instance part="LED10" gate="G$1" x="175.26" y="30.48"/>
<instance part="GND23" gate="1" x="175.26" y="22.86"/>
<instance part="+3V5" gate="G$1" x="175.26" y="45.72"/>
<instance part="GND11" gate="1" x="203.2" y="63.5" rot="MR0"/>
<instance part="IC2" gate="A1" x="312.42" y="121.92"/>
<instance part="C5" gate="G$1" x="332.74" y="119.38"/>
<instance part="GND20" gate="1" x="332.74" y="111.76"/>
<instance part="GND24" gate="1" x="312.42" y="111.76"/>
<instance part="U5" gate="G$1" x="180.34" y="132.08" smashed="yes" rot="MR0">
<attribute name="NAME" x="175.26" y="139.065" size="1.778" layer="95" rot="R180"/>
<attribute name="VALUE" x="175.26" y="127" size="1.778" layer="96" rot="R270"/>
</instance>
<instance part="P+11" gate="1" x="180.34" y="154.94" rot="MR0"/>
<instance part="GND25" gate="1" x="180.34" y="114.3" rot="MR0"/>
<instance part="R12" gate="G$1" x="193.04" y="129.54" smashed="yes">
<attribute name="NAME" x="189.23" y="131.0386" size="1.778" layer="95"/>
<attribute name="VALUE" x="194.31" y="126.238" size="1.778" layer="96"/>
</instance>
<instance part="C6" gate="G$1" x="187.96" y="124.46"/>
<instance part="GND26" gate="1" x="187.96" y="114.3" rot="MR0"/>
<instance part="R15" gate="G$1" x="167.64" y="124.46" smashed="yes" rot="R90">
<attribute name="NAME" x="166.1414" y="125.73" size="1.778" layer="95" rot="R90"/>
<attribute name="VALUE" x="170.942" y="125.73" size="1.778" layer="96" rot="R90"/>
</instance>
<instance part="C8" gate="G$1" x="157.48" y="124.46" smashed="yes">
<attribute name="NAME" x="158.496" y="125.095" size="1.778" layer="95"/>
<attribute name="VALUE" x="158.496" y="120.269" size="1.778" layer="96"/>
</instance>
<instance part="GND27" gate="1" x="167.64" y="114.3" rot="MR0"/>
<instance part="GND28" gate="1" x="157.48" y="114.3" rot="MR0"/>
<instance part="TX2" gate="G$1" x="274.32" y="91.44"/>
<instance part="RX2" gate="G$1" x="284.48" y="91.44"/>
<instance part="R23" gate="G$1" x="284.48" y="99.06" rot="R90"/>
<instance part="R25" gate="G$1" x="274.32" y="99.06" rot="R90"/>
<instance part="GND29" gate="1" x="320.04" y="63.5"/>
<instance part="U2" gate="G$1" x="307.34" y="76.2"/>
<instance part="R32" gate="G$1" x="337.82" y="76.2" rot="R90"/>
<instance part="P+1" gate="1" x="284.48" y="109.22"/>
<instance part="P+5" gate="1" x="320.04" y="99.06"/>
<instance part="C9" gate="G$1" x="226.06" y="33.02"/>
<instance part="GND2" gate="1" x="226.06" y="25.4"/>
<instance part="P+19" gate="1" x="226.06" y="38.1"/>
<instance part="C10" gate="G$1" x="350.52" y="259.08"/>
<instance part="C11" gate="G$1" x="340.36" y="259.08"/>
<instance part="+3V2" gate="G$1" x="340.36" y="266.7"/>
<instance part="GND30" gate="1" x="340.36" y="248.92"/>
</instances>
<busses>
</busses>
<nets>
<net name="GND" class="0">
<segment>
<pinref part="CASE1" gate="G$3" pin="4"/>
<wire x1="208.28" y1="137.16" x2="203.2" y2="137.16" width="0.1524" layer="91"/>
<pinref part="GND7" gate="1" pin="GND"/>
<wire x1="203.2" y1="116.84" x2="203.2" y2="137.16" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="U7" gate="G$1" pin="GND"/>
<pinref part="GND8" gate="1" pin="GND"/>
<wire x1="68.58" y1="96.52" x2="68.58" y2="101.6" width="0.1524" layer="91"/>
<wire x1="68.58" y1="101.6" x2="66.04" y2="101.6" width="0.1524" layer="91"/>
<wire x1="68.58" y1="101.6" x2="68.58" y2="147.32" width="0.1524" layer="91"/>
<pinref part="U7" gate="G$1" pin="EN"/>
<wire x1="68.58" y1="147.32" x2="66.04" y2="147.32" width="0.1524" layer="91"/>
<junction x="68.58" y="101.6"/>
</segment>
<segment>
<pinref part="Q5" gate="G$1" pin="S"/>
<pinref part="GND12" gate="1" pin="GND"/>
<pinref part="Q3" gate="G$1" pin="S"/>
<wire x1="104.14" y1="35.56" x2="104.14" y2="15.24" width="0.1524" layer="91"/>
<wire x1="104.14" y1="15.24" x2="109.22" y2="15.24" width="0.1524" layer="91"/>
<pinref part="Q4" gate="G$1" pin="S"/>
<wire x1="109.22" y1="15.24" x2="114.3" y2="15.24" width="0.1524" layer="91"/>
<wire x1="109.22" y1="25.4" x2="109.22" y2="15.24" width="0.1524" layer="91"/>
<pinref part="Q2" gate="G$1" pin="S"/>
<wire x1="99.06" y1="48.26" x2="99.06" y2="15.24" width="0.1524" layer="91"/>
<wire x1="99.06" y1="15.24" x2="104.14" y2="15.24" width="0.1524" layer="91"/>
<pinref part="Q1" gate="G$1" pin="S"/>
<wire x1="93.98" y1="60.96" x2="93.98" y2="15.24" width="0.1524" layer="91"/>
<wire x1="93.98" y1="15.24" x2="99.06" y2="15.24" width="0.1524" layer="91"/>
<junction x="99.06" y="15.24"/>
<junction x="104.14" y="15.24"/>
<junction x="109.22" y="15.24"/>
<junction x="114.3" y="15.24"/>
<pinref part="Q6" gate="G$1" pin="S"/>
<wire x1="88.9" y1="71.12" x2="88.9" y2="15.24" width="0.1524" layer="91"/>
<wire x1="88.9" y1="15.24" x2="93.98" y2="15.24" width="0.1524" layer="91"/>
<junction x="93.98" y="15.24"/>
</segment>
<segment>
<pinref part="GND18" gate="1" pin="GND"/>
<wire x1="76.2" y1="193.04" x2="76.2" y2="223.52" width="0.1524" layer="91"/>
<pinref part="U8" gate="G$1" pin="VSS1"/>
<wire x1="76.2" y1="223.52" x2="76.2" y2="231.14" width="0.1524" layer="91"/>
<wire x1="76.2" y1="231.14" x2="76.2" y2="241.3" width="0.1524" layer="91"/>
<wire x1="76.2" y1="241.3" x2="93.98" y2="241.3" width="0.1524" layer="91"/>
<pinref part="JP3" gate="G$1" pin="3"/>
<wire x1="53.34" y1="233.68" x2="53.34" y2="223.52" width="0.1524" layer="91"/>
<wire x1="53.34" y1="223.52" x2="76.2" y2="223.52" width="0.1524" layer="91"/>
<junction x="76.2" y="223.52"/>
<pinref part="C2" gate="G$1" pin="2"/>
<wire x1="68.58" y1="231.14" x2="76.2" y2="231.14" width="0.1524" layer="91"/>
<junction x="76.2" y="231.14"/>
</segment>
<segment>
<pinref part="GND41" gate="1" pin="GND"/>
<wire x1="144.78" y1="193.04" x2="144.78" y2="210.82" width="0.1524" layer="91"/>
<pinref part="U8" gate="G$1" pin="VSS2"/>
<wire x1="144.78" y1="210.82" x2="144.78" y2="220.98" width="0.1524" layer="91"/>
<wire x1="144.78" y1="220.98" x2="127" y2="220.98" width="0.1524" layer="91"/>
<pinref part="C3" gate="G$1" pin="2"/>
<wire x1="149.86" y1="210.82" x2="144.78" y2="210.82" width="0.1524" layer="91"/>
<junction x="144.78" y="210.82"/>
</segment>
<segment>
<pinref part="LED3" gate="G$1" pin="C"/>
<pinref part="GND1" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C40" gate="G$1" pin="2"/>
<pinref part="GND3" gate="1" pin="GND"/>
</segment>
<segment>
<wire x1="132.08" y1="58.42" x2="132.08" y2="119.38" width="0.1524" layer="91"/>
<wire x1="132.08" y1="119.38" x2="132.08" y2="124.46" width="0.1524" layer="91"/>
<wire x1="132.08" y1="124.46" x2="132.08" y2="129.54" width="0.1524" layer="91"/>
<wire x1="132.08" y1="129.54" x2="132.08" y2="134.62" width="0.1524" layer="91"/>
<wire x1="132.08" y1="134.62" x2="132.08" y2="139.7" width="0.1524" layer="91"/>
<wire x1="132.08" y1="139.7" x2="132.08" y2="144.78" width="0.1524" layer="91"/>
<wire x1="137.16" y1="144.78" x2="132.08" y2="144.78" width="0.1524" layer="91"/>
<wire x1="137.16" y1="139.7" x2="132.08" y2="139.7" width="0.1524" layer="91"/>
<junction x="132.08" y="139.7"/>
<wire x1="137.16" y1="134.62" x2="132.08" y2="134.62" width="0.1524" layer="91"/>
<junction x="132.08" y="134.62"/>
<wire x1="137.16" y1="129.54" x2="132.08" y2="129.54" width="0.1524" layer="91"/>
<junction x="132.08" y="129.54"/>
<wire x1="137.16" y1="124.46" x2="132.08" y2="124.46" width="0.1524" layer="91"/>
<junction x="132.08" y="124.46"/>
<wire x1="137.16" y1="119.38" x2="132.08" y2="119.38" width="0.1524" layer="91"/>
<junction x="132.08" y="119.38"/>
<pinref part="CASE1" gate="G$1" pin="1"/>
<pinref part="CASE1" gate="G$1" pin="3"/>
<pinref part="CASE1" gate="G$1" pin="5"/>
<pinref part="CASE1" gate="G$1" pin="7"/>
<pinref part="CASE1" gate="G$1" pin="9"/>
<pinref part="CASE1" gate="G$1" pin="11"/>
<pinref part="GND4" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C1" gate="G$1" pin="2"/>
<pinref part="GND5" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="LED1" gate="G$1" pin="C"/>
<pinref part="GND6" gate="1" pin="GND"/>
<wire x1="83.82" y1="195.58" x2="83.82" y2="193.04" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="GND2"/>
<pinref part="U$2" gate="G$1" pin="GND3"/>
<wire x1="307.34" y1="205.74" x2="307.34" y2="203.2" width="0.1524" layer="91"/>
<pinref part="GND9" gate="1" pin="GND"/>
<wire x1="307.34" y1="203.2" x2="307.34" y2="200.66" width="0.1524" layer="91"/>
<pinref part="U$2" gate="G$1" pin="GND"/>
<pinref part="U$2" gate="G$1" pin="GND1"/>
<wire x1="307.34" y1="215.9" x2="307.34" y2="213.36" width="0.1524" layer="91"/>
<wire x1="307.34" y1="213.36" x2="307.34" y2="205.74" width="0.1524" layer="91"/>
<junction x="307.34" y="213.36"/>
<junction x="307.34" y="205.74"/>
<junction x="307.34" y="203.2"/>
</segment>
<segment>
<pinref part="GND13" gate="1" pin="GND"/>
<pinref part="R14" gate="G$1" pin="1"/>
<wire x1="312.42" y1="213.36" x2="312.42" y2="220.98" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND10" gate="1" pin="GND"/>
<pinref part="R13" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="JP19" gate="G$1" pin="GND"/>
<pinref part="GND31" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="LED9" gate="G$1" pin="C"/>
<pinref part="GND14" gate="1" pin="GND"/>
</segment>
<segment>
<wire x1="256.54" y1="157.48" x2="261.62" y2="157.48" width="0.1524" layer="91"/>
<wire x1="261.62" y1="157.48" x2="269.24" y2="157.48" width="0.1524" layer="91"/>
<wire x1="269.24" y1="157.48" x2="269.24" y2="160.02" width="0.1524" layer="91"/>
<junction x="261.62" y="157.48"/>
<pinref part="V1" gate="G$1" pin="1"/>
<pinref part="D2" gate="G$1" pin="A"/>
<pinref part="L2" gate="G$1" pin="P$2"/>
<pinref part="GND15" gate="1" pin="GND"/>
<junction x="269.24" y="157.48"/>
</segment>
<segment>
<pinref part="U4" gate="G$1" pin="GND"/>
<pinref part="GND16" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C7" gate="G$1" pin="-"/>
<pinref part="GND17" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C80" gate="G$1" pin="-"/>
<pinref part="GND19" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C4" gate="G$1" pin="-"/>
<pinref part="GND21" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="IC1" gate="A1" pin="GND"/>
<pinref part="GND22" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="LED10" gate="G$1" pin="C"/>
<pinref part="GND23" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="CASE1" gate="G$4" pin="12"/>
<wire x1="208.28" y1="71.12" x2="203.2" y2="71.12" width="0.1524" layer="91"/>
<wire x1="203.2" y1="71.12" x2="203.2" y2="66.04" width="0.1524" layer="91"/>
<pinref part="GND11" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="C5" gate="G$1" pin="-"/>
<pinref part="GND20" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="IC2" gate="A1" pin="GND"/>
<pinref part="GND24" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="GND25" gate="1" pin="GND"/>
<pinref part="U5" gate="G$1" pin="V-"/>
<wire x1="180.34" y1="116.84" x2="180.34" y2="124.46" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="C6" gate="G$1" pin="2"/>
<pinref part="GND26" gate="1" pin="GND"/>
<wire x1="187.96" y1="119.38" x2="187.96" y2="116.84" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R15" gate="G$1" pin="1"/>
<pinref part="GND27" gate="1" pin="GND"/>
<wire x1="167.64" y1="119.38" x2="167.64" y2="116.84" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="C8" gate="G$1" pin="2"/>
<pinref part="GND28" gate="1" pin="GND"/>
<wire x1="157.48" y1="119.38" x2="157.48" y2="116.84" width="0.1524" layer="91"/>
</segment>
<segment>
<wire x1="320.04" y1="66.04" x2="320.04" y2="71.12" width="0.1524" layer="91"/>
<pinref part="GND29" gate="1" pin="GND"/>
<pinref part="U2" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="C9" gate="G$1" pin="2"/>
<pinref part="GND2" gate="1" pin="GND"/>
</segment>
<segment>
<pinref part="GND30" gate="1" pin="GND"/>
<pinref part="C11" gate="G$1" pin="-"/>
<wire x1="340.36" y1="251.46" x2="340.36" y2="254" width="0.1524" layer="91"/>
<pinref part="C10" gate="G$1" pin="2"/>
<wire x1="340.36" y1="254" x2="350.52" y2="254" width="0.1524" layer="91"/>
<junction x="340.36" y="254"/>
</segment>
</net>
<net name="N$25" class="0">
<segment>
<pinref part="R24" gate="G$1" pin="1"/>
<pinref part="LED3" gate="G$1" pin="A"/>
</segment>
</net>
<net name="+12V" class="0">
<segment>
<pinref part="P+2" gate="1" pin="+12V"/>
<wire x1="134.62" y1="154.94" x2="134.62" y2="99.06" width="0.1524" layer="91"/>
<wire x1="134.62" y1="99.06" x2="134.62" y2="93.98" width="0.1524" layer="91"/>
<wire x1="134.62" y1="93.98" x2="134.62" y2="88.9" width="0.1524" layer="91"/>
<wire x1="134.62" y1="88.9" x2="134.62" y2="83.82" width="0.1524" layer="91"/>
<wire x1="134.62" y1="83.82" x2="134.62" y2="78.74" width="0.1524" layer="91"/>
<wire x1="134.62" y1="78.74" x2="134.62" y2="73.66" width="0.1524" layer="91"/>
<wire x1="134.62" y1="73.66" x2="137.16" y2="73.66" width="0.1524" layer="91"/>
<wire x1="137.16" y1="78.74" x2="134.62" y2="78.74" width="0.1524" layer="91"/>
<wire x1="134.62" y1="83.82" x2="137.16" y2="83.82" width="0.1524" layer="91"/>
<junction x="134.62" y="78.74"/>
<junction x="134.62" y="83.82"/>
<wire x1="134.62" y1="88.9" x2="137.16" y2="88.9" width="0.1524" layer="91"/>
<wire x1="134.62" y1="93.98" x2="137.16" y2="93.98" width="0.1524" layer="91"/>
<junction x="134.62" y="93.98"/>
<junction x="134.62" y="88.9"/>
<pinref part="CASE1" gate="G$2" pin="3"/>
<pinref part="CASE1" gate="G$2" pin="5"/>
<pinref part="CASE1" gate="G$2" pin="7"/>
<pinref part="CASE1" gate="G$2" pin="9"/>
<pinref part="CASE1" gate="G$2" pin="11"/>
<pinref part="CASE1" gate="G$2" pin="1"/>
<wire x1="134.62" y1="99.06" x2="137.16" y2="99.06" width="0.1524" layer="91"/>
<junction x="134.62" y="99.06"/>
</segment>
<segment>
<junction x="279.4" y="167.64"/>
<pinref part="R43" gate="G$1" pin="2"/>
<wire x1="276.86" y1="167.64" x2="279.4" y2="167.64" width="0.1524" layer="91"/>
<pinref part="D1" gate="G$1" pin="C"/>
<pinref part="C7" gate="G$1" pin="+"/>
<wire x1="279.4" y1="167.64" x2="294.64" y2="167.64" width="0.1524" layer="91"/>
<junction x="294.64" y="167.64"/>
<pinref part="U4" gate="G$1" pin="IN"/>
<wire x1="294.64" y1="167.64" x2="299.72" y2="167.64" width="0.1524" layer="91"/>
<pinref part="P+17" gate="1" pin="+12V"/>
<wire x1="294.64" y1="167.64" x2="294.64" y2="170.18" width="0.1524" layer="91"/>
<pinref part="IC1" gate="A1" pin="VI"/>
<wire x1="302.26" y1="144.78" x2="299.72" y2="144.78" width="0.1524" layer="91"/>
<wire x1="299.72" y1="144.78" x2="299.72" y2="167.64" width="0.1524" layer="91"/>
<junction x="299.72" y="167.64"/>
<pinref part="IC2" gate="A1" pin="VI"/>
<wire x1="302.26" y1="121.92" x2="299.72" y2="121.92" width="0.1524" layer="91"/>
<wire x1="299.72" y1="121.92" x2="299.72" y2="144.78" width="0.1524" layer="91"/>
<junction x="299.72" y="144.78"/>
</segment>
</net>
<net name="+5V" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="VCC"/>
<wire x1="35.56" y1="147.32" x2="33.02" y2="147.32" width="0.1524" layer="91"/>
<pinref part="P+4" gate="1" pin="+5V"/>
<wire x1="33.02" y1="147.32" x2="33.02" y2="152.4" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="P+13" gate="1" pin="+5V"/>
<wire x1="88.9" y1="264.16" x2="88.9" y2="238.76" width="0.1524" layer="91"/>
<pinref part="U8" gate="G$1" pin="VDD1"/>
<wire x1="88.9" y1="238.76" x2="93.98" y2="238.76" width="0.1524" layer="91"/>
<pinref part="C2" gate="G$1" pin="1"/>
<wire x1="68.58" y1="238.76" x2="88.9" y2="238.76" width="0.1524" layer="91"/>
<junction x="88.9" y="238.76"/>
</segment>
<segment>
<pinref part="P+25" gate="1" pin="+5V"/>
<wire x1="139.7" y1="264.16" x2="139.7" y2="218.44" width="0.1524" layer="91"/>
<pinref part="U8" gate="G$1" pin="VDD2"/>
<wire x1="139.7" y1="218.44" x2="127" y2="218.44" width="0.1524" layer="91"/>
<pinref part="C3" gate="G$1" pin="1"/>
<wire x1="139.7" y1="218.44" x2="149.86" y2="218.44" width="0.1524" layer="91"/>
<junction x="139.7" y="218.44"/>
</segment>
<segment>
<wire x1="43.18" y1="226.06" x2="43.18" y2="243.84" width="0.1524" layer="91"/>
<pinref part="P+29" gate="1" pin="+5V"/>
<wire x1="43.18" y1="226.06" x2="50.8" y2="226.06" width="0.1524" layer="91"/>
<pinref part="JP3" gate="G$1" pin="2"/>
<wire x1="50.8" y1="226.06" x2="50.8" y2="233.68" width="0.1524" layer="91"/>
<pinref part="R8" gate="G$1" pin="2"/>
<junction x="50.8" y="226.06"/>
</segment>
<segment>
<pinref part="R2" gate="G$1" pin="2"/>
<pinref part="P+6" gate="1" pin="+5V"/>
<wire x1="147.32" y1="264.16" x2="147.32" y2="259.08" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R7" gate="G$1" pin="2"/>
<pinref part="P+7" gate="1" pin="+5V"/>
<wire x1="154.94" y1="264.16" x2="154.94" y2="259.08" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="P+8" gate="1" pin="+5V"/>
<wire x1="203.2" y1="152.4" x2="203.2" y2="139.7" width="0.1524" layer="91"/>
<pinref part="CASE1" gate="G$3" pin="3"/>
<wire x1="203.2" y1="139.7" x2="208.28" y2="139.7" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R24" gate="G$1" pin="2"/>
<pinref part="P+3" gate="1" pin="+5V"/>
</segment>
<segment>
<pinref part="C40" gate="G$1" pin="1"/>
<pinref part="P+9" gate="1" pin="+5V"/>
</segment>
<segment>
<pinref part="C1" gate="G$1" pin="1"/>
<pinref part="P+10" gate="1" pin="+5V"/>
</segment>
<segment>
<pinref part="R16" gate="G$1" pin="2"/>
<pinref part="P+12" gate="1" pin="+5V"/>
<wire x1="215.9" y1="251.46" x2="215.9" y2="246.38" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R18" gate="G$1" pin="2"/>
<pinref part="P+14" gate="1" pin="+5V"/>
<wire x1="215.9" y1="215.9" x2="215.9" y2="210.82" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="P+15" gate="1" pin="+5V"/>
<pinref part="R20" gate="G$1" pin="2"/>
<wire x1="187.96" y1="251.46" x2="187.96" y2="254" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="P+16" gate="1" pin="+5V"/>
<pinref part="R21" gate="G$1" pin="2"/>
<wire x1="195.58" y1="251.46" x2="195.58" y2="254" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="IC1" gate="A1" pin="VO"/>
<pinref part="C4" gate="G$1" pin="+"/>
<wire x1="322.58" y1="144.78" x2="332.74" y2="144.78" width="0.1524" layer="91"/>
<pinref part="P+18" gate="1" pin="+5V"/>
<wire x1="332.74" y1="147.32" x2="332.74" y2="144.78" width="0.1524" layer="91"/>
<junction x="332.74" y="144.78"/>
</segment>
<segment>
<pinref part="U5" gate="G$1" pin="V+"/>
<pinref part="P+11" gate="1" pin="+5V"/>
<wire x1="180.34" y1="139.7" x2="180.34" y2="152.4" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R23" gate="G$1" pin="2"/>
<wire x1="284.48" y1="106.68" x2="284.48" y2="104.14" width="0.1524" layer="91"/>
<pinref part="R25" gate="G$1" pin="2"/>
<wire x1="274.32" y1="104.14" x2="284.48" y2="104.14" width="0.1524" layer="91"/>
<junction x="284.48" y="104.14"/>
<pinref part="P+1" gate="1" pin="+5V"/>
</segment>
<segment>
<wire x1="320.04" y1="96.52" x2="320.04" y2="78.74" width="0.1524" layer="91"/>
<pinref part="U2" gate="G$1" pin="VCC"/>
<pinref part="P+5" gate="1" pin="+5V"/>
</segment>
<segment>
<pinref part="C9" gate="G$1" pin="1"/>
<pinref part="P+19" gate="1" pin="+5V"/>
</segment>
</net>
<net name="B1" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN1"/>
<wire x1="66.04" y1="142.24" x2="137.16" y2="142.24" width="0.1524" layer="91"/>

<pinref part="CASE1" gate="G$1" pin="2"/>
</segment>
</net>
<net name="B2" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN2"/>
<wire x1="137.16" y1="137.16" x2="66.04" y2="137.16" width="0.1524" layer="91"/>

<pinref part="CASE1" gate="G$1" pin="4"/>
</segment>
</net>
<net name="BSAVE" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN3"/>
<wire x1="137.16" y1="132.08" x2="66.04" y2="132.08" width="0.1524" layer="91"/>

<pinref part="CASE1" gate="G$1" pin="6"/>
</segment>
</net>
<net name="BREAK" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN4"/>
<wire x1="137.16" y1="127" x2="66.04" y2="127" width="0.1524" layer="91"/>

<pinref part="CASE1" gate="G$1" pin="8"/>
</segment>
</net>
<net name="START" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN5"/>
<wire x1="137.16" y1="121.92" x2="66.04" y2="121.92" width="0.1524" layer="91"/>

<pinref part="CASE1" gate="G$1" pin="10"/>
</segment>
</net>
<net name="BMSL" class="0">
<segment>
<pinref part="Q1" gate="G$1" pin="D"/>

<wire x1="93.98" y1="91.44" x2="93.98" y2="71.12" width="0.1524" layer="91"/>
<wire x1="137.16" y1="91.44" x2="93.98" y2="91.44" width="0.1524" layer="91"/>
<pinref part="CASE1" gate="G$2" pin="4"/>
</segment>
</net>
<net name="IMDL" class="0">
<segment>
<pinref part="Q2" gate="G$1" pin="D"/>

<wire x1="99.06" y1="86.36" x2="99.06" y2="58.42" width="0.1524" layer="91"/>
<wire x1="137.16" y1="86.36" x2="99.06" y2="86.36" width="0.1524" layer="91"/>
<pinref part="CASE1" gate="G$2" pin="6"/>
</segment>
</net>
<net name="PWSL" class="0">
<segment>
<pinref part="Q3" gate="G$1" pin="D"/>
<wire x1="104.14" y1="45.72" x2="104.14" y2="81.28" width="0.1524" layer="91"/>

<wire x1="137.16" y1="81.28" x2="104.14" y2="81.28" width="0.1524" layer="91"/>
<pinref part="CASE1" gate="G$2" pin="8"/>
</segment>
</net>
<net name="B1L" class="0">
<segment>
<pinref part="Q4" gate="G$1" pin="D"/>
<wire x1="109.22" y1="35.56" x2="109.22" y2="76.2" width="0.1524" layer="91"/>

<wire x1="137.16" y1="76.2" x2="109.22" y2="76.2" width="0.1524" layer="91"/>
<pinref part="CASE1" gate="G$2" pin="10"/>
</segment>
</net>
<net name="B2L" class="0">
<segment>
<pinref part="Q5" gate="G$1" pin="D"/>
<wire x1="114.3" y1="25.4" x2="114.3" y2="71.12" width="0.1524" layer="91"/>

<wire x1="137.16" y1="71.12" x2="114.3" y2="71.12" width="0.1524" layer="91"/>
<pinref part="CASE1" gate="G$2" pin="12"/>
</segment>
</net>
<net name="N$16" class="0">
<segment>
<pinref part="Q1" gate="G$1" pin="G"/>
<pinref part="R1" gate="G$1" pin="1"/>
<wire x1="81.28" y1="66.04" x2="86.36" y2="66.04" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$20" class="0">
<segment>
<pinref part="Q2" gate="G$1" pin="G"/>
<pinref part="R3" gate="G$1" pin="1"/>
<wire x1="91.44" y1="53.34" x2="81.28" y2="53.34" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$21" class="0">
<segment>
<pinref part="Q3" gate="G$1" pin="G"/>
<pinref part="R4" gate="G$1" pin="1"/>
<wire x1="96.52" y1="40.64" x2="81.28" y2="40.64" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$22" class="0">
<segment>
<pinref part="Q4" gate="G$1" pin="G"/>
<pinref part="R5" gate="G$1" pin="1"/>
<wire x1="101.6" y1="30.48" x2="81.28" y2="30.48" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$23" class="0">
<segment>
<pinref part="Q5" gate="G$1" pin="G"/>
<pinref part="R6" gate="G$1" pin="1"/>
<wire x1="106.68" y1="20.32" x2="81.28" y2="20.32" width="0.1524" layer="91"/>
</segment>
</net>
<net name="RX1" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RC7"/>
<wire x1="93.98" y1="254" x2="78.74" y2="254" width="0.1524" layer="91"/>

</segment>
<segment>
<wire x1="284.48" y1="78.74" x2="264.16" y2="78.74" width="0.1524" layer="91"/>

<pinref part="RX2" gate="G$1" pin="C"/>
<wire x1="284.48" y1="86.36" x2="284.48" y2="78.74" width="0.1524" layer="91"/>
<wire x1="284.48" y1="78.74" x2="294.64" y2="78.74" width="0.1524" layer="91"/>
<junction x="284.48" y="78.74"/>
<pinref part="U2" gate="G$1" pin="R"/>
</segment>
</net>
<net name="N$40" class="0">
<segment>
<pinref part="JP3" gate="G$1" pin="4"/>
<wire x1="55.88" y1="233.68" x2="55.88" y2="218.44" width="0.1524" layer="91"/>
<pinref part="U8" gate="G$1" pin="PGD/RB7"/>
<wire x1="55.88" y1="218.44" x2="93.98" y2="218.44" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$43" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="PGC/RB6"/>
<pinref part="JP3" gate="G$1" pin="5"/>
<wire x1="93.98" y1="220.98" x2="58.42" y2="220.98" width="0.1524" layer="91"/>
<wire x1="58.42" y1="220.98" x2="58.42" y2="233.68" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$46" class="0">
<segment>
<pinref part="JP3" gate="G$1" pin="1"/>
<wire x1="48.26" y1="233.68" x2="48.26" y2="215.9" width="0.1524" layer="91"/>
<wire x1="48.26" y1="215.9" x2="50.8" y2="215.9" width="0.1524" layer="91"/>
<pinref part="U8" gate="G$1" pin="!MCLR"/>
<pinref part="R8" gate="G$1" pin="1"/>
<wire x1="50.8" y1="215.9" x2="93.98" y2="215.9" width="0.1524" layer="91"/>
<junction x="50.8" y="215.9"/>
</segment>
</net>
<net name="TX1" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RC6"/>
<wire x1="127" y1="254" x2="137.16" y2="254" width="0.1524" layer="91"/>

</segment>
<segment>
<wire x1="294.64" y1="71.12" x2="274.32" y2="71.12" width="0.1524" layer="91"/>

<pinref part="TX2" gate="G$1" pin="C"/>
<wire x1="274.32" y1="71.12" x2="264.16" y2="71.12" width="0.1524" layer="91"/>
<wire x1="274.32" y1="71.12" x2="274.32" y2="86.36" width="0.1524" layer="91"/>
<junction x="274.32" y="71.12"/>
<pinref part="U2" gate="G$1" pin="D"/>
</segment>
</net>
<net name="O1" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT1"/>
<wire x1="35.56" y1="142.24" x2="25.4" y2="142.24" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RD5"/>
<wire x1="93.98" y1="248.92" x2="78.74" y2="248.92" width="0.1524" layer="91"/>

</segment>
</net>
<net name="O2" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT2"/>
<wire x1="35.56" y1="137.16" x2="25.4" y2="137.16" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RB0"/>
<wire x1="93.98" y1="236.22" x2="81.28" y2="236.22" width="0.1524" layer="91"/>

</segment>
</net>
<net name="O3" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT3"/>
<wire x1="35.56" y1="132.08" x2="25.4" y2="132.08" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RB1"/>
<wire x1="93.98" y1="233.68" x2="81.28" y2="233.68" width="0.1524" layer="91"/>

</segment>
</net>
<net name="O4" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT4"/>
<wire x1="35.56" y1="127" x2="25.4" y2="127" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RB2"/>
<wire x1="93.98" y1="231.14" x2="81.28" y2="231.14" width="0.1524" layer="91"/>

</segment>
</net>
<net name="O5" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT5"/>
<wire x1="35.56" y1="121.92" x2="25.4" y2="121.92" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RB4"/>
<wire x1="93.98" y1="226.06" x2="81.28" y2="226.06" width="0.1524" layer="91"/>

</segment>
</net>
<net name="O6" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT6"/>
<wire x1="35.56" y1="116.84" x2="25.4" y2="116.84" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RA0"/>
<wire x1="93.98" y1="213.36" x2="83.82" y2="213.36" width="0.1524" layer="91"/>

</segment>
</net>
<net name="O7" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT7"/>
<wire x1="35.56" y1="111.76" x2="25.4" y2="111.76" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RA1"/>
<wire x1="93.98" y1="210.82" x2="83.82" y2="210.82" width="0.1524" layer="91"/>

</segment>
</net>
<net name="O8" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="OUT8"/>
<wire x1="35.56" y1="106.68" x2="25.4" y2="106.68" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RA2"/>
<wire x1="93.98" y1="208.28" x2="83.82" y2="208.28" width="0.1524" layer="91"/>

</segment>
</net>
<net name="SCL" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RC3"/>
<wire x1="127" y1="236.22" x2="154.94" y2="236.22" width="0.1524" layer="91"/>

<pinref part="R7" gate="G$1" pin="1"/>
<wire x1="154.94" y1="236.22" x2="154.94" y2="248.92" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="CASE1" gate="G$3" pin="2"/>
<wire x1="208.28" y1="142.24" x2="195.58" y2="142.24" width="0.1524" layer="91"/>

</segment>
</net>
<net name="SDA" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RC4"/>
<wire x1="127" y1="248.92" x2="147.32" y2="248.92" width="0.1524" layer="91"/>

<pinref part="R2" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="CASE1" gate="G$3" pin="1"/>
<wire x1="208.28" y1="144.78" x2="195.58" y2="144.78" width="0.1524" layer="91"/>

</segment>
</net>
<net name="LED0" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RB3"/>
<wire x1="93.98" y1="228.6" x2="81.28" y2="228.6" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="R5" gate="G$1" pin="2"/>
<wire x1="71.12" y1="30.48" x2="60.96" y2="30.48" width="0.1524" layer="91"/>

</segment>
</net>
<net name="LED1" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RB5"/>
<wire x1="93.98" y1="223.52" x2="81.28" y2="223.52" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="R6" gate="G$1" pin="2"/>
<wire x1="71.12" y1="20.32" x2="60.96" y2="20.32" width="0.1524" layer="91"/>

</segment>
</net>
<net name="LED2" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RD1"/>
<wire x1="127" y1="241.3" x2="137.16" y2="241.3" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="R4" gate="G$1" pin="2"/>
<wire x1="71.12" y1="40.64" x2="60.96" y2="40.64" width="0.1524" layer="91"/>

</segment>
</net>
<net name="LED3" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RE2"/>
<wire x1="127" y1="215.9" x2="137.16" y2="215.9" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="R9" gate="G$1" pin="2"/>
<wire x1="71.12" y1="76.2" x2="60.96" y2="76.2" width="0.1524" layer="91"/>

</segment>
</net>
<net name="N$4" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN6"/>
<pinref part="CASE1" gate="G$1" pin="12"/>
<wire x1="66.04" y1="116.84" x2="137.16" y2="116.84" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$5" class="0">
<segment>
<pinref part="Q6" gate="G$1" pin="D"/>
<wire x1="88.9" y1="81.28" x2="88.9" y2="96.52" width="0.1524" layer="91"/>
<pinref part="CASE1" gate="G$2" pin="2"/>
<wire x1="88.9" y1="96.52" x2="137.16" y2="96.52" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$7" class="0">
<segment>
<pinref part="Q6" gate="G$1" pin="G"/>
<pinref part="R9" gate="G$1" pin="1"/>
</segment>
</net>
<net name="LED5" class="0">
<segment>
<pinref part="R3" gate="G$1" pin="2"/>
<wire x1="71.12" y1="53.34" x2="60.96" y2="53.34" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RE0"/>
<wire x1="127" y1="210.82" x2="137.16" y2="210.82" width="0.1524" layer="91"/>

</segment>
</net>
<net name="LED4" class="0">
<segment>
<pinref part="R1" gate="G$1" pin="2"/>
<wire x1="71.12" y1="66.04" x2="60.96" y2="66.04" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RE1"/>
<wire x1="127" y1="213.36" x2="137.16" y2="213.36" width="0.1524" layer="91"/>

</segment>
</net>
<net name="TALK" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN7"/>
<wire x1="66.04" y1="111.76" x2="81.28" y2="111.76" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="CASE1" gate="G$3" pin="6"/>
<wire x1="208.28" y1="132.08" x2="195.58" y2="132.08" width="0.1524" layer="91"/>

</segment>
</net>
<net name="ACK" class="0">
<segment>
<pinref part="U7" gate="G$1" pin="IN8"/>
<wire x1="66.04" y1="106.68" x2="81.28" y2="106.68" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="CASE1" gate="G$3" pin="5"/>
<wire x1="208.28" y1="134.62" x2="195.58" y2="134.62" width="0.1524" layer="91"/>

</segment>
</net>
<net name="RS-A" class="0">
<segment>
<pinref part="CASE1" gate="G$4" pin="1"/>
<wire x1="208.28" y1="99.06" x2="195.58" y2="99.06" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U2" gate="G$1" pin="A"/>
<wire x1="320.04" y1="73.66" x2="330.2" y2="73.66" width="0.1524" layer="91"/>

<wire x1="330.2" y1="73.66" x2="330.2" y2="71.12" width="0.1524" layer="91"/>
<pinref part="R32" gate="G$1" pin="1"/>
<wire x1="330.2" y1="71.12" x2="337.82" y2="71.12" width="0.1524" layer="91"/>
</segment>
</net>
<net name="RS-B" class="0">
<segment>
<pinref part="CASE1" gate="G$4" pin="2"/>
<wire x1="208.28" y1="96.52" x2="195.58" y2="96.52" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="U2" gate="G$1" pin="B"/>
<wire x1="320.04" y1="76.2" x2="330.2" y2="76.2" width="0.1524" layer="91"/>

<wire x1="330.2" y1="76.2" x2="330.2" y2="81.28" width="0.1524" layer="91"/>
<pinref part="R32" gate="G$1" pin="2"/>
<wire x1="330.2" y1="81.28" x2="337.82" y2="81.28" width="0.1524" layer="91"/>
</segment>
</net>
<net name="RS-Z" class="0">
<segment>
<pinref part="CASE1" gate="G$4" pin="3"/>
<wire x1="208.28" y1="93.98" x2="195.58" y2="93.98" width="0.1524" layer="91"/>

</segment>
</net>
<net name="RS-Y" class="0">
<segment>
<pinref part="CASE1" gate="G$4" pin="4"/>
<wire x1="208.28" y1="91.44" x2="195.58" y2="91.44" width="0.1524" layer="91"/>

</segment>
</net>
<net name="+" class="0">
<segment>
<pinref part="CASE1" gate="G$4" pin="5"/>
<wire x1="208.28" y1="88.9" x2="195.58" y2="88.9" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="L1" gate="G$1" pin="P$1"/>
<wire x1="220.98" y1="167.64" x2="241.3" y2="167.64" width="0.1524" layer="91"/>

</segment>
</net>
<net name="-" class="0">
<segment>
<pinref part="CASE1" gate="G$4" pin="6"/>
<wire x1="208.28" y1="86.36" x2="195.58" y2="86.36" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="L2" gate="G$1" pin="P$1"/>
<wire x1="220.98" y1="157.48" x2="241.3" y2="157.48" width="0.1524" layer="91"/>

</segment>
</net>
<net name="N$1" class="0">
<segment>
<pinref part="R10" gate="G$1" pin="1"/>
<pinref part="LED1" gate="G$1" pin="A"/>
<wire x1="83.82" y1="205.74" x2="83.82" y2="203.2" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$2" class="0">
<segment>
<pinref part="R10" gate="G$1" pin="2"/>
<pinref part="U8" gate="G$1" pin="RA3"/>
</segment>
</net>
<net name="+3V3" class="0">
<segment>
<pinref part="+3V1" gate="G$1" pin="+3V3"/>
<wire x1="264.16" y1="264.16" x2="264.16" y2="259.08" width="0.1524" layer="91"/>
<pinref part="U$2" gate="G$1" pin="VDD"/>
<wire x1="264.16" y1="259.08" x2="266.7" y2="259.08" width="0.1524" layer="9

path: /Hardware/_Dashboard Display System (DDS) Done/Rev1/DDS_rev01.sch


text:
1"/>
</segment>
<segment>
<pinref part="R11" gate="G$1" pin="2"/>
<pinref part="+3V3" gate="G$1" pin="+3V3"/>
</segment>
<segment>
<pinref part="+3V6" gate="G$1" pin="+3V3"/>
<wire x1="223.52" y1="243.84" x2="223.52" y2="246.38" width="0.1524" layer="91"/>
<pinref part="Q7" gate="G$1" pin="G"/>
<pinref part="R17" gate="G$1" pin="2"/>
<wire x1="223.52" y1="246.38" x2="223.52" y2="251.46" width="0.1524" layer="91"/>
<wire x1="231.14" y1="246.38" x2="223.52" y2="246.38" width="0.1524" layer="91"/>
<junction x="223.52" y="246.38"/>
</segment>
<segment>
<pinref part="+3V8" gate="G$1" pin="+3V3"/>
<wire x1="223.52" y1="208.28" x2="223.52" y2="210.82" width="0.1524" layer="91"/>
<pinref part="Q8" gate="G$1" pin="G"/>
<pinref part="R19" gate="G$1" pin="2"/>
<wire x1="223.52" y1="210.82" x2="223.52" y2="215.9" width="0.1524" layer="91"/>
<wire x1="231.14" y1="210.82" x2="223.52" y2="210.82" width="0.1524" layer="91"/>
<junction x="223.52" y="210.82"/>
</segment>
<segment>
<pinref part="C80" gate="G$1" pin="+"/>
<pinref part="+3V4" gate="G$1" pin="+3V3"/>
<wire x1="332.74" y1="167.64" x2="332.74" y2="170.18" width="0.1524" layer="91"/>
<wire x1="325.12" y1="167.64" x2="332.74" y2="167.64" width="0.1524" layer="91"/>
<junction x="332.74" y="167.64"/>
<pinref part="U4" gate="G$1" pin="OUT"/>
</segment>
<segment>
<pinref part="R22" gate="G$1" pin="2"/>
<pinref part="+3V5" gate="G$1" pin="+3V3"/>
</segment>
<segment>
<pinref part="+3V2" gate="G$1" pin="+3V3"/>
<pinref part="C11" gate="G$1" pin="+"/>
<wire x1="340.36" y1="264.16" x2="340.36" y2="261.62" width="0.1524" layer="91"/>
<pinref part="C10" gate="G$1" pin="1"/>
<wire x1="340.36" y1="261.62" x2="350.52" y2="261.62" width="0.1524" layer="91"/>
<junction x="340.36" y="261.62"/>
</segment>
</net>
<net name="N$6" class="0">
<segment>
<pinref part="LED4" gate="G$1" pin="A"/>
<pinref part="R11" gate="G$1" pin="1"/>
<wire x1="330.2" y1="246.38" x2="330.2" y2="248.92" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$8" class="0">
<segment>
<pinref part="U$2" gate="G$1" pin="PIO5"/>
<pinref part="LED4" gate="G$1" pin="C"/>
<wire x1="307.34" y1="236.22" x2="330.2" y2="236.22" width="0.1524" layer="91"/>
<wire x1="330.2" y1="236.22" x2="330.2" y2="238.76" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$9" class="0">
<segment>
<pinref part="U$2" gate="G$1" pin="PIO2"/>
<wire x1="307.34" y1="243.84" x2="320.04" y2="243.84" width="0.1524" layer="91"/>
<pinref part="LED5" gate="G$1" pin="A"/>
<wire x1="320.04" y1="243.84" x2="320.04" y2="233.68" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$10" class="0">
<segment>
<pinref part="R14" gate="G$1" pin="2"/>
<wire x1="312.42" y1="231.14" x2="312.42" y2="238.76" width="0.1524" layer="91"/>
<pinref part="U$2" gate="G$1" pin="PIO4"/>
<wire x1="312.42" y1="238.76" x2="307.34" y2="238.76" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$12" class="0">
<segment>
<pinref part="U$2" gate="G$1" pin="UARTRX"/>
<wire x1="266.7" y1="236.22" x2="241.3" y2="236.22" width="0.1524" layer="91"/>
<wire x1="241.3" y1="236.22" x2="231.14" y2="236.22" width="0.1524" layer="91"/>
<pinref part="JP19" gate="G$1" pin="TXO"/>
<wire x1="241.3" y1="243.84" x2="241.3" y2="236.22" width="0.1524" layer="91"/>
<junction x="241.3" y="236.22"/>
<pinref part="R17" gate="G$1" pin="1"/>
<pinref part="Q7" gate="G$1" pin="S"/>
<wire x1="228.6" y1="236.22" x2="231.14" y2="236.22" width="0.1524" layer="91"/>
<junction x="231.14" y="236.22"/>
</segment>
</net>
<net name="N$13" class="0">
<segment>
<pinref part="R13" gate="G$1" pin="2"/>
<pinref part="LED5" gate="G$1" pin="C"/>
<wire x1="320.04" y1="223.52" x2="320.04" y2="226.06" width="0.1524" layer="91"/>
</segment>
</net>
<net name="TX2" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RD6"/>
<wire x1="93.98" y1="246.38" x2="78.74" y2="246.38" width="0.1524" layer="91"/>
<label x="78.74" y="246.38" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="R16" gate="G$1" pin="1"/>
<pinref part="Q7" gate="G$1" pin="D"/>
<wire x1="215.9" y1="236.22" x2="218.44" y2="236.22" width="0.1524" layer="91"/>
<wire x1="215.9" y1="236.22" x2="208.28" y2="236.22" width="0.1524" layer="91"/>
<wire x1="208.28" y1="236.22" x2="208.28" y2="226.06" width="0.1524" layer="91"/>
<junction x="215.9" y="236.22"/>
<pinref part="LED8" gate="G$1" pin="C"/>
<wire x1="195.58" y1="231.14" x2="195.58" y2="226.06" width="0.1524" layer="91"/>
<wire x1="195.58" y1="226.06" x2="208.28" y2="226.06" width="0.1524" layer="91"/>
<label x="200.66" y="226.06" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="CASE1" gate="G$4" pin="10"/>
<wire x1="208.28" y1="76.2" x2="195.58" y2="76.2" width="0.1524" layer="91"/>
<label x="195.58" y="76.2" size="1.778" layer="95"/>
</segment>
</net>
<net name="RX2" class="0">
<segment>
<pinref part="R18" gate="G$1" pin="1"/>
<pinref part="Q8" gate="G$1" pin="D"/>
<wire x1="215.9" y1="200.66" x2="218.44" y2="200.66" width="0.1524" layer="91"/>
<junction x="215.9" y="200.66"/>
<pinref part="LED7" gate="G$1" pin="C"/>
<wire x1="187.96" y1="231.14" x2="187.96" y2="223.52" width="0.1524" layer="91"/>
<wire x1="187.96" y1="223.52" x2="208.28" y2="223.52" width="0.1524" layer="91"/>
<wire x1="208.28" y1="223.52" x2="208.28" y2="200.66" width="0.1524" layer="91"/>
<wire x1="208.28" y1="200.66" x2="215.9" y2="200.66" width="0.1524" layer="91"/>
<label x="200.66" y="223.52" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="U8" gate="G$1" pin="RD7"/>
<wire x1="93.98" y1="243.84" x2="78.74" y2="243.84" width="0.1524" layer="91"/>
<label x="78.74" y="243.84" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="CASE1" gate="G$4" pin="9"/>
<wire x1="208.28" y1="78.74" x2="195.58" y2="78.74" width="0.1524" layer="91"/>
<label x="195.58" y="78.74" size="1.778" layer="95"/>
</segment>
</net>
<net name="N$17" class="0">
<segment>
<pinref part="LED7" gate="G$1" pin="A"/>
<pinref part="R20" gate="G$1" pin="1"/>
<wire x1="187.96" y1="238.76" x2="187.96" y2="241.3" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$18" class="0">
<segment>
<pinref part="LED8" gate="G$1" pin="A"/>
<pinref part="R21" gate="G$1" pin="1"/>
<wire x1="195.58" y1="238.76" x2="195.58" y2="241.3" width="0.1524" layer="91"/>
</segment>
</net>
<net name="GHT" class="0">
<segment>
<wire x1="269.24" y1="167.64" x2="269.24" y2="165.1" width="0.1524" layer="91"/>
<wire x1="261.62" y1="167.64" x2="269.24" y2="167.64" width="0.1524" layer="91"/>
<wire x1="256.54" y1="167.64" x2="261.62" y2="167.64" width="0.1524" layer="91"/>
<wire x1="269.24" y1="167.64" x2="271.78" y2="167.64" width="0.1524" layer="91"/>
<junction x="261.62" y="167.64"/>
<junction x="269.24" y="167.64"/>
<pinref part="D2" gate="G$1" pin="C"/>
<pinref part="V1" gate="G$1" pin="2"/>
<pinref part="L1" gate="G$1" pin="P$2"/>
<pinref part="D1" gate="G$1" pin="A"/>
</segment>
</net>
<net name="N$15" class="0">
<segment>
<pinref part="R43" gate="G$1" pin="1"/>
<pinref part="LED9" gate="G$1" pin="A"/>
</segment>
</net>
<net name="N$19" class="0">
<segment>
<pinref part="R22" gate="G$1" pin="1"/>
<pinref part="LED10" gate="G$1" pin="A"/>
</segment>
</net>
<net name="N$3" class="0">
<segment>
<pinref part="Q8" gate="G$1" pin="S"/>
<pinref part="R19" gate="G$1" pin="1"/>
<wire x1="228.6" y1="200.66" x2="231.14" y2="200.66" width="0.1524" layer="91"/>
<wire x1="231.14" y1="200.66" x2="238.76" y2="200.66" width="0.1524" layer="91"/>
<wire x1="238.76" y1="200.66" x2="238.76" y2="233.68" width="0.1524" layer="91"/>
<pinref part="U$2" gate="G$1" pin="UARTTX"/>
<wire x1="238.76" y1="233.68" x2="243.84" y2="233.68" width="0.1524" layer="91"/>
<pinref part="JP19" gate="G$1" pin="RXI"/>
<wire x1="243.84" y1="233.68" x2="266.7" y2="233.68" width="0.1524" layer="91"/>
<wire x1="243.84" y1="243.84" x2="243.84" y2="233.68" width="0.1524" layer="91"/>
<junction x="243.84" y="233.68"/>
<junction x="231.14" y="200.66"/>
</segment>
</net>
<net name="5V2" class="0">
<segment>
<pinref part="CASE1" gate="G$4" pin="11"/>
<wire x1="208.28" y1="73.66" x2="195.58" y2="73.66" width="0.1524" layer="91"/>
<label x="195.58" y="73.66" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="IC2" gate="A1" pin="VO"/>
<pinref part="C5" gate="G$1" pin="+"/>
<wire x1="322.58" y1="121.92" x2="332.74" y2="121.92" width="0.1524" layer="91"/>
<label x="327.66" y="121.92" size="1.778" layer="95"/>
</segment>
</net>
<net name="VOL" class="0">
<segment>
<pinref part="U8" gate="G$1" pin="RA5"/>
<wire x1="127" y1="208.28" x2="137.16" y2="208.28" width="0.1524" layer="91"/>
<label x="129.54" y="208.28" size="1.778" layer="95"/>
</segment>
<segment>
<pinref part="U5" gate="G$1" pin="-IN"/>
<wire x1="185.42" y1="134.62" x2="187.96" y2="134.62" width="0.1524" layer="91"/>
<wire x1="187.96" y1="134.62" x2="187.96" y2="142.24" width="0.1524" layer="91"/>
<wire x1="187.96" y1="142.24" x2="167.64" y2="142.24" width="0.1524" layer="91"/>
<wire x1="167.64" y1="142.24" x2="167.64" y2="132.08" width="0.1524" layer="91"/>
<pinref part="U5" gate="G$1" pin="OUT"/>
<wire x1="167.64" y1="132.08" x2="170.18" y2="132.08" width="0.1524" layer="91"/>
<wire x1="167.64" y1="132.08" x2="157.48" y2="132.08" width="0.1524" layer="91"/>
<pinref part="C8" gate="G$1" pin="1"/>
<wire x1="157.48" y1="132.08" x2="157.48" y2="127" width="0.1524" layer="91"/>
<pinref part="R15" gate="G$1" pin="2"/>
<wire x1="167.64" y1="129.54" x2="167.64" y2="132.08" width="0.1524" layer="91"/>
<junction x="167.64" y="132.08"/>
<junction x="167.64" y="132.08"/>
<label x="157.48" y="132.08" size="1.778" layer="95"/>
</segment>
</net>
<net name="N$24" class="0">
<segment>
<pinref part="CASE1" gate="G$3" pin="7"/>
<pinref part="R12" gate="G$1" pin="2"/>
<wire x1="208.28" y1="129.54" x2="198.12" y2="129.54" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$26" class="0">
<segment>
<pinref part="C6" gate="G$1" pin="1"/>
<wire x1="187.96" y1="127" x2="187.96" y2="129.54" width="0.1524" layer="91"/>
<pinref part="R12" gate="G$1" pin="1"/>
<pinref part="U5" gate="G$1" pin="+IN"/>
<wire x1="187.96" y1="129.54" x2="185.42" y2="129.54" width="0.1524" layer="91"/>
<junction x="187.96" y="129.54"/>
</segment>
</net>
<net name="N$31" class="0">
<segment>
<pinref part="TX2" gate="G$1" pin="A"/>
<pinref part="R25" gate="G$1" pin="1"/>
</segment>
</net>
<net name="N$32" class="0">
<segment>
<pinref part="R23" gate="G$1" pin="1"/>
<pinref part="RX2" gate="G$1" pin="A"/>
</segment>
</net>
<net name="U2-RE/DE" class="0">
<segment>
<pinref part="U2" gate="G$1" pin="!RE"/>
<pinref part="U2" gate="G$1" pin="DE"/>
<wire x1="294.64" y1="76.2" x2="294.64" y2="73.66" width="0.1524" layer="91"/>
<wire x1="294.64" y1="73.66" x2="281.94" y2="73.66" width="0.1524" layer="91"/>
<label x="281.94" y="73.66" size="1.778" layer="95"/>
<junction x="294.64" y="73.66"/>
</segment>
<segment>
<wire x1="137.16" y1="251.46" x2="127" y2="251.46" width="0.1524" layer="91"/>
<label x="127" y="251.46" size="1.778" layer="95"/>
<pinref part="U8" gate="G$1" pin="RC5"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>

license: MIT

url: https://raw.githubusercontent.com/uazipsev/EV15/39391424cb42ee39bacd893673be4e36b8d30b9f/Hardware/_Dashboard Display System (DDS) Done/Rev1/DDS_rev01.sch

license_type: permissive

branch_name: refs/heads/master

extension: sch


text:
#
# This file was derived from the 'Hello World!' example recipe in the
# Yocto Project Development Manual.
#

SUMMARY = "Simple temperatue application"
SECTION = "tempSensor"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

inherit pkgconfig cmake systemd

SYSTEMD_AUTO_ENABLE = "enable"
SYSTEMD_SERVICE_${PN} = "tempsensor.service"

SRC_URI =  "git://github.com/fpersson/tempSensor.git"
SRCREV = "454405c85f3acd36363546ac8ce671530a8ddf6a"
SRC_URI[sha256sum] = "e9588c6c831ac05bc2754810fb86fedaea60d90ccfe1e6f1fa77a067117153c1"

SRC_URI += "file://tempsensor.ini"
FILES_${PN} += "/etc/tempsensor.ini"

SRC_URI_append = " file://tempsensor.service "
FILES_${PN} += "${systemd_unitdir}/system/tempsensor.service"

#SRC_URI[md5sum] = "b9c6fffad4ab0f5a34ecc78d2bb5ecb7"

S = "${WORKDIR}/git"

DEPENDS += "sqlite3 mosquitto"

do_install() {
    install -d ${D}${bindir}
    install -m 0755 tempsensor ${D}${bindir}
    install -d ${D}/etc
    install -m 0644 ${WORKDIR}/tempsensor.ini ${D}/etc
    install -d ${D}/${systemd_unitdir}/system
    install -m 0644 ${WORKDIR}/tempsensor.service ${D}/${systemd_unitdir}/system
}

repository: fpersson/meta-fptest

repo_name: fpersson/meta-fptest

branch_name: refs/heads/main

extension: bb


text:
/*
 * Copyright (C) 2018 The DNA Authors
 * This file is part of The DNA library.
 *
 * The DNA is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * The DNA is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with The DNA.  If not, see <http://www.gnu.org/licenses/>.
 */

package neovm

import (
	"fmt"

	"github.com/dnaproject2/DNA/common"
	"github.com/dnaproject2/DNA/core/payload"
	"github.com/dnaproject2/DNA/errors"
	vm "github.com/dnaproject2/DNA/vm/neovm"
)

// ContractCreate create a new smart contract on blockchain, and put it to vm stack
func ContractCreate(service *NeoVmService, engine *vm.ExecutionEngine) error {
	contract, err := isContractParamValid(engine)
	if err != nil {
		return errors.NewDetailErr(err, errors.ErrNoCode, "[ContractCreate] contract parameters invalid!")
	}
	contractAddress := contract.Address()
	dep, err := service.CacheDB.GetContract(contractAddress)
	if err != nil {
		return errors.NewDetailErr(err, errors.ErrNoCode, "[ContractCreate] GetOrAdd error!")
	}
	if dep == nil {
		service.CacheDB.PutContract(contract)
		dep = contract
	}
	vm.PushData(engine, dep)
	return nil
}

// ContractMigrate migrate old smart contract to a new contract, and destroy old contract
func ContractMigrate(service *NeoVmService, engine *vm.ExecutionEngine) error {
	contract, err := isContractParamValid(engine)
	if err != nil {
		return errors.NewDetailErr(err, errors.ErrNoCode, "[ContractMigrate] contract parameters invalid!")
	}
	newAddr := contract.Address()

	if err := isContractExist(service, newAddr); err != nil {
		return errors.NewDetailErr(err, errors.ErrNoCode, "[ContractMigrate] contract invalid!")
	}
	context := service.ContextRef.CurrentContext()
	oldAddr := context.ContractAddress

	service.CacheDB.PutContract(contract)
	service.CacheDB.DeleteContract(oldAddr)

	iter := service.CacheDB.NewIterator(oldAddr[:])
	for has := iter.First(); has; has = iter.Next() {
		key := iter.Key()
		val := iter.Value()

		newKey := genStorageKey(newAddr, key[20:])
		service.CacheDB.Put(newKey, val)
		service.CacheDB.Delete(key)
	}
	iter.Release()
	if err := iter.Error(); err != nil {
		return err
	}

	vm.PushData(engine, contract)
	return nil
}

// ContractDestory destroy a contract
func ContractDestory(service *NeoVmService, engine *vm.ExecutionEngine) error {
	context := service.ContextRef.CurrentContext()
	if context == nil {
		return errors.NewErr("[ContractDestory] current contract context invalid!")
	}
	addr := context.ContractAddress
	contract, err := service.CacheDB.GetContract(addr)
	if err != nil || contract == nil {
		return errors.NewErr("[ContractDestory] get current contract fail!")
	}

	service.CacheDB.DeleteContract(addr)

	iter := service.CacheDB.NewIterator(addr[:])
	for has := iter.First(); has; has = iter.Next() {
		key := iter.Key()
		service.CacheDB.Delete(key)
	}
	iter.Release()
	if err := iter.Error(); err != nil {
		return err
	}

	return nil
}

// ContractGetStorageContext put contract storage context to vm stack
func ContractGetStorageContext(service *NeoVmService, engine *vm.ExecutionEngine) error {
	if vm.EvaluationStackCount(engine) < 1 {
		return errors.NewErr("[GetStorageContext] Too few input parameter!")
	}
	opInterface, err := vm.PopInteropInterface(engine)
	if err != nil {
		return err
	}
	if opInterface == nil {
		return errors.NewErr("[GetStorageContext] Pop data nil!")
	}
	contractState, ok := opInterface.(*payload.DeployCode)
	if !ok {
		return errors.NewErr("[GetStorageContext] Pop data not contract!")
	}
	address := contractState.Address()
	item, err := service.CacheDB.GetContract(address)
	if err != nil || item == nil {
		return errors.NewDetailErr(err, errors.ErrNoCode, "[GetStorageContext] Get StorageContext nil")
	}
	if address != service.ContextRef.CurrentContext().ContractAddress {
		return errors.NewErr("[GetStorageContext] CodeHash not equal!")
	}
	vm.PushData(engine, NewStorageContext(address))
	return nil
}

// ContractGetCode put contract to vm stack
func ContractGetCode(service *NeoVmService, engine *vm.ExecutionEngine) error {
	i, err := vm.PopInteropInterface(engine)
	if err != nil {
		return err
	}
	vm.PushData(engine, i.(*payload.DeployCode).Code)
	return nil
}

func isContractParamValid(engine *vm.ExecutionEngine) (*payload.DeployCode, error) {
	if vm.EvaluationStackCount(engine) < 7 {
		return nil, errors.NewErr("[Contract] Too few input parameters")
	}
	code, err := vm.PopByteArray(engine)
	if err != nil {
		return nil, err
	}
	if len(code) > 1024*1024 {
		return nil, errors.NewErr("[Contract] Code too long!")
	}
	needStorage, err := vm.PopBoolean(engine)
	if err != nil {
		return nil, err
	}
	name, err := vm.PopByteArray(engine)
	if err != nil {
		return nil, err
	}
	if len(name) > 252 {
		return nil, errors.NewErr("[Contract] Name too long!")
	}
	version, err := vm.PopByteArray(engine)
	if err != nil {
		return nil, err
	}
	if len(version) > 252 {
		return nil, errors.NewErr("[Contract] Version too long!")
	}
	author, err := vm.PopByteArray(engine)
	if err != nil {
		return nil, err
	}
	if len(author) > 252 {
		return nil, errors.NewErr("[Contract] Author too long!")
	}
	email, err := vm.PopByteArray(engine)
	if err != nil {
		return nil, err
	}
	if len(email) > 252 {
		return nil, errors.NewErr("[Contract] Email too long!")
	}
	desc, err := vm.PopByteArray(engine)
	if err != nil {
		return nil, err
	}
	if len(desc) > 65536 {
		return nil, errors.NewErr("[Contract] Desc too long!")
	}
	contract := &payload.DeployCode{
		Code:        code,
		NeedStorage: needStorage,
		Name:        string(name),
		Version:     string(version),
		Author:      string(author),
		Email:       string(email),
		Description: string(desc),
	}
	return contract, nil
}

func isContractExist(service *NeoVmService, contractAddress common.Address) error {
	item, err := service.CacheDB.GetContract(contractAddress)

	if err != nil || item != nil {
		return fmt.Errorf("[Contract] Get contract %x error or contract exist!", contractAddress)
	}
	return nil
}

gha_language: Go

extension: go


text:
# FindBetterEnums.cmake
#
# Created on: 07 May 2017
#     Author: Fabian Meyer
#    License: MIT
#
# provides:
#
# BETTERENUMS_INCLUDE_DIR
# BETTERENUMS_FOUND

find_path(BETTERENUMS_INCLUDE_DIR
    NAMES enum.h
    HINTS "${BETTERENUMS_ROOT}"
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(BetterEnums
    DEFAULT_MSG
    BETTERENUMS_INCLUDE_DIR
)

repository: Rookfighter/dep-installer

repo_name: Rookfighter/dep-installer

extension: cmake


text:
# This script discovers the Doxygen binary and creates a doxygen target when the
# binary and the configuration file could be found.
#
# Processed variables:
#   DOXYGEN_CONFIG_IN_FILE........(mandatory) path to the config file
#   DOXYGEN_OUTPUT_DIR............custom output directory for the documentation
#                                 (gets exported into the cache)
#   DEFAULT_DOXYGEN_OUTPUT_DIR....when DOXYGEN_OUTPUT_DIR is undefined then this
#                                 default directory is used to define it
#   SUB_PROJECT...................building the current project as sub project
#                                 disables the doxygen functionality
#
# Provided targets:
#   doxygen.......................generate the doxygen documentation
#
# Provided macros/functions:
#   ---
#
# When neither DOXYGEN_OUTPUT_DIR nor DEFAULT_DOXYGEN_OUTPUT_DIR is set then
# "${PROJECT_BINARY_DIR}/_doxygen" is set as fallback directory.

macro(cache_with_default name default type description)
  if(NOT ${name})
    set("${name}" "${default}" CACHE "${type}" "${description}" FORCE)
  else()
    set("${name}" "${${name}}" CACHE "${type}" "${description}" FORCE)
  endif()
endmacro()

# the master project is responsible for the documentation target
if(SUB_PROJECT)
  return()
endif()

# search for doxygen and skip doxygen support if it could not been found
find_package(Doxygen)
if(NOT DOXYGEN_FOUND)
  info_msg("Doxygen not found. Documentation can not be generated!")
  return()
endif()

# check if the configuration file exists and error out if not
if(NOT EXISTS "${DOXYGEN_CONFIG_IN_FILE}")
  message("Doxygen configuration file (${DOXYGEN_CONFIG_IN_FILE}) not found.")
  message("Documentation target will not be added!")
  return()
endif()

# define a output directory if nothing has been specified
if(NOT DEFAULT_DOXYGEN_OUTPUT_DIR)
  set(DEFAULT_DOXYGEN_OUTPUT_DIR "${PROJECT_BINARY_DIR}/_doxygen")
endif()

# Export the used output directory to the cache to enable modification
cache_with_default(DOXYGEN_OUTPUT_DIR
                   "${DEFAULT_DOXYGEN_OUTPUT_DIR}"
                   "PATH"
                   "Output directory for the generated doxygen documentation."
)
mark_as_advanced(DOXYGEN_OUTPUT_DIR)

# add the output directory to the clean target of the project
set_property(
  DIRECTORY "${PROJECT_SOURCE_DIR}"
  APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "${DOXYGEN_OUTPUT_DIR}"
)

# Check if the tools for qch file generation are available. The resulting file
# is located next to the doxygen directory as named "${CMAKE_PROJECT_NAME}.qch".
find_program(QCH_EXECUTABLE qhelpgenerator)
mark_as_advanced(QCH_EXECUTABLE)
if(QCH_EXECUTABLE)
    set(CMAKE_QCH_ENABLE "YES")
    set(CMAKE_QCH_OUTPUT_FILE "${DOXYGEN_OUTPUT_DIR}/../${CMAKE_PROJECT_NAME}.qch")
    set(CMAKE_QCH_LOCATION "${QCH_EXECUTABLE}")
endif()

# configure the doxygen file
configure_file(
  "${DOXYGEN_CONFIG_IN_FILE}"
  "${PROJECT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.doxygen"
  IMMEDIATE @ONLY
)

# add the doxygen target
add_custom_target(
  doxygen
  "${DOXYGEN_EXECUTABLE}"
  "${PROJECT_BINARY_DIR}/${CMAKE_PROJECT_NAME}.doxygen"
)

repository: alexanderwachter/bmbs

repo_name: alexanderwachter/bmbs


text:
package main

import (
	"fmt"
	"reflect"
	"unicode/utf8"
)

func str() string {
	//声明方式
	/*var a int = 1
	var b int
	var c =1

	//简写
	b := 1
	var strrr = "hello word"

	//简单类型
	var e int8 =10
	var f byte ='a'
	var g float32 = 12.1
	var msg =  "hello word"
	ok := false*/
	ok := true
	fmt.Println(ok)
	//字符串
	var str1 = "Golang"
	str2 := "字符串2"
	fmt.Println(reflect.TypeOf(str2[2]).Kind())
	fmt.Println(str1[2], string(str1[2]))
	fmt.Printf("%d %c\n", str2[2], str2[2])
	fmt.Println("len(str2):", len(str2)) //一个字符串占3个字节  英文占1个字节  所以str2的长度为10
	/**
	golang 中字符串底层是通过byte数组实现的,所以直接求len 实际是在按字节长度计算,所以一个汉字占3个字节 算3个长度
	*/
	fmt.Println("处理字符串的正确方式为转换为rune数组：") //转换为数组类型 []rune 后，字符串中的每个字符 无论占多少字节都用 int32来表示
	str3 := "Go语音"
	runArry := []rune(str3)
	fmt.Println(len(str3)) //2+3*2 =8 //不能直接求 需要转换 两种方式
	fmt.Println(reflect.TypeOf(runArry[2]).Kind())
	fmt.Println(runArry[2], string(runArry[2]))
	fmt.Println("len(runeArr)", len(runArry)) //第一种获取字符串长度的方式

	runArryNew := utf8.RuneCountInString(str3) //第二种获取字符串长度的方式
	fmt.Println(runArryNew)
	return "hello golang"
}
func strTest() {
	str()
}

repository: aystzh/go-hello

repo_name: aystzh/go-hello


text:
# - Functions and macros used in libwave

INCLUDE(CMakeParseArguments)
INCLUDE(GNUInstallDirs)

# wave_geometry_add_test: Add a gtest target
#
# WAVE_GEOMETRY_ADD_TEST(Name [DISABLED] src1 [src2...])
#
# The test will be added to the tests run by "make test", unless DISABLED is
# given. It will be linked against the needed gtest libraries. Any other links
# can be made separately with the target_link_libraries command.
FUNCTION(WAVE_GEOMETRY_ADD_TEST NAME)

    # Define the arguments this function accepts
    SET(options DISABLED)
    SET(one_value_args "")
    SET(multi_value_args "")
    CMAKE_PARSE_ARGUMENTS(WAVE_GEOMETRY_ADD_TEST
        "${options}" "${one_value_args}" "${multi_value_args}" ${ARGN})

    # Build the test executable using the given sources
    ADD_EXECUTABLE(${NAME} ${WAVE_GEOMETRY_ADD_TEST_UNPARSED_ARGUMENTS})

    # Link gtest libraries including one providing main()
    TARGET_LINK_LIBRARIES(${NAME} wave_geometry GTest::Main)

    # Put the test executable in the tests/ directory
    SET_TARGET_PROPERTIES(${NAME} PROPERTIES
        RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/tests)

    # Build this test on "make tests"
    ADD_DEPENDENCIES(tests ${NAME})

    IF(NOT WAVE_GEOMETRY_ADD_TEST_DISABLED)
        # Add the executable as a test, so it runs with "make test"
        ADD_TEST(NAME ${NAME} COMMAND ${NAME})
    ENDIF()

ENDFUNCTION(WAVE_GEOMETRY_ADD_TEST)

#     wave_geometry_add_benchmark: Add a target which links against google benchmark
#
# WAVE_GEOMETRY_ADD_BENCHMARK(Name src1 [src2...])
#
# The target will be added to the tests run by "make benchmark". It will be
# linked against the needed libraries. Any other links can be made separately
# with the target_link_libraries command.
FUNCTION(WAVE_GEOMETRY_ADD_BENCHMARK NAME)
    # Build the executable using the given sources
    ADD_EXECUTABLE(${NAME} ${ARGN})

    TARGET_LINK_LIBRARIES(${NAME} wave_geometry benchmark::benchmark GTest::GTest)

    # Put the executable in the benchmarks/ directory
    SET_TARGET_PROPERTIES(${NAME} PROPERTIES
        RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/benchmarks)

    # Add a ctest that will not be run by default.
    # To run it the command `ctest -C benchmark -L benchmark` must be used.
    # (Setting -C excludes it from the default set, and setting -L excludes the
    # default tests from it). Note the target `benchmark` runs this command.
    ADD_TEST(NAME ${NAME} COMMAND ${NAME} CONFIGURATIONS benchmark)
    SET_TESTS_PROPERTIES(${NAME} PROPERTIES LABELS benchmark)

    # Build this target on "make benchmarks"
    ADD_DEPENDENCIES(benchmarks ${NAME})
ENDFUNCTION(WAVE_GEOMETRY_ADD_BENCHMARK)


text:
#
# Copyright (c) Siemens AG, 2021
#
# Authors:
#  Jan Kiszka <jan.kiszka@siemens.com>
#
# This file is subject to the terms and conditions of the MIT License.  See
# COPYING.MIT file in the top-level directory.
#

inherit dpkg

SRC_URI = " \
    apt://${PN} \
    file://0001-Introduce-macros-to-support-both-Handle-and-Local-ty.patch;apply=no \
    file://0002-Replace-Handle-with-Local-depending-on-Node.js-versi.patch;apply=no \
    file://0003-Add-support-for-Node.js-v12.patch;apply=no \
    file://0004-Fixes-for-node-v12.0-12.5.patch;apply=no"

PACKAGE_ARCH = "${HOST_ARCH}"

CHANGELOG_V = "<orig-version>+isar"

do_prepare_build() {
    deb_add_changelog

    cd ${S}
    quilt import ${WORKDIR}/*.patch
    quilt push -a
}


text:
# generated from genmsg/cmake/pkg-genmsg.cmake.em

message(STATUS "costmap_2d: 1 messages, 0 services")

set(MSG_I_FLAGS "-Icostmap_2d:/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg;-Istd_msgs:/opt/ros/indigo/share/std_msgs/cmake/../msg;-Igeometry_msgs:/opt/ros/indigo/share/geometry_msgs/cmake/../msg;-Imap_msgs:/opt/ros/indigo/share/map_msgs/cmake/../msg;-Isensor_msgs:/opt/ros/indigo/share/sensor_msgs/cmake/../msg;-Inav_msgs:/opt/ros/indigo/share/nav_msgs/cmake/../msg;-Iactionlib_msgs:/opt/ros/indigo/share/actionlib_msgs/cmake/../msg")

# Find all generators
find_package(gencpp REQUIRED)
find_package(genlisp REQUIRED)
find_package(genpy REQUIRED)

add_custom_target(costmap_2d_generate_messages ALL)

# verify that message/service dependencies have not changed since configure

get_filename_component(_filename "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg" NAME_WE)
add_custom_target(_costmap_2d_generate_messages_check_deps_${_filename}
  COMMAND ${CATKIN_ENV} ${PYTHON_EXECUTABLE} ${GENMSG_CHECK_DEPS_SCRIPT} "costmap_2d" "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg" "geometry_msgs/Vector3:geometry_msgs/Point32:std_msgs/Header"
)

#
#  langs = gencpp;genlisp;genpy
#

### Section generating for lang: gencpp
### Generating Messages
_generate_msg_cpp(costmap_2d
  "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg"
  "${MSG_I_FLAGS}"
  "/opt/ros/indigo/share/geometry_msgs/cmake/../msg/Vector3.msg;/opt/ros/indigo/share/geometry_msgs/cmake/../msg/Point32.msg;/opt/ros/indigo/share/std_msgs/cmake/../msg/Header.msg"
  ${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/costmap_2d
)

### Generating Services

### Generating Module File
_generate_module_cpp(costmap_2d
  ${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/costmap_2d
  "${ALL_GEN_OUTPUT_FILES_cpp}"
)

add_custom_target(costmap_2d_generate_messages_cpp
  DEPENDS ${ALL_GEN_OUTPUT_FILES_cpp}
)
add_dependencies(costmap_2d_generate_messages costmap_2d_generate_messages_cpp)

# add dependencies to all check dependencies targets
get_filename_component(_filename "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg" NAME_WE)
add_dependencies(costmap_2d_generate_messages_cpp _costmap_2d_generate_messages_check_deps_${_filename})

# target for backward compatibility
add_custom_target(costmap_2d_gencpp)
add_dependencies(costmap_2d_gencpp costmap_2d_generate_messages_cpp)

# register target for catkin_package(EXPORTED_TARGETS)
list(APPEND ${PROJECT_NAME}_EXPORTED_TARGETS costmap_2d_generate_messages_cpp)

### Section generating for lang: genlisp
### Generating Messages
_generate_msg_lisp(costmap_2d
  "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg"
  "${MSG_I_FLAGS}"
  "/opt/ros/indigo/share/geometry_msgs/cmake/../msg/Vector3.msg;/opt/ros/indigo/share/geometry_msgs/cmake/../msg/Point32.msg;/opt/ros/indigo/share/std_msgs/cmake/../msg/Header.msg"
  ${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/costmap_2d
)

### Generating Services

### Generating Module File
_generate_module_lisp(costmap_2d
  ${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/costmap_2d
  "${ALL_GEN_OUTPUT_FILES_lisp}"
)

add_custom_target(costmap_2d_generate_messages_lisp
  DEPENDS ${ALL_GEN_OUTPUT_FILES_lisp}
)
add_dependencies(costmap_2d_generate_messages costmap_2d_generate_messages_lisp)

# add dependencies to all check dependencies targets
get_filename_component(_filename "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg" NAME_WE)
add_dependencies(costmap_2d_generate_messages_lisp _costmap_2d_generate_messages_check_deps_${_filename})

# target for backward compatibility
add_custom_target(costmap_2d_genlisp)
add_dependencies(costmap_2d_genlisp costmap_2d_generate_messages_lisp)

# register target for catkin_package(EXPORTED_TARGETS)
list(APPEND ${PROJECT_NAME}_EXPORTED_TARGETS costmap_2d_generate_messages_lisp)

### Section generating for lang: genpy
### Generating Messages
_generate_msg_py(costmap_2d
  "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg"
  "${MSG_I_FLAGS}"
  "/opt/ros/indigo/share/geometry_msgs/cmake/../msg/Vector3.msg;/opt/ros/indigo/share/geometry_msgs/cmake/../msg/Point32.msg;/opt/ros/indigo/share/std_msgs/cmake/../msg/Header.msg"
  ${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/costmap_2d
)

### Generating Services

### Generating Module File
_generate_module_py(costmap_2d
  ${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/costmap_2d
  "${ALL_GEN_OUTPUT_FILES_py}"
)

add_custom_target(costmap_2d_generate_messages_py
  DEPENDS ${ALL_GEN_OUTPUT_FILES_py}
)
add_dependencies(costmap_2d_generate_messages costmap_2d_generate_messages_py)

# add dependencies to all check dependencies targets
get_filename_component(_filename "/home/ubuntu/catkin_ws/src/navigation/costmap_2d/msg/VoxelGrid.msg" NAME_WE)
add_dependencies(costmap_2d_generate_messages_py _costmap_2d_generate_messages_check_deps_${_filename})

# target for backward compatibility
add_custom_target(costmap_2d_genpy)
add_dependencies(costmap_2d_genpy costmap_2d_generate_messages_py)

# register target for catkin_package(EXPORTED_TARGETS)
list(APPEND ${PROJECT_NAME}_EXPORTED_TARGETS costmap_2d_generate_messages_py)

if(gencpp_INSTALL_DIR AND EXISTS ${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/costmap_2d)
  # install generated code
  install(
    DIRECTORY ${CATKIN_DEVEL_PREFIX}/${gencpp_INSTALL_DIR}/costmap_2d
    DESTINATION ${gencpp_INSTALL_DIR}
  )
endif()
add_dependencies(costmap_2d_generate_messages_cpp std_msgs_generate_messages_cpp)
add_dependencies(costmap_2d_generate_messages_cpp geometry_msgs_generate_messages_cpp)
add_dependencies(costmap_2d_generate_messages_cpp map_msgs_generate_messages_cpp)

if(genlisp_INSTALL_DIR AND EXISTS ${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/costmap_2d)
  # install generated code
  install(
    DIRECTORY ${CATKIN_DEVEL_PREFIX}/${genlisp_INSTALL_DIR}/costmap_2d
    DESTINATION ${genlisp_INSTALL_DIR}
  )
endif()
add_dependencies(costmap_2d_generate_messages_lisp std_msgs_generate_messages_lisp)
add_dependencies(costmap_2d_generate_messages_lisp geometry_msgs_generate_messages_lisp)
add_dependencies(costmap_2d_generate_messages_lisp map_msgs_generate_messages_lisp)

if(genpy_INSTALL_DIR AND EXISTS ${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/costmap_2d)
  install(CODE "execute_process(COMMAND \"/usr/bin/python\" -m compileall \"${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/costmap_2d\")")
  # install generated code
  install(
    DIRECTORY ${CATKIN_DEVEL_PREFIX}/${genpy_INSTALL_DIR}/costmap_2d
    DESTINATION ${genpy_INSTALL_DIR}
  )
endif()
add_dependencies(costmap_2d_generate_messages_py std_msgs_generate_messages_py)
add_dependencies(costmap_2d_generate_messages_py geometry_msgs_generate_messages_py)
add_dependencies(costmap_2d_generate_messages_py map_msgs_generate_messages_py)


text:
@article{zhu2014crowd,
 author = {Zhu, Tingting and Johnson, Alistair E and Behar, Joachim and Clifford, Gari D},
 author+an = {2=highlight},
 journal = {Annals of biomedical engineering},
 number = {4},
 pages = {871--884},
 publisher = {Springer US},
 title = {Crowd-sourced annotation of ECG signals using contextual information},
 volume = {42},
 year = {2014}
}

extension: bib