text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.5.2">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="no" active="no"/>
<layer number="2" name="Route2" color="16" fill="1" visible="no" active="no"/>
<layer number="3" name="Route3" color="17" fill="1" visible="no" active="no"/>
<layer number="4" name="Route4" color="18" fill="1" visible="no" active="no"/>
<layer number="5" name="Route5" color="19" fill="1" visible="no" active="no"/>
<layer number="6" name="Route6" color="25" fill="1" visible="no" active="no"/>
<layer number="7" name="Route7" color="26" fill="1" visible="no" active="no"/>
<layer number="8" name="Route8" color="27" fill="1" visible="no" active="no"/>
<layer number="9" name="Route9" color="28" fill="1" visible="no" active="no"/>
<layer number="10" name="Route10" color="29" fill="1" visible="no" active="no"/>
<layer number="11" name="Route11" color="30" fill="1" visible="no" active="no"/>
<layer number="12" name="Route12" color="20" fill="1" visible="no" active="no"/>
<layer number="13" name="Route13" color="21" fill="1" visible="no" active="no"/>
<layer number="14" name="Route14" color="22" fill="1" visible="no" active="no"/>
<layer number="15" name="Route15" color="23" fill="1" visible="no" active="no"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="no" active="no"/>
<layer number="17" name="Pads" color="2" fill="1" visible="no" active="no"/>
<layer number="18" name="Vias" color="2" fill="1" visible="no" active="no"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="no"/>
<layer number="20" name="Dimension" color="24" fill="1" visible="no" active="no"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="no" active="no"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="no" active="no"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="no"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="no"/>
<layer number="25" name="tNames" color="7" fill="1" visible="no" active="no"/>
<layer number="26" name="bNames" color="7" fill="1" visible="no" active="no"/>
<layer number="27" name="tValues" color="7" fill="1" visible="no" active="no"/>
<layer number="28" name="bValues" color="7" fill="1" visible="no" active="no"/>
<layer number="29" name="tStop" color="7" fill="3" visible="no" active="no"/>
<layer number="30" name="bStop" color="7" fill="6" visible="no" active="no"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="no"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="no"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="no"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="no"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="no"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="no"/>
<layer number="37" name="tTest" color="7" fill="1" visible="no" active="no"/>
<layer number="38" name="bTest" color="7" fill="1" visible="no" active="no"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="no"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="no"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="no"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="no"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="no"/>
<layer number="44" name="Drills" color="7" fill="1" visible="no" active="no"/>
<layer number="45" name="Holes" color="7" fill="1" visible="no" active="no"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="no"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="no"/>
<layer number="48" name="Document" color="7" fill="1" visible="no" active="no"/>
<layer number="49" name="Reference" color="7" fill="1" visible="no" active="no"/>
<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="no"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="no"/>
<layer number="88" name="SimResults" color="9" fill="1" visible="yes" active="yes"/>
<layer number="89" name="SimProbes" color="9" fill="1" visible="yes" active="yes"/>
<layer number="90" name="Modules" color="5" fill="1" visible="yes" active="yes"/>
<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
<layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
<layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
<layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/>
<layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/>
<layer number="99" name="SpiceOrder" color="5" fill="1" visible="yes" active="yes"/>
<layer number="200" name="200bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="250" name="Descript" color="7" fill="1" visible="yes" active="yes"/>
<layer number="251" name="SMDround" color="7" fill="1" visible="yes" active="yes"/>
</layers>
<schematic xreflabel="%F%N/%S.%C%R" xrefpart="/%S.%C%R">
<libraries>
<library name="z-axis-duplicator">
<packages>
<package name="DRIVER" urn="urn:adsk.eagle:footprint:16188685/1" locally_modified="yes">
<description>Double-row, 16-pin Receptacle Header (Female) Straight, 12.70 mm (0.50 in) row pitch, 2.54 mm (0.10 in) col pitch, 2.54 mm insulator length, 20.32 X 15.24 X 2.54 mm body

Double-row (2X8), 16-pin Receptacle Header (Female) Straight package with 12.70 mm (0.50 in) row pitch, 2.54 mm (0.10 in) col pitch, 0.64 mm lead width, 3.00 mm tail length and 2.54 mm insulator length with overall size 20.32 X 15.24 X 2.54 mm, pin pattern - clockwise from top left
</description>
<circle x="-8.89" y="8.124" radius="0.25" width="0" layer="21"/>
<wire x1="10.16" y1="-7.62" x2="-10.16" y2="-7.62" width="0.12" layer="21"/>
<wire x1="-10.16" y1="-7.62" x2="-10.16" y2="7.62" width="0.12" layer="21"/>
<wire x1="-10.16" y1="7.62" x2="10.16" y2="7.62" width="0.12" layer="21"/>
<wire x1="10.16" y1="7.62" x2="10.16" y2="-7.62" width="0.12" layer="21"/>
<wire x1="10.16" y1="-7.62" x2="-10.16" y2="-7.62" width="0.12" layer="51"/>
<wire x1="-10.16" y1="-7.62" x2="-10.16" y2="7.62" width="0.12" layer="51"/>
<wire x1="-10.16" y1="7.62" x2="10.16" y2="7.62" width="0.12" layer="51"/>
<wire x1="10.16" y1="7.62" x2="10.16" y2="-7.62" width="0.12" layer="51"/>
<pad name="1" x="-8.89" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="2" x="-6.35" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="3" x="-3.81" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="4" x="-1.27" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="5" x="1.27" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="6" x="3.81" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="7" x="6.35" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="8" x="8.89" y="6.35" drill="1.1051" diameter="1.7051"/>
<pad name="9" x="8.89" y="-6.35" drill="1.1051" diameter="1.7051"/>
<pad name="10" x="6.35" y="-6.35" drill="1.1051" diameter="1.7051"/>
<pad name="11" x="3.81" y="-6.35" drill="1.1051" diameter="1.7051"/>
<pad name="12" x="1.27" y="-6.35" drill="1.1051" diameter="1.7051"/>
<pad name="13" x="-1.27" y="-6.35" drill="1.1051" diameter="1.7051"/>
<pad name="14" x="-3.81" y="-6.35" drill="1.1051" diameter="1.7051"/>
<pad name="15" x="-6.35" y="-6.35" drill="1.1051" diameter="1.7051"/>
<pad name="16" x="-8.89" y="-6.35" drill="1.1051" diameter="1.7051"/>
<text x="-8.89" y="9.009" size="1.27" layer="25" align="bottom-center">>NAME</text>
</package>
<package name="0805">
<smd name="P$1" x="-0.9525" y="0" dx="1.2954" dy="0.7112" layer="1" rot="R90"/>
<smd name="P$2" x="0.9525" y="0" dx="1.2954" dy="0.7112" layer="1" rot="R90"/>
<text x="0" y="0.8636" size="0.8128" layer="25" align="bottom-center">>NAME</text>
<wire x1="-1.524" y1="0.762" x2="1.524" y2="0.762" width="0.0762" layer="21"/>
<wire x1="1.524" y1="0.762" x2="1.524" y2="-0.762" width="0.0762" layer="21"/>
<wire x1="1.524" y1="-0.762" x2="-1.524" y2="-0.762" width="0.0762" layer="21"/>
<wire x1="-1.524" y1="-0.762" x2="-1.524" y2="0.762" width="0.0762" layer="21"/>
</package>
<package name="0603" urn="urn:adsk.eagle:footprint:16053680/1" locally_modified="yes">
<description>Chip, 1.55 X 0.85 X 0.45 mm body

Chip package with body size 1.55 X 0.85 X 0.45 mm
</description>
<wire x1="0.775" y1="0.7949" x2="-0.775" y2="0.7949" width="0.12" layer="21"/>
<wire x1="0.775" y1="-0.7949" x2="-0.775" y2="-0.7949" width="0.12" layer="21"/>
<wire x1="0.775" y1="-0.425" x2="-0.775" y2="-0.425" width="0.12" layer="51"/>
<wire x1="-0.775" y1="-0.425" x2="-0.775" y2="0.425" width="0.12" layer="51"/>
<wire x1="-0.775" y1="0.425" x2="0.775" y2="0.425" width="0.12" layer="51"/>
<wire x1="0.775" y1="0.425" x2="0.775" y2="-0.425" width="0.12" layer="51"/>
<smd name="1" x="-0.75" y="0" dx="0.6" dy="0.9" layer="1"/>
<smd name="2" x="0.75" y="0" dx="0.6" dy="0.9" layer="1"/>
<text x="0" y="1.4299" size="0.8128" layer="25" align="bottom-center">>NAME</text>
</package>
<package name="0402" urn="urn:adsk.eagle:footprint:16053684/1" locally_modified="yes">
<description>Chip, 1.00 X 0.50 X 0.35 mm body

Chip package with body size 1.00 X 0.50 X 0.35 mm
</description>
<wire x1="0.5" y1="0.6199" x2="-0.5" y2="0.6199" width="0.12" layer="21"/>
<wire x1="0.5" y1="-0.6199" x2="-0.5" y2="-0.6199" width="0.12" layer="21"/>
<wire x1="0.5" y1="-0.25" x2="-0.5" y2="-0.25" width="0.12" layer="51"/>
<wire x1="-0.5" y1="-0.25" x2="-0.5" y2="0.25" width="0.12" layer="51"/>
<wire x1="-0.5" y1="0.25" x2="0.5" y2="0.25" width="0.12" layer="51"/>
<wire x1="0.5" y1="0.25" x2="0.5" y2="-0.25" width="0.12" layer="51"/>
<smd name="1" x="-0.5" y="0" dx="0.5" dy="0.6" layer="1"/>
<smd name="2" x="0.5" y="0" dx="0.5" dy="0.6" layer="1"/>
<text x="0" y="1.2549" size="0.8128" layer="25" align="bottom-center">>NAME</text>
</package>
<package name="SOLDER-JUMPER">
<polygon width="0" layer="1">
<vertex x="-1.27" y="1.27"/>
<vertex x="1.27" y="1.27"/>
<vertex x="1.27" y="0.762"/>
<vertex x="-0.762" y="0.762"/>
<vertex x="-0.762" y="-0.127"/>
<vertex x="0.508" y="-0.127"/>
<vertex x="0.508" y="-0.508"/>
<vertex x="-1.27" y="-0.508"/>
</polygon>
<polygon width="0" layer="1">
<vertex x="-1.27" y="-0.762"/>
<vertex x="0.762" y="-0.762"/>
<vertex x="0.762" y="0.127"/>
<vertex x="-0.508" y="0.127"/>
<vertex x="-0.508" y="0.508"/>
<vertex x="1.27" y="0.508"/>
<vertex x="1.27" y="-1.27"/>
<vertex x="-1.27" y="-1.27"/>
</polygon>
<smd name="1" x="-0.9525" y="0" dx="0.6096" dy="0.3048" layer="1" rot="R90"/>
<smd name="2" x="0.9525" y="0" dx="0.6096" dy="0.3048" layer="1" rot="R90"/>
<rectangle x1="-1.397" y1="-1.397" x2="1.397" y2="1.397" layer="29"/>
</package>
<package name="MMBT3904,215" urn="urn:adsk.eagle:footprint:12395734/1" locally_modified="yes">
<description>3-SOT23, 0.95 mm pitch, 2.30 mm span, 2.90 X 1.30 X 1.10 mm body

3-pin SOT23 package with 0.95 mm pitch, 2.30 mm span with body size 2.90 X 1.30 X 1.10 mm
</description>
<circle x="-1.204" y="1.749" radius="0.25" width="0" layer="21"/>
<wire x1="-0.7" y1="1.559" x2="0.7" y2="1.559" width="0.12" layer="21"/>
<wire x1="0.7" y1="1.559" x2="0.7" y2="0.549" width="0.12" layer="21"/>
<wire x1="-0.7" y1="-1.559" x2="0.7" y2="-1.559" width="0.12" layer="21"/>
<wire x1="0.7" y1="-1.559" x2="0.7" y2="-0.549" width="0.12" layer="21"/>
<wire x1="0.7" y1="-1.5" x2="-0.7" y2="-1.5" width="0.12" layer="51"/>
<wire x1="-0.7" y1="-1.5" x2="-0.7" y2="1.5" width="0.12" layer="51"/>
<wire x1="-0.7" y1="1.5" x2="0.7" y2="1.5" width="0.12" layer="51"/>
<wire x1="0.7" y1="1.5" x2="0.7" y2="-1.5" width="0.12" layer="51"/>
<smd name="1" x="-1.0783" y="0.95" dx="1.0588" dy="0.59" layer="1"/>
<smd name="2" x="-1.0783" y="-0.95" dx="1.0588" dy="0.59" layer="1"/>
<smd name="3" x="1.0783" y="0" dx="1.0588" dy="0.59" layer="1"/>
<text x="0" y="2.634" size="0.8128" layer="25" align="bottom-center">>NAME</text>
</package>
<package name="SOLDER-JUMPER-DUAL">
<rectangle x1="-3.302" y1="-1.397" x2="3.302" y2="1.397" layer="29"/>
<polygon width="0" layer="1">
<vertex x="3.175" y="1.27"/>
<vertex x="3.175" y="0.762"/>
<vertex x="1.143" y="0.762"/>
<vertex x="1.143" y="-0.127"/>
<vertex x="2.413" y="-0.127"/>
<vertex x="2.413" y="-0.508"/>
<vertex x="0.508" y="-0.508"/>
<vertex x="0.508" y="-1.27"/>
<vertex x="-3.175" y="-1.27"/>
<vertex x="-3.175" y="-0.762"/>
<vertex x="-1.143" y="-0.762"/>
<vertex x="-1.143" y="0.127"/>
<vertex x="-2.413" y="0.127"/>
<vertex x="-2.413" y="0.508"/>
<vertex x="-0.508" y="0.508"/>
<vertex x="-0.508" y="1.27"/>
</polygon>
<polygon width="0" layer="1">
<vertex x="-3.175" y="-0.508"/>
<vertex x="-1.397" y="-0.508"/>
<vertex x="-1.397" y="-0.127"/>
<vertex x="-2.667" y="-0.127"/>
<vertex x="-2.667" y="0.762"/>
<vertex x="-0.762" y="0.762"/>
<vertex x="-0.762" y="1.27"/>
<vertex x="-3.175" y="1.27"/>
</polygon>
<polygon width="0" layer="1">
<vertex x="0.762" y="-0.762"/>
<vertex x="0.762" y="-1.27"/>
<vertex x="3.175" y="-1.27"/>
<vertex x="3.175" y="0.508"/>
<vertex x="1.397" y="0.508"/>
<vertex x="1.397" y="0.127"/>
<vertex x="2.667" y="0.127"/>
<vertex x="2.667" y="-0.762"/>
</polygon>
<smd name="C" x="0" y="0" dx="1.9304" dy="0.9652" layer="1" rot="R180"/>
<smd name="1" x="-2.8575" y="0.3175" dx="0.6096" dy="0.3048" layer="1" rot="R270"/>
<smd name="2" x="2.8575" y="-0.3175" dx="0.6096" dy="0.3048" layer="1" rot="R270"/>
<text x="0" y="1.5875" size="0.8128" layer="25" align="bottom-center">>NAME</text>
</package>
<package name="JST-PH6" urn="urn:adsk.eagle:footprint:16196399/1" locally_modified="yes">
<description>Single-row, 6-pin Receptacle Header (Female) Straight, 2.00 mm (0.08 in) col pitch, 6.00 mm insulator length, 13.90 X 5.60 X 6.00 mm body

Single-row (1X6), 6-pin Receptacle Header (Female) Straight package with 2.00 mm (0.08 in) col pitch, 0.50 mm lead width, 3.40 mm tail length and 6.00 mm insulator length with overall size 13.90 X 5.60 X 6.00 mm, pin pattern - clockwise from top left
</description>
<circle x="-5.08" y="3.304" radius="0.25" width="0" layer="21"/>
<wire x1="6.87" y1="-2.8" x2="-7.03" y2="-2.8" width="0.12" layer="21"/>
<wire x1="-7.03" y1="-2.8" x2="-7.03" y2="2.8" width="0.12" layer="21"/>
<wire x1="-7.03" y1="2.8" x2="6.87" y2="2.8" width="0.12" layer="21"/>
<wire x1="6.87" y1="2.8" x2="6.87" y2="-2.8" width="0.12" layer="21"/>
<wire x1="6.87" y1="-2.8" x2="-7.03" y2="-2.8" width="0.12" layer="51"/>
<wire x1="-7.03" y1="-2.8" x2="-7.03" y2="2.8" width="0.12" layer="51"/>
<wire x1="-7.03" y1="2.8" x2="6.87" y2="2.8" width="0.12" layer="51"/>
<wire x1="6.87" y1="2.8" x2="6.87" y2="-2.8" width="0.12" layer="51"/>
<pad name="1" x="-5.08" y="0" drill="0.9071" diameter="1.5071"/>
<pad name="2" x="-3.08" y="0" drill="0.9071" diameter="1.5071"/>
<pad name="3" x="-1.08" y="0" drill="0.9071" diameter="1.5071"/>
<pad name="4" x="0.92" y="0" drill="0.9071" diameter="1.5071"/>
<pad name="5" x="2.92" y="0" drill="0.9071" diameter="1.5071"/>
<pad name="6" x="4.92" y="0" drill="0.9071" diameter="1.5071"/>
<text x="-5.08" y="4.189" size="1.27" layer="25" align="bottom-center">>NAME</text>
</package>
</packages>
<packages3d>
<package3d name="HDRVR16W64P1270X254_2X8_2032X1524X254B" urn="urn:adsk.eagle:package:16188684/1" type="model">
<description>Double-row, 16-pin Receptacle Header (Female) Straight, 12.70 mm (0.50 in) row pitch, 2.54 mm (0.10 in) col pitch, 2.54 mm insulator length, 20.32 X 15.24 X 2.54 mm body

Double-row (2X8), 16-pin Receptacle Header (Female) Straight package with 12.70 mm (0.50 in) row pitch, 2.54 mm (0.10 in) col pitch, 0.64 mm lead width, 3.00 mm tail length and 2.54 mm insulator length with overall size 20.32 X 15.24 X 2.54 mm, pin pattern - clockwise from top left
</description>
<packageinstances>
<packageinstance name="DRIVER"/>
</packageinstances>
</package3d>
<package3d name="RESC1508X45N" urn="urn:adsk.eagle:package:16053670/1" type="model">
<description>Chip, 1.55 X 0.85 X 0.45 mm body

Chip package with body size 1.55 X 0.85 X 0.45 mm
</description>
<packageinstances>
<packageinstance name="0603"/>
</packageinstances>
</package3d>
<package3d name="RESC1005X35N" urn="urn:adsk.eagle:package:16053683/1" type="model">
<description>Chip, 1.00 X 0.50 X 0.35 mm body

Chip package with body size 1.00 X 0.50 X 0.35 mm
</description>
<packageinstances>
<packageinstance name="0402"/>
</packageinstances>
</package3d>
<package3d name="SOT95P230X110-3" urn="urn:adsk.eagle:package:12395711/1" locally_modified="yes" type="model">
<description>3-SOT23, 0.95 mm pitch, 2.30 mm span, 2.90 X 1.30 X 1.10 mm body

3-pin SOT23 package with 0.95 mm pitch, 2.30 mm span with body size 2.90 X 1.30 X 1.10 mm
</description>
<packageinstances>
<packageinstance name="MMBT3904,215"/>
</packageinstances>
</package3d>
<package3d name="HDRVR6W50P200_1X6_1390X560X600B" urn="urn:adsk.eagle:package:16196389/1" type="model">
<description>Single-row, 6-pin Receptacle Header (Female) Straight, 2.00 mm (0.08 in) col pitch, 6.00 mm insulator length, 13.90 X 5.60 X 6.00 mm body

Single-row (1X6), 6-pin Receptacle Header (Female) Straight package with 2.00 mm (0.08 in) col pitch, 0.50 mm lead width, 3.40 mm tail length and 6.00 mm insulator length with overall size 13.90 X 5.60 X 6.00 mm, pin pattern - clockwise from top left
</description>
<packageinstances>
<packageinstance name="JST-PH6"/>
</packageinstances>
</package3d>
</packages3d>
<symbols>
<symbol name="DRIVER">
<pin name="VM" x="15.24" y="30.48" length="middle" direction="pwr" rot="R270"/>
<pin name="VIO" x="20.32" y="30.48" length="middle" direction="pwr" rot="R270"/>
<pin name="GND" x="17.78" y="0" length="middle" direction="pas" rot="R90"/>
<pin name="STEP" x="35.56" y="22.86" length="middle" direction="in" rot="R180"/>
<pin name="DIR" x="35.56" y="20.32" length="middle" direction="in" rot="R180"/>
<pin name="1A" x="35.56" y="15.24" length="middle" direction="out" rot="R180"/>
<pin name="1B" x="35.56" y="12.7" length="middle" direction="out" rot="R180"/>
<pin name="2A" x="35.56" y="10.16" length="middle" direction="out" rot="R180"/>
<pin name="2B" x="35.56" y="7.62" length="middle" direction="out" rot="R180"/>
<pin name="!RST" x="0" y="20.32" length="middle" direction="in"/>
<pin name="!EN" x="0" y="17.78" length="middle" direction="in"/>
<pin name="MS1" x="0" y="12.7" length="middle" direction="in"/>
<pin name="MS2" x="0" y="10.16" length="middle" direction="in"/>
<pin name="MS3" x="0" y="7.62" length="middle" direction="in"/>
<pin name="!SLP" x="0" y="22.86" length="middle" direction="in"/>
<wire x1="5.08" y1="5.08" x2="30.48" y2="5.08" width="0.254" layer="94"/>
<wire x1="30.48" y1="5.08" x2="30.48" y2="25.4" width="0.254" layer="94"/>
<wire x1="30.48" y1="25.4" x2="5.08" y2="25.4" width="0.254" layer="94"/>
<wire x1="5.08" y1="25.4" x2="5.08" y2="5.08" width="0.254" layer="94"/>
<text x="22.86" y="25.4" size="1.778" layer="95">>NAME</text>
</symbol>
<symbol name="+12V">
<wire x1="-1.27" y1="0" x2="1.27" y2="0" width="0.254" layer="94"/>
<text x="0" y="2.54" size="1.778" layer="96" rot="R180" align="bottom-center">>VALUE</text>
<pin name="+12V" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/>
</symbol>
<symbol name="+3V3">
<wire x1="-1.27" y1="0" x2="1.27" y2="0" width="0.254" layer="94"/>
<text x="0" y="2.54" size="1.778" layer="96" rot="R180" align="bottom-center">>VALUE</text>
<pin name="+3V3" x="0" y="-2.54" visible="off" length="short" direction="sup" rot="R90"/>
</symbol>
<symbol name="CAPACITOR">
<text x="0" y="0.9525" size="1.016" layer="95" align="bottom-center">>NAME</text>
<text x="0" y="-0.9525" size="1.016" layer="96" align="top-center">>VALUE</text>
<pin name="1" x="-2.54" y="0" visible="off" length="point" direction="pas"/>
<pin name="2" x="2.54" y="0" visible="off" length="point" direction="pas" rot="R180"/>
<wire x1="-0.3175" y1="0.635" x2="-0.3175" y2="0" width="0.1524" layer="94"/>
<wire x1="-0.3175" y1="0" x2="-0.3175" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="0.635" x2="0.3175" y2="0" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="0" x2="0.3175" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="-2.54" y1="0" x2="-0.3175" y2="0" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="0" x2="2.54" y2="0" width="0.1524" layer="94"/>
</symbol>
<symbol name="GND">
<wire x1="-1.905" y1="0" x2="1.905" y2="0" width="0.254" layer="94"/>
<pin name="GND" x="0" y="2.54" visible="off" length="short" direction="sup" rot="R270"/>
<wire x1="-0.635" y1="-1.27" x2="0.635" y2="-1.27" width="0.254" layer="94"/>
</symbol>
<symbol name="RESISTOR">
<text x="0" y="0.9525" size="1.016" layer="95" align="bottom-center">>NAME</text>
<text x="0" y="-0.9525" size="1.016" layer="96" align="top-center">>VALUE</text>
<pin name="1" x="-2.54" y="0" visible="off" length="point" direction="pas"/>
<pin name="2" x="2.54" y="0" visible="off" length="point" direction="pas" rot="R180"/>
<wire x1="-2.54" y1="0" x2="-1.27" y2="0" width="0.1524" layer="94"/>
<wire x1="2.54" y1="0" x2="1.27" y2="0" width="0.1524" layer="94"/>
<wire x1="-0.3175" y1="-0.635" x2="0.3175" y2="0.635" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="0.635" x2="0.9525" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0.9525" y1="-0.635" x2="1.27" y2="0" width="0.1524" layer="94"/>
<wire x1="-0.3175" y1="-0.635" x2="-0.9525" y2="0.635" width="0.1524" layer="94"/>
<wire x1="-0.9525" y1="0.635" x2="-1.27" y2="0" width="0.1524" layer="94"/>
</symbol>
<symbol name="SOLDER-JUMPER">
<text x="0" y="0.9525" size="1.016" layer="95" align="bottom-center">>NAME</text>
<pin name="1" x="-2.54" y="0" visible="off" length="point" direction="pas"/>
<pin name="2" x="2.54" y="0" visible="off" length="point" direction="pas" rot="R180"/>
<wire x1="-0.3175" y1="0.635" x2="-0.3175" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="0.635" x2="0.3175" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="0.635" x2="0.9525" y2="0" width="0.1524" layer="94" curve="-90"/>
<wire x1="0.9525" y1="0" x2="0.3175" y2="-0.635" width="0.1524" layer="94" curve="-90"/>
<wire x1="-0.3175" y1="-0.635" x2="-0.9525" y2="0" width="0.1524" layer="94" curve="-90"/>
<wire x1="-0.9525" y1="0" x2="-0.3175" y2="0.635" width="0.1524" layer="94" curve="-90"/>
<wire x1="-2.54" y1="0" x2="-0.9525" y2="0" width="0.1524" layer="94"/>
<wire x1="0.9525" y1="0" x2="2.54" y2="0" width="0.1524" layer="94"/>
</symbol>
<symbol name="NPN">
<wire x1="2.54" y1="2.54" x2="0.508" y2="1.524" width="0.1524" layer="94"/>
<wire x1="1.778" y1="-1.524" x2="2.54" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="2.54" y1="-2.54" x2="1.27" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="1.27" y1="-2.54" x2="1.778" y2="-1.524" width="0.1524" layer="94"/>
<wire x1="1.54" y1="-2.04" x2="0.308" y2="-1.424" width="0.1524" layer="94"/>
<wire x1="1.524" y1="-2.413" x2="2.286" y2="-2.413" width="0.254" layer="94"/>
<wire x1="2.286" y1="-2.413" x2="1.778" y2="-1.778" width="0.254" layer="94"/>
<wire x1="1.778" y1="-1.778" x2="1.524" y2="-2.286" width="0.254" layer="94"/>
<wire x1="1.524" y1="-2.286" x2="1.905" y2="-2.286" width="0.254" layer="94"/>
<wire x1="1.905" y1="-2.286" x2="1.778" y2="-2.032" width="0.254" layer="94"/>
<text x="0" y="2.54" size="1.778" layer="95" align="bottom-right">>NAME</text>
<rectangle x1="-0.254" y1="-2.54" x2="0.508" y2="2.54" layer="94"/>
<pin name="B" x="-2.54" y="0" visible="off" length="short" direction="pas" swaplevel="1"/>
<pin name="E" x="2.54" y="-5.08" visible="off" length="short" direction="pas" swaplevel="3" rot="R90"/>
<pin name="C" x="2.54" y="5.08" visible="off" length="short" direction="pas" swaplevel="2" rot="R270"/>
</symbol>
<symbol name="SOLDER-JUMPER-DUAL">
<text x="0" y="0.9525" size="1.016" layer="95" align="bottom-center">>NAME</text>
<pin name="1" x="-2.54" y="0" visible="off" length="point" direction="pas"/>
<pin name="2" x="2.54" y="0" visible="off" length="point" direction="pas" rot="R180"/>
<wire x1="-0.635" y1="0.635" x2="-0.635" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0.635" y1="0.635" x2="0.635" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0.635" y1="0.635" x2="1.27" y2="0" width="0.1524" layer="94" curve="-90"/>
<wire x1="1.27" y1="0" x2="0.635" y2="-0.635" width="0.1524" layer="94" curve="-90"/>
<wire x1="-0.635" y1="-0.635" x2="-1.27" y2="0" width="0.1524" layer="94" curve="-90"/>
<wire x1="-1.27" y1="0" x2="-0.635" y2="0.635" width="0.1524" layer="94" curve="-90"/>
<wire x1="-2.54" y1="0" x2="-1.27" y2="0" width="0.1524" layer="94"/>
<wire x1="1.27" y1="0" x2="2.54" y2="0" width="0.1524" layer="94"/>
<pin name="C" x="0" y="-2.54" visible="off" length="point" direction="pas" rot="R90"/>
<wire x1="-0.3175" y1="0.635" x2="0.3175" y2="0.635" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="0.635" x2="0.3175" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0.3175" y1="-0.635" x2="0" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0" y1="-0.635" x2="-0.3175" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="-0.3175" y1="-0.635" x2="-0.3175" y2="0.635" width="0.1524" layer="94"/>
<wire x1="0" y1="-0.635" x2="0" y2="-2.54" width="0.1524" layer="94"/>
</symbol>
<symbol name="JST-PH6">
<pin name="P$1" x="2.54" y="2.54" visible="off" length="short" direction="pas"/>
<pin name="P$2" x="2.54" y="5.08" visible="off" length="short" direction="pas"/>
<pin name="P$3" x="2.54" y="7.62" visible="off" length="short" direction="pas"/>
<pin name="P$4" x="2.54" y="10.16" visible="off" length="short" direction="pas"/>
<pin name="P$5" x="2.54" y="12.7" visible="off" length="short" direction="pas"/>
<pin name="P$6" x="2.54" y="15.24" visible="off" length="short" direction="pas"/>
<circle x="6.0325" y="2.54" radius="0.9525" width="0.1524" layer="94"/>
<circle x="6.0325" y="5.08" radius="0.9525" width="0.1524" layer="94"/>
<circle x="6.0325" y="7.62" radius="0.9525" width="0.1524" layer="94"/>
<circle x="6.0325" y="10.16" radius="0.9525" width="0.1524" layer="94"/>
<circle x="6.0325" y="12.7" radius="0.9525" width="0.1524" layer="94"/>
<circle x="6.0325" y="15.24" radius="0.9525" width="0.1524" layer="94"/>
<wire x1="0" y1="0" x2="7.62" y2="0" width="0.1524" layer="94"/>
<wire x1="7.62" y1="0" x2="7.62" y2="17.78" width="0.1524" layer="94"/>
<wire x1="7.62" y1="17.78" x2="0" y2="17.78" width="0.1524" layer="94"/>
<wire x1="0" y1="17.78" x2="0" y2="0" width="0.1524" layer="94"/>
<text x="0" y="17.78" size="1.27" layer="95">>NAME</text>
</symbol>
</symbols>
<devicesets>
<deviceset name="DRIVER" prefix="A">
<gates>
<gate name="G$1" symbol="DRIVER" x="-17.78" y="-15.24"/>
</gates>
<devices>
<device name="" package="DRIVER">
<connects>
<connect gate="G$1" pin="!EN" pad="9"/>
<connect gate="G$1" pin="!RST" pad="13"/>
<connect gate="G$1" pin="!SLP" pad="14"/>
<connect gate="G$1" pin="1A" pad="4"/>
<connect gate="G$1" pin="1B" pad="3"/>
<connect gate="G$1" pin="2A" pad="5"/>
<connect gate="G$1" pin="2B" pad="6"/>
<connect gate="G$1" pin="DIR" pad="16"/>
<connect gate="G$1" pin="GND" pad="1 7"/>
<connect gate="G$1" pin="MS1" pad="10"/>
<connect gate="G$1" pin="MS2" pad="11"/>
<connect gate="G$1" pin="MS3" pad="12"/>
<connect gate="G$1" pin="STEP" pad="15"/>
<connect gate="G$1" pin="VIO" pad="2"/>
<connect gate="G$1" pin="VM" pad="8"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:16188684/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="+12V" prefix="P+">
<description>SUPPLY SYMBOL</description>
<gates>
<gate name="G$1" symbol="+12V" x="0" y="0"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="+3V3" prefix="P+">
<description>SUPPLY SYMBOL</description>
<gates>
<gate name="G$1" symbol="+3V3" x="0" y="0"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="CAPACITOR" prefix="C" uservalue="yes">
<gates>
<gate name="G$1" symbol="CAPACITOR" x="0" y="0"/>
</gates>
<devices>
<device name="0805" package="0805">
<connects>
<connect gate="G$1" pin="1" pad="P$1"/>
<connect gate="G$1" pin="2" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="0603" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:16053670/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="0402" package="0402">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:16053683/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="GND" prefix="GND">
<description>SUPPLY SYMBOL</description>
<gates>
<gate name="1" symbol="GND" x="0" y="0"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="RESISTOR" prefix="R" uservalue="yes">
<gates>
<gate name="G$1" symbol="RESISTOR" x="0" y="0"/>
</gates>
<devices>
<device name="0805" package="0805">
<connects>
<connect gate="G$1" pin="1" pad="P$1"/>
<connect gate="G$1" pin="2" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="0603" package="0603">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:16053670/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="0402" package="0402">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:16053683/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="SOLDER-JUMPER" prefix="J">
<gates>
<gate name="G$1" symbol="SOLDER-JUMPER" x="0" y="0"/>
</gates>
<devices>
<device name="" package="SOLDER-JUMPER">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="MMBT3904,215" prefix="Q">
<description>Trans GP BJT NPN 40V 0.2A 250mW Automotive 3-Pin TO-236AB T/R</description>
<gates>
<gate name="G$1" symbol="NPN" x="2.54" y="0"/>
</gates>
<devices>
<device name="MMBT3904,215" package="MMBT3904,215">
<connects>
<connect gate="G$1" pin="B" pad="1"/>
<connect gate="G$1" pin="C" pad="3"/>
<connect gate="G$1" pin="E" pad="2"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:12395711/1"/>
</package3dinstances>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="SOLDER-JUMPER-DUAL" prefix="J">
<gates>
<gate name="G$1" symbol="SOLDER-JUMPER-DUAL" x="0" y="0"/>
</gates>
<devices>
<device name="" package="SOLDER-JUMPER-DUAL">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
<connect gate="G$1" pin="C" pad="C"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="JST-PH6" prefix="J">
<gates>
<gate name="G$1" symbol="JST-PH6" x="0" y="0"/>
</gates>
<devices>
<device name="" package="JST-PH6">
<connects>
<connect gate="G$1" pin="P$1" pad="1"/>
<connect gate="G$1" pin="P$2" pad="2"/>
<connect gate="G$1" pin="P$3" pad="3"/>
<connect gate="G$1" pin="P$4" pad="4"/>
<connect gate="G$1" pin="P$5" pad="5"/>
<connect gate="G$1" pin="P$6" pad="6"/>
</connects>
<package3dinstances>
<package3dinstance package3d_urn="urn:adsk.eagle:package:16196389/1"/>
</package3dinstances>
<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="A1" library="z-axis-duplicator" deviceset="DRIVER" device="" package3d_urn="urn:adsk.eagle:package:16188684/1"/>
<part name="P+1" library="z-axis-duplicator" deviceset="+12V" device=""/>
<part name="P+2" library="z-axis-duplicator" deviceset="+3V3" device=""/>
<part name="C1" library="z-axis-duplicator" deviceset="CAPACITOR" device="0805" value="1uF"/>
<part name="C2" library="z-axis-duplicator" deviceset="CAPACITOR" device="0805" value="0.1uF"/>
<part name="GND1" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="GND2" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="GND3" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="A2" library="z-axis-duplicator" deviceset="DRIVER" device="" package3d_urn="urn:adsk.eagle:package:16188684/1"/>
<part name="P+3" library="z-axis-duplicator" deviceset="+12V" device=""/>
<part name="P+4" library="z-axis-duplicator" deviceset="+3V3" device=""/>
<part name="C3" library="z-axis-duplicator" deviceset="CAPACITOR" device="0805" value="1uF"/>
<part name="C4" library="z-axis-duplicator" deviceset="CAPACITOR" device="0805" value="0.1uF"/>
<part name="GND4" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="GND5" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="GND6" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="P+5" library="z-axis-duplicator" deviceset="+3V3" device=""/>
<part name="R1" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="20k"/>
<part name="J1" library="z-axis-duplicator" deviceset="SOLDER-JUMPER" device=""/>
<part name="R3" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="4.7k"/>
<part name="Q1" library="z-axis-duplicator" deviceset="MMBT3904,215" device="MMBT3904,215" package3d_urn="urn:adsk.eagle:package:12395711/1"/>
<part name="R4" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="4.7k"/>
<part name="Q2" library="z-axis-duplicator" deviceset="MMBT3904,215" device="MMBT3904,215" package3d_urn="urn:adsk.eagle:package:12395711/1"/>
<part name="R6" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="100k"/>
<part name="P+6" library="z-axis-duplicator" deviceset="+3V3" device=""/>
<part name="R2" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="4.7k"/>
<part name="GND7" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="R5" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="4.7k"/>
<part name="GND8" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="P+7" library="z-axis-duplicator" deviceset="+3V3" device=""/>
<part name="R7" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="16k"/>
<part name="Q3" library="z-axis-duplicator" deviceset="MMBT3904,215" device="MMBT3904,215" package3d_urn="urn:adsk.eagle:package:12395711/1"/>
<part name="GND9" library="z-axis-duplicator" deviceset="GND" device=""/>
<part name="R8" library="z-axis-duplicator" deviceset="RESISTOR" device="0805" value="20k"/>
<part name="J2" library="z-axis-duplicator" deviceset="SOLDER-JUMPER-DUAL" device=""/>
<part name="J3" library="z-axis-duplicator" deviceset="SOLDER-JUMPER-DUAL" device=""/>
<part name="J4" library="z-axis-duplicator" deviceset="JST-PH6" device="" package3d_urn="urn:adsk.eagle:package:16196389/1"/>
</parts>
<sheets>
<sheet>
<description>Main Driver</description>
<plain>
</plain>
<instances>
<instance part="A1" gate="G$1" x="-17.78" y="-15.24" smashed="yes">
<attribute name="NAME" x="5.08" y="10.16" size="1.778" layer="95"/>
</instance>
<instance part="P+1" gate="G$1" x="-2.54" y="22.86" smashed="yes">
<attribute name="VALUE" x="-3.175" y="25.4" size="1.778" layer="96" rot="R180" align="bottom-center"/>
</instance>
<instance part="P+2" gate="G$1" x="2.54" y="22.86" smashed="yes">
<attribute name="VALUE" x="3.175" y="25.4" size="1.778" layer="96" rot="R180" align="bottom-center"/>
</instance>
<instance part="C1" gate="G$1" x="-7.62" y="17.78" smashed="yes" rot="R180">
<attribute name="NAME" x="-7.62" y="16.8275" size="1.016" layer="95" rot="R180" align="bottom-center"/>
<attribute name="VALUE" x="-7.62" y="18.7325" size="1.016" layer="96" rot="R180" align="top-center"/>
</instance>
<instance part="C2" gate="G$1" x="7.62" y="17.78" smashed="yes" rot="R180">
<attribute name="NAME" x="7.62" y="16.8275" size="1.016" layer="95" rot="R180" align="bottom-center"/>
<attribute name="VALUE" x="7.62" y="18.7325" size="1.016" layer="96" rot="R180" align="top-center"/>
</instance>
<instance part="GND1" gate="1" x="-12.7" y="12.7" smashed="yes"/>
<instance part="GND2" gate="1" x="12.7" y="12.7" smashed="yes"/>
<instance part="GND3" gate="1" x="0" y="-20.32" smashed="yes"/>
</instances>
<busses>
</busses>
<nets>
<net name="GND" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="GND"/>
<pinref part="GND3" gate="1" pin="GND"/>
<wire x1="0" y1="-17.78" x2="0" y2="-15.24" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND1" gate="1" pin="GND"/>
<wire x1="-12.7" y1="15.24" x2="-12.7" y2="17.78" width="0.1524" layer="91"/>
<pinref part="C1" gate="G$1" pin="2"/>
<wire x1="-12.7" y1="17.78" x2="-10.16" y2="17.78" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="C2" gate="G$1" pin="1"/>
<wire x1="10.16" y1="17.78" x2="12.7" y2="17.78" width="0.1524" layer="91"/>
<pinref part="GND2" gate="1" pin="GND"/>
<wire x1="12.7" y1="17.78" x2="12.7" y2="15.24" width="0.1524" layer="91"/>
</segment>
</net>
<net name="!SLP" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="!SLP"/>
<wire x1="-25.4" y1="7.62" x2="-17.78" y2="7.62" width="0.1524" layer="91"/>

</segment>
</net>
<net name="!RST" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="!RST"/>
<wire x1="-25.4" y1="5.08" x2="-17.78" y2="5.08" width="0.1524" layer="91"/>

</segment>
</net>
<net name="!EN" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="!EN"/>
<wire x1="-25.4" y1="2.54" x2="-17.78" y2="2.54" width="0.1524" layer="91"/>

</segment>
</net>
<net name="MS1" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="MS1"/>
<wire x1="-25.4" y1="-2.54" x2="-17.78" y2="-2.54" width="0.1524" layer="91"/>

</segment>
</net>
<net name="MS2" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="MS2"/>
<wire x1="-25.4" y1="-5.08" x2="-17.78" y2="-5.08" width="0.1524" layer="91"/>

</segment>
</net>
<net name="MS3" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="MS3"/>
<wire x1="-25.4" y1="-7.62" x2="-17.78" y2="-7.62" width="0.1524" layer="91"/>

</segment>
</net>
<net name="STEP" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="STEP"/>
<wire x1="33.02" y1="7.62" x2="17.78" y2="7.62" width="0.1524" layer="91"/>

</segment>
</net>
<net name="MAIN_DIR" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="DIR"/>
<wire x1="33.02" y1="5.08" x2="17.78" y2="5.08" width="0.1524" layer="91"/>

</segment>
</net>
<net name="+12V" class="0">
<segment>
<pinref part="C1" gate="G$1" pin="1"/>
<wire x1="-5.08" y1="17.78" x2="-2.54" y2="17.78" width="0.1524" layer="91"/>
<pinref part="A1" gate="G$1" pin="VM"/>
<wire x1="-2.54" y1="17.78" x2="-2.54" y2="15.24" width="0.1524" layer="91"/>
<pinref part="P+1" gate="G$1" pin="+12V"/>
<wire x1="-2.54" y1="17.78" x2="-2.54" y2="20.32" width="0.1524" layer="91"/>
<junction x="-2.54" y="17.78"/>
</segment>
</net>
<net name="+3V3" class="0">
<segment>
<pinref part="A1" gate="G$1" pin="VIO"/>
<pinref part="P+2" gate="G$1" pin="+3V3"/>
<wire x1="2.54" y1="15.24" x2="2.54" y2="17.78" width="0.1524" layer="91"/>
<pinref part="C2" gate="G$1" pin="2"/>
<wire x1="2.54" y1="17.78" x2="2.54" y2="20.32" width="0.1524" layer="91"/>
<wire x1="2.54" y1="17.78" x2="5.08" y2="17.78" width="0.1524" layer="91"/>
<junction x="2.54" y="17.78"/>
</segment>
</net>
</nets>
</sheet>
<sheet>
<description>Duplicated Driver</description>
<plain>
</plain>
<instances>
<instance part="A2" gate="G$1" x="-17.78" y="-15.24" smashed="yes">
<attribute name="NAME" x="5.08" y="10.16" size="1.778" layer="95"/>
</instance>
<instance part="P+3" gate="G$1" x="-2.54" y="22.86" smashed="yes">
<attribute name="VALUE" x="-3.175" y="25.4" size="1.778" layer="96" rot="R180" align="bottom-center"/>
</instance>
<instance part="P+4" gate="G$1" x="2.54" y="22.86" smashed="yes">
<attribute name="VALUE" x="3.175" y="25.4" size="1.778" layer="96" rot="R180" align="bottom-center"/>
</instance>
<instance part="C3" gate="G$1" x="-7.62" y="17.78" smashed="yes" rot="R180">
<attribute name="NAME" x="-7.62" y="16.8275" size="1.016" layer="95" rot="R180" align="bottom-center"/>
<attribute name="VALUE" x="-7.62" y="18.7325" size="1.016" layer="96" rot="R180" align="top-center"/>
</instance>
<instance part="C4" gate="G$1" x="7.62" y="17.78" smashed="yes" rot="R180">
<attribute name="NAME" x="7.62" y="16.8275" size="1.016" layer="95" rot="R180" align="bottom-center"/>
<attribute name="VALUE" x="7.62" y="18.7325" size="1.016" layer="96" rot="R180" align="top-center"/>
</instance>
<instance part="GND4" gate="1" x="-12.7" y="12.7" smashed="yes"/>
<instance part="GND5" gate="1" x="12.7" y="12.7" smashed="yes"/>
<instance part="GND6" gate="1" x="0" y="-20.32" smashed="yes"/>
<instance part="J2" gate="G$1" x="35.56" y="2.54" smashed="yes" rot="R270">
<attribute name="NAME" x="36.5125" y="2.54" size="1.016" layer="95" rot="R270" align="bottom-center"/>
</instance>
<instance part="J3" gate="G$1" x="35.56" y="-7.62" smashed="yes" rot="R270">
<attribute name="NAME" x="36.5125" y="-7.62" size="1.016" layer="95" rot="R270" align="bottom-center"/>
</instance>
<instance part="J4" gate="G$1" x="55.88" y="-10.16" smashed="yes">
<attribute name="NAME" x="55.88" y="7.62" size="1.27" layer="95"/>
</instance>
</instances>
<busses>
</busses>
<nets>
<net name="GND" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="GND"/>
<pinref part="GND6" gate="1" pin="GND"/>
<wire x1="0" y1="-17.78" x2="0" y2="-15.24" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND4" gate="1" pin="GND"/>
<wire x1="-12.7" y1="15.24" x2="-12.7" y2="17.78" width="0.1524" layer="91"/>
<pinref part="C3" gate="G$1" pin="2"/>
<wire x1="-12.7" y1="17.78" x2="-10.16" y2="17.78" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="C4" gate="G$1" pin="1"/>
<wire x1="10.16" y1="17.78" x2="12.7" y2="17.78" width="0.1524" layer="91"/>
<pinref part="GND5" gate="1" pin="GND"/>
<wire x1="12.7" y1="17.78" x2="12.7" y2="15.24" width="0.1524" layer="91"/>
</segment>
</net>
<net name="!SLP" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="!SLP"/>
<wire x1="-25.4" y1="7.62" x2="-17.78" y2="7.62" width="0.1524" layer="91"/>

</segment>
</net>
<net name="!RST" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="!RST"/>
<wire x1="-25.4" y1="5.08" x2="-17.78" y2="5.08" width="0.1524" layer="91"/>

</segment>
</net>
<net name="!EN" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="!EN"/>
<wire x1="-25.4" y1="2.54" x2="-17.78" y2="2.54" width="0.1524" layer="91"/>

</segment>
</net>
<net name="MS1" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="MS1"/>
<wire x1="-25.4" y1="-2.54" x2="-17.78" y2="-2.54" width="0.1524" layer="91"/>

</segment>
</net>
<net name="MS2" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="MS2"/>
<wire x1="-25.4" y1="-5.08" x2="-17.78" y2="-5.08" width="0.1524" layer="91"/>

</segment>
</net>
<net name="MS3" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="MS3"/>
<wire x1="-25.4" y1="-7.62" x2="-17.78" y2="-7.62" width="0.1524" layer="91"/>

</segment>
</net>
<net name="STEP" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="STEP"/>
<wire x1="33.02" y1="7.62" x2="17.78" y2="7.62" width="0.1524" layer="91"/>

</segment>
</net>
<net name="+12V" class="0">
<segment>
<pinref part="C3" gate="G$1" pin="1"/>
<wire x1="-5.08" y1="17.78" x2="-2.54" y2="17.78" width="0.1524" layer="91"/>
<pinref part="A2" gate="G$1" pin="VM"/>
<wire x1="-2.54" y1="17.78" x2="-2.54" y2="15.24" width="0.1524" layer="91"/>
<pinref part="P+3" gate="G$1" pin="+12V"/>
<wire x1="-2.54" y1="17.78" x2="-2.54" y2="20.32" width="0.1524" layer="91"/>
<junction x="-2.54" y="17.78"/>
</segment>
</net>
<net name="+3V3" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="VIO"/>
<pinref part="P+4" gate="G$1" pin="+3V3"/>
<wire x1="2.54" y1="15.24" x2="2.54" y2="17.78" width="0.1524" layer="91"/>
<pinref part="C4" gate="G$1" pin="2"/>
<wire x1="2.54" y1="17.78" x2="2.54" y2="20.32" width="0.1524" layer="91"/>
<wire x1="2.54" y1="17.78" x2="5.08" y2="17.78" width="0.1524" layer="91"/>
<junction x="2.54" y="17.78"/>
</segment>
</net>
<net name="DUP_DIR" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="DIR"/>
<wire x1="33.02" y1="5.08" x2="17.78" y2="5.08" width="0.1524" layer="91"/>

</segment>
</net>
<net name="1A" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="1A"/>
<wire x1="17.78" y1="0" x2="27.94" y2="0" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="J4" gate="G$1" pin="P$6"/>
<wire x1="58.42" y1="5.08" x2="53.34" y2="5.08" width="0.1524" layer="91"/>
<wire x1="53.34" y1="5.08" x2="53.34" y2="2.54" width="0.1524" layer="91"/>
<pinref part="J4" gate="G$1" pin="P$5"/>
<wire x1="53.34" y1="2.54" x2="58.42" y2="2.54" width="0.1524" layer="91"/>
<wire x1="53.34" y1="5.08" x2="48.26" y2="5.08" width="0.1524" layer="91"/>
<junction x="53.34" y="5.08"/>

</segment>
</net>
<net name="2B" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="2B"/>
<wire x1="17.78" y1="-7.62" x2="27.94" y2="-7.62" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="J4" gate="G$1" pin="P$2"/>
<wire x1="58.42" y1="-5.08" x2="53.34" y2="-5.08" width="0.1524" layer="91"/>
<wire x1="53.34" y1="-5.08" x2="53.34" y2="-7.62" width="0.1524" layer="91"/>
<pinref part="J4" gate="G$1" pin="P$1"/>
<wire x1="53.34" y1="-7.62" x2="58.42" y2="-7.62" width="0.1524" layer="91"/>
<wire x1="53.34" y1="-7.62" x2="48.26" y2="-7.62" width="0.1524" layer="91"/>
<junction x="53.34" y="-7.62"/>

</segment>
</net>
<net name="N$6" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="1B"/>
<wire x1="17.78" y1="-2.54" x2="30.48" y2="-2.54" width="0.1524" layer="91"/>
<wire x1="30.48" y1="-2.54" x2="30.48" y2="2.54" width="0.1524" layer="91"/>
<pinref part="J2" gate="G$1" pin="C"/>
<wire x1="30.48" y1="2.54" x2="33.02" y2="2.54" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$8" class="0">
<segment>
<pinref part="A2" gate="G$1" pin="2A"/>
<wire x1="17.78" y1="-5.08" x2="30.48" y2="-5.08" width="0.1524" layer="91"/>
<pinref part="J3" gate="G$1" pin="C"/>
<wire x1="30.48" y1="-5.08" x2="30.48" y2="-7.62" width="0.1524" layer="91"/>
<wire x1="30.48" y1="-7.62" x2="33.02" y2="-7.62" width="0.1524" layer="91"/>
</segment>
</net>
<net name="1B" class="0">
<segment>
<pinref part="J2" gate="G$1" pin="2"/>
<pinref part="J3" gate="G$1" pin="1"/>
<wire x1="35.56" y1="0" x2="35.56" y2="-2.54" width="0.1524" layer="91"/>
<wire x1="35.56" y1="-2.54" x2="35.56" y2="-5.08" width="0.1524" layer="91"/>
<wire x1="35.56" y1="-2.54" x2="40.64" y2="-2.54" width="0.1524" layer="91"/>
<junction x="35.56" y="-2.54"/>

</segment>
<segment>
<pinref part="J4" gate="G$1" pin="P$4"/>
<wire x1="58.42" y1="0" x2="48.26" y2="0" width="0.1524" layer="91"/>

</segment>
</net>
<net name="2A" class="0">
<segment>
<pinref part="J3" gate="G$1" pin="2"/>
<wire x1="35.56" y1="-10.16" x2="35.56" y2="-12.7" width="0.1524" layer="91"/>
<wire x1="35.56" y1="-12.7" x2="43.18" y2="-12.7" width="0.1524" layer="91"/>
<wire x1="43.18" y1="-12.7" x2="43.18" y2="7.62" width="0.1524" layer="91"/>
<wire x1="43.18" y1="7.62" x2="35.56" y2="7.62" width="0.1524" layer="91"/>
<pinref part="J2" gate="G$1" pin="1"/>
<wire x1="35.56" y1="7.62" x2="35.56" y2="5.08" width="0.1524" layer="91"/>

</segment>
<segment>
<pinref part="J4" gate="G$1" pin="P$3"/>
<wire x1="58.42" y1="-2.54" x2="48.26" y2="-2.54" width="0.1524" layer="91"/>

</segment>
</net>
</nets>
</sheet>
<sheet>
<description>Direction Inversion</description>
<plain>
</plain>
<instances>
<instance part="P+5" gate="G$1" x="10.16" y="50.8" smashed="yes">
<attribute name="VALUE" x="10.16" y="53.34" size="1.778" layer="96" rot="R180" align="bottom-center"/>
</instance>
<instance part="R1" gate="G$1" x="10.16" y="43.18" smashed="yes" rot="R90">
<attribute name="NAME" x="9.2075" y="43.18" size="1.016" layer="95" rot="R90" align="bottom-center"/>
<attribute name="VALUE" x="11.1125" y="43.18" size="1.016" layer="96" rot="R90" align="top-center"/>
</instance>
<instance part="J1" gate="G$1" x="15.24" y="38.1" smashed="yes" rot="R180">
<attribute name="NAME" x="15.24" y="37.1475" size="1.016" layer="95" rot="R180" align="bottom-center"/>
</instance>
<instance part="R3" gate="G$1" x="45.72" y="38.1" smashed="yes">
<attribute name="NAME" x="45.72" y="39.0525" size="1.016" layer="95" align="bottom-center"/>
<attribute name="VALUE" x="45.72" y="37.1475" size="1.016" layer="96" align="top-center"/>
</instance>
<instance part="Q1" gate="G$1" x="53.34" y="38.1" smashed="yes">
<attribute name="NAME" x="53.34" y="40.64" size="1.778" layer="95" align="bottom-right"/>
</instance>
<instance part="R4" gate="G$1" x="60.96" y="30.48" smashed="yes">
<attribute name="NAME" x="60.96" y="31.4325" size="1.016" layer="95" align="bottom-center"/>
<attribute name="VALUE" x="60.96" y="29.5275" size="1.016" layer="96" align="top-center"/>
</instance>
<instance part="Q2" gate="G$1" x="68.58" y="30.48" smashed="yes">
<attribute name="NAME" x="68.58" y="33.02" size="1.778" layer="95" align="bottom-right"/>
</instance>
<instance part="R6" gate="G$1" x="71.12" y="50.8" smashed="yes" rot="R90">
<attribute name="NAME" x="70.1675" y="50.8" size="1.016" layer="95" rot="R90" align="bottom-center"/>
<attribute name="VALUE" x="72.0725" y="50.8" size="1.016" layer="96" rot="R90" align="top-center"/>
</instance>
<instance part="P+6" gate="G$1" x="71.12" y="58.42" smashed="yes">
<attribute name="VALUE" x="71.12" y="60.96" size="1.778" layer="96" rot="R180" align="bottom-center"/>
</instance>
<instance part="R2" gate="G$1" x="71.12" y="-5.08" smashed="yes" rot="R90">
<attribute name="NAME" x="70.1675" y="-5.08" size="1.016" layer="95" rot="R90" align="bottom-center"/>
<attribute name="VALUE" x="72.0725" y="-5.08" size="1.016" layer="96" rot="R90" align="top-center"/>
</instance>
<instance part="GND7" gate="1" x="71.12" y="-12.7" smashed="yes"/>
<instance part="R5" gate="G$1" x="55.88" y="15.24" smashed="yes" rot="R90">
<attribute name="NAME" x="54.9275" y="15.24" size="1.016" layer="95" rot="R90" align="bottom-center"/>
<attribute name="VALUE" x="56.8325" y="15.24" size="1.016" layer="96" rot="R90" align="top-center"/>
</instance>
<instance part="GND8" gate="1" x="55.88" y="7.62" smashed="yes"/>
<instance part="P+7" gate="G$1" x="48.26" y="33.02" smashed="yes">
<attribute name="VALUE" x="48.26" y="35.56" size="1.778" layer="96" rot="R180" align="bottom-center"/>
</instance>
<instance part="R7" gate="G$1" x="48.26" y="25.4" smashed="yes" rot="R90">
<attribute name="NAME" x="47.3075" y="25.4" size="1.016" layer="95" rot="R90" align="bottom-center"/>
<attribute name="VALUE" x="49.2125" y="25.4" size="1.016" layer="96" rot="R90" align="top-center"/>
</instance>
<instance part="Q3" gate="G$1" x="45.72" y="12.7" smashed="yes">
<attribute name="NAME" x="45.72" y="15.24" size="1.778" layer="95" align="bottom-right"/>
</instance>
<instance part="GND9" gate="1" x="48.26" y="2.54" smashed="yes"/>
<instance part="R8" gate="G$1" x="38.1" y="12.7" smashed="yes">
<attribute name="NAME" x="38.1" y="13.6525" size="1.016" layer="95" align="bottom-center"/>
<attribute name="VALUE" x="38.1" y="11.7475" size="1.016" layer="96" align="top-center"/>
</instance>
</instances>
<busses>
</busses>
<nets>
<net name="+3V3" class="0">
<segment>
<pinref part="R1" gate="G$1" pin="2"/>
<pinref part="P+5" gate="G$1" pin="+3V3"/>
<wire x1="10.16" y1="45.72" x2="10.16" y2="48.26" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="R6" gate="G$1" pin="2"/>
<wire x1="71.12" y1="55.88" x2="71.12" y2="53.34" width="0.1524" layer="91"/>
<pinref part="P+6" gate="G$1" pin="+3V3"/>
</segment>
<segment>
<pinref part="R7" gate="G$1" pin="2"/>
<pinref part="P+7" gate="G$1" pin="+3V3"/>
<wire x1="48.26" y1="27.94" x2="48.26" y2="30.48" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$1" class="0">
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
<wire x1="10.16" y1="40.64" x2="10.16" y2="38.1" width="0.1524" layer="91"/>
<pinref part="J1" gate="G$1" pin="2"/>
<wire x1="10.16" y1="38.1" x2="12.7" y2="38.1" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$3" class="0">
<segment>
<pinref part="R3" gate="G$1" pin="2"/>
<pinref part="Q1" gate="G$1" pin="B"/>
<wire x1="48.26" y1="38.1" x2="50.8" y2="38.1" width="0.1524" layer="91"/>
</segment>
</net>
<net name="N$4" class="0">
<segment>
<pinref part="R4" gate="G$1" pin="1"/>
<pinref part="Q1" gate="G$1" pin="E"/>
<wire x1="55.88" y1="30.48" x2="58.42" y2="30.48" width="0.1524" layer="91"/>
<wire x1="55.88" y1="30.48" x2="55.88" y2="33.02" width="0.1524" layer="91"/>
<pinref part="R5" gate="G$1" pin="2"/>
<wire x1="55.88" y1="17.78" x2="55.88" y2="20.32" width="0.1524" layer="91"/>
<junction x="55.88" y="30.48"/>
<pinref part="R7" gate="G$1" pin="1"/>
<wire x1="55.88" y1="20.32" x2="55.88" y2="30.48" width="0.1524" layer="91"/>
<wire x1="48.26" y1="22.86" x2="48.26" y2="20.32" width="0.1524" layer="91"/>
<wire x1="48.26" y1="20.32" x2="55.88" y2="20.32" width="0.1524" layer="91"/>
<junction x="55.88" y="20.32"/>
<pinref part="Q3" gate="G$1" pin="C"/>
<wire x1="48.26" y1="17.78" x2="48.26" y2="20.32" width="0.1524" layer="91"/>
<junction x="48.26" y="20.32"/>
</segment>
</net>
<net name="N$5" class="0">
<segment>
<pinref part="R4" gate="G$1" pin="2"/>
<pinref part="Q2" gate="G$1" pin="B"/>
<wire x1="63.5" y1="30.48" x2="66.04" y2="30.48" width="0.1524" layer="91"/>
</segment>
</net>
<net name="DUP_DIR" class="0">
<segment>
<pinref part="Q2" gate="G$1" pin="C"/>
<wire x1="71.12" y1="35.56" x2="71.12" y2="45.72" width="0.1524" layer="91"/>
<wire x1="71.12" y1="45.72" x2="55.88" y2="45.72" width="0.1524" layer="91"/>
<pinref part="Q1" gate="G$1" pin="C"/>
<wire x1="55.88" y1="45.72" x2="55.88" y2="43.18" width="0.1524" layer="91"/>
<pinref part="R6" gate="G$1" pin="1"/>
<wire x1="71.12" y1="48.26" x2="71.12" y2="45.72" width="0.1524" layer="91"/>
<junction x="71.12" y="45.72"/>

</segment>
</net>
<net name="N$7" class="0">
<segment>
<pinref part="Q2" gate="G$1" pin="E"/>
<wire x1="71.12" y1="25.4" x2="71.12" y2="0" width="0.1524" layer="91"/>
<wire x1="71.12" y1="0" x2="20.32" y2="0" width="0.1524" layer="91"/>
<pinref part="J1" gate="G$1" pin="1"/>
<wire x1="17.78" y1="38.1" x2="20.32" y2="38.1" width="0.1524" layer="91"/>
<wire x1="20.32" y1="38.1" x2="20.32" y2="0" width="0.1524" layer="91"/>
<pinref part="R3" gate="G$1" pin="1"/>
<wire x1="20.32" y1="38.1" x2="43.18" y2="38.1" width="0.1524" layer="91"/>
<junction x="20.32" y="38.1"/>
<pinref part="R2" gate="G$1" pin="2"/>
<wire x1="71.12" y1="-2.54" x2="71.12" y2="0" width="0.1524" layer="91"/>
<junction x="71.12" y="0"/>
</segment>
</net>
<net name="GND" class="0">
<segment>
<pinref part="GND7" gate="1" pin="GND"/>
<pinref part="R2" gate="G$1" pin="1"/>
<wire x1="71.12" y1="-10.16" x2="71.12" y2="-7.62" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="GND8" gate="1" pin="GND"/>
<pinref part="R5" gate="G$1" pin="1"/>
<wire x1="55.88" y1="10.16" x2="55.88" y2="12.7" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="Q3" gate="G$1" pin="E"/>
<wire x1="48.26" y1="7.62" x2="48.26" y2="5.08" width="0.1524" layer="91"/>
<pinref part="GND9" gate="1" pin="GND"/>
</segment>
</net>
<net name="N$2" class="0">
<segment>
<pinref part="R8" gate="G$1" pin="2"/>
<pinref part="Q3" gate="G$1" pin="B"/>
<wire x1="40.64" y1="12.7" x2="43.18" y2="12.7" width="0.1524" layer="91"/>
</segment>
</net>
<net name="MAIN_DIR" class="0">
<segment>
<pinref part="R8" gate="G$1" pin="1"/>
<wire x1="35.56" y1="12.7" x2="22.86" y2="12.7" width="0.1524" layer="91"/>

</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
<compatibility>
<note version="8.3" severity="warning">
Since Version 8.3, EAGLE supports URNs for individual library
assets (packages, symbols, and devices). The URNs of those assets
will not be understood (or retained) with this version.
</note>
<note version="8.3" severity="warning">
Since Version 8.3, EAGLE supports the association of 3D packages
with devices in libraries, schematics, and board files. Those 3D
packages will not be understood (or retained) with this version.
</note>
</compatibility>
</eagle>


text:
//
// Created by sebas on 6/11/19.
//

#include "EntradaJuego.h"

Accion *EntradaJuego::getAccion(SDL_Event *e) {
    const Uint8 *entrada = SDL_GetKeyboardState(nullptr);

    ACCION accion;
    if (entrada[SDL_SCANCODE_A]) {
        accion = GOLPEAR;
    } else if (entrada[SDL_SCANCODE_S]) {
        accion = SALTAR;
    } else if (entrada[SDL_SCANCODE_D]) {
        accion = AGACHAR;
    } else if (entrada[SDL_SCANCODE_LEFT] && entrada[SDL_SCANCODE_UP]) {
        accion = CAM_IZQUIERDA_ARRIBA;
    } else if (entrada[SDL_SCANCODE_LEFT] && entrada[SDL_SCANCODE_DOWN]) {
        accion = CAM_IZQUIERDA_ABAJO;
    } else if (entrada[SDL_SCANCODE_RIGHT] && entrada[SDL_SCANCODE_UP]) {
        accion = CAM_DERECHA_ARRIBA;
    } else if (entrada[SDL_SCANCODE_RIGHT] && entrada[SDL_SCANCODE_DOWN]) {
        accion = CAM_DERECHA_ABAJO;
    } else if (entrada[SDL_SCANCODE_LEFT]) {
        accion = CAM_IZQUIERDA;
    } else if (entrada[SDL_SCANCODE_RIGHT]) {
        accion = CAM_DERECHA;
    } else if (entrada[SDL_SCANCODE_UP]) {
        accion = CAM_ARRIBA;
    } else if (entrada[SDL_SCANCODE_DOWN]) {
        accion = CAM_ABAJO;
    } else if (e && e->type == SDL_KEYDOWN && e->key.keysym.sym == SDLK_t) {
        accion = MODOTEST;
    } else {
        accion = REPOSAR;
    }
    return new Accion(accion);
}

license: MIT

repository: seblaz/Final-Fight

license_type: permissive

repo_name: seblaz/Final-Fight

branch_name: refs/heads/master

gha_license_id: MIT

extension: cpp


text:
// Learn TypeScript:
//  - [Chinese] http://docs.cocos.com/creator/manual/zh/scripting/typescript.html
//  - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - [Chinese] http://docs.cocos.com/creator/manual/zh/scripting/reference/attributes.html
//  - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - [Chinese] http://docs.cocos.com/creator/manual/zh/scripting/life-cycle-callbacks.html
//  - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/life-cycle-callbacks.html

const {ccclass, property,disallowMultiple ,menu} = cc._decorator;

/**
 * 触摸区域获取
 */
@ccclass
@menu("添加特殊行为/General/Input Area (输入区域)")
@disallowMultiple
export default class BhvInputArea extends cc.Component {

    /**是否正在触摸该区域 */
    public isTouching:boolean = false;

    /** 是否悬浮在该区域上 */
    public isOverArea:boolean = false;

    private startTouchId:number = 0;

    public duration:number = 0;

    onEnable(){
        let node = this.node;
        node.on(cc.Node.EventType.TOUCH_START,this.onTouchStart,this,true);
        node.on(cc.Node.EventType.TOUCH_MOVE,this.onTouchMove,this,true);
        node.on(cc.Node.EventType.TOUCH_END,this.onTouchEnd,this,true);
        node.on(cc.Node.EventType.TOUCH_CANCEL,this.onTouchCancel,this,true);
        node.on(cc.Node.EventType.MOUSE_ENTER,this.onMouseEnter,this);
        node.on(cc.Node.EventType.MOUSE_LEAVE,this.onMouseLeave,this);
    }

    onDisable(){
        let node = this.node;
        node.off(cc.Node.EventType.TOUCH_START,this.onTouchStart,this,true);
        node.off(cc.Node.EventType.TOUCH_MOVE,this.onTouchMove,this,true);
        node.off(cc.Node.EventType.TOUCH_END,this.onTouchEnd,this,true);
        node.off(cc.Node.EventType.TOUCH_CANCEL,this.onTouchCancel,this,true);
        node.off(cc.Node.EventType.MOUSE_ENTER,this.onMouseEnter,this,true);
        node.off(cc.Node.EventType.MOUSE_LEAVE,this.onMouseLeave,this,true);
    }

    start () {

    }

    onMouseEnter(e:cc.Event.EventMouse){
        this.isOverArea = true;
    }

    onMouseLeave(e:cc.Event.EventMouse){
        this.isOverArea = false;
    }

    onTouchStart(e:cc.Touch){
        this.startTouchId = e.getID();
        this.isTouching = true;
    }

    onTouchMove(e:cc.Touch){
        if(e.getID()!== this.startTouchId)return;
        this.isTouching = true;
    }

    onTouchEnd(e:cc.Touch){
        if(e.getID()!== this.startTouchId)return;
        this.isTouching = false;
    }

    onTouchCancel(e:cc.Touch){
        if(e.getID()!== this.startTouchId)return;
        this.isTouching = false;
    }

    update (dt) {
        if(this.isTouching){
            this.duration += dt;
        }
    }
}

extension: ts


text:
<?xml version="1.0" encoding="UTF-8"?>
<drawing version="7">
    <attr value="xc9500xl" name="DeviceFamilyName">
        <trait delete="all:0" />
        <trait editname="all:0" />
        <trait edittrait="all:0" />
    </attr>
    <netlist>
        <signal name="CLOCK" />
        <signal name="XLXN_2" />
        <signal name="XLXN_3" />
        <signal name="RED_LED" />
        <signal name="XLXN_12" />
        <signal name="XLXN_13" />
        <signal name="XLXN_14" />
        <signal name="XLXN_20" />
        <signal name="XLXN_21" />
        <signal name="XLXN_23" />
        <signal name="XLXN_26" />
        <signal name="XLXN_27" />
        <signal name="XLXN_28" />
        <signal name="XLXN_31" />
        <signal name="XLXN_32" />
        <signal name="XLXN_33" />
        <signal name="XLXN_34" />
        <signal name="XLXN_36" />
        <signal name="XLXN_37" />
        <signal name="XLXN_38" />
        <signal name="XLXN_39" />
        <signal name="XLXN_40" />
        <signal name="XLXN_41" />
        <signal name="XLXN_42" />
        <signal name="XLXN_43" />
        <signal name="XLXN_47" />
        <signal name="XLXN_49" />
        <port polarity="Input" name="CLOCK" />
        <port polarity="Output" name="RED_LED" />
        <port polarity="Output" name="XLXN_12" />
        <port polarity="Output" name="XLXN_36" />
        <port polarity="Output" name="XLXN_37" />
        <port polarity="Output" name="XLXN_38" />
        <port polarity="Output" name="XLXN_39" />
        <port polarity="Output" name="XLXN_40" />
        <port polarity="Output" name="XLXN_41" />
        <port polarity="Output" name="XLXN_42" />
        <port polarity="Output" name="XLXN_43" />
        <blockdef name="fd">
            <timestamp>2000-1-1T10:10:10</timestamp>
            <line x2="80" y1="-112" y2="-128" x1="64" />
            <line x2="64" y1="-128" y2="-144" x1="80" />
            <line x2="320" y1="-256" y2="-256" x1="384" />
            <line x2="64" y1="-256" y2="-256" x1="0" />
            <line x2="64" y1="-128" y2="-128" x1="0" />
            <rect width="256" x="64" y="-320" height="256" />
        </blockdef>
        <blockdef name="nand2">
            <timestamp>2000-1-1T10:10:10</timestamp>
            <line x2="64" y1="-64" y2="-64" x1="0" />
            <line x2="64" y1="-128" y2="-128" x1="0" />
            <line x2="216" y1="-96" y2="-96" x1="256" />
            <circle r="12" cx="204" cy="-96" />
            <line x2="64" y1="-48" y2="-144" x1="64" />
            <line x2="144" y1="-144" y2="-144" x1="64" />
            <line x2="64" y1="-48" y2="-48" x1="144" />
            <arc ex="144" ey="-144" sx="144" sy="-48" r="48" cx="144" cy="-96" />
        </blockdef>
        <blockdef name="obuf">
            <timestamp>2000-1-1T10:10:10</timestamp>
            <line x2="64" y1="0" y2="-64" x1="64" />
            <line x2="64" y1="-32" y2="0" x1="128" />
            <line x2="128" y1="-64" y2="-32" x1="64" />
            <line x2="64" y1="-32" y2="-32" x1="0" />
            <line x2="128" y1="-32" y2="-32" x1="224" />
        </blockdef>
        <blockdef name="ibuf">
            <timestamp>2000-1-1T10:10:10</timestamp>
            <line x2="64" y1="0" y2="-64" x1="64" />
            <line x2="64" y1="-32" y2="0" x1="128" />
            <line x2="128" y1="-64" y2="-32" x1="64" />
            <line x2="128" y1="-32" y2="-32" x1="224" />
            <line x2="64" y1="-32" y2="-32" x1="0" />
        </blockdef>
        <blockdef name="vcc">
            <timestamp>2000-1-1T10:10:10</timestamp>
            <line x2="32" y1="-64" y2="-64" x1="96" />
            <line x2="64" y1="0" y2="-32" x1="64" />
            <line x2="64" y1="-32" y2="-64" x1="64" />
        </blockdef>
        <blockdef name="gnd">
            <timestamp>2000-1-1T10:10:10</timestamp>
            <line x2="64" y1="-128" y2="-96" x1="64" />
            <line x2="64" y1="-64" y2="-80" x1="64" />
            <line x2="40" y1="-64" y2="-64" x1="88" />
            <line x2="60" y1="-32" y2="-32" x1="68" />
            <line x2="52" y1="-48" y2="-48" x1="76" />
            <line x2="64" y1="-64" y2="-96" x1="64" />
        </blockdef>
        <blockdef name="cb4ce">
            <timestamp>2000-1-1T10:10:10</timestamp>
            <rect width="256" x="64" y="-512" height="448" />
            <line x2="64" y1="-32" y2="-32" x1="0" />
            <line x2="64" y1="-128" y2="-128" x1="0" />
            <line x2="320" y1="-256" y2="-256" x1="384" />
            <line x2="320" y1="-320" y2="-320" x1="384" />
            <line x2="320" y1="-384" y2="-384" x1="384" />
            <line x2="320" y1="-448" y2="-448" x1="384" />
            <line x2="64" y1="-128" y2="-144" x1="80" />
            <line x2="80" y1="-112" y2="-128" x1="64" />
            <line x2="320" y1="-128" y2="-128" x1="384" />
            <line x2="64" y1="-32" y2="-32" x1="192" />
            <line x2="192" y1="-64" y2="-32" x1="192" />
            <line x2="64" y1="-192" y2="-192" x1="0" />
            <line x2="320" y1="-192" y2="-192" x1="384" />
        </blockdef>
        <block symbolname="fd" name="XLXI_1">
            <blockpin signalname="XLXN_2" name="C" />
            <blockpin signalname="XLXN_49" name="D" />
            <blockpin signalname="XLXN_3" name="Q" />
        </block>
        <block symbolname="nand2" name="XLXI_2">
            <blockpin signalname="XLXN_3" name="I0" />
            <blockpin signalname="XLXN_3" name="I1" />
            <blockpin signalname="XLXN_49" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_3">
            <attr value="p2" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_3" name="I" />
            <blockpin signalname="RED_LED" name="O" />
        </block>
        <block symbolname="ibuf" name="XLXI_5">
            <attr value="p5" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="CLOCK" name="I" />
            <blockpin signalname="XLXN_2" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_10">
            <attr value="p1" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_49" name="I" />
            <blockpin signalname="XLXN_12" name="O" />
        </block>
        <block symbolname="cb4ce" name="XLXI_11">
            <blockpin signalname="XLXN_49" name="C" />
            <blockpin signalname="XLXN_14" name="CE" />
            <blockpin signalname="XLXN_20" name="CLR" />
            <blockpin signalname="XLXN_13" name="CEO" />
            <blockpin signalname="XLXN_26" name="Q0" />
            <blockpin signalname="XLXN_27" name="Q1" />
            <blockpin signalname="XLXN_28" name="Q2" />
            <blockpin signalname="XLXN_47" name="Q3" />
            <blockpin name="TC" />
        </block>
        <block symbolname="cb4ce" name="XLXI_12">
            <blockpin signalname="XLXN_49" name="C" />
            <blockpin signalname="XLXN_13" name="CE" />
            <blockpin signalname="XLXN_21" name="CLR" />
            <blockpin name="CEO" />
            <blockpin signalname="XLXN_31" name="Q0" />
            <blockpin signalname="XLXN_32" name="Q1" />
            <blockpin signalname="XLXN_33" name="Q2" />
            <blockpin signalname="XLXN_34" name="Q3" />
            <blockpin name="TC" />
        </block>
        <block symbolname="vcc" name="XLXI_13">
            <blockpin signalname="XLXN_14" name="P" />
        </block>
        <block symbolname="gnd" name="XLXI_15">
            <blockpin signalname="XLXN_20" name="G" />
        </block>
        <block symbolname="gnd" name="XLXI_16">
            <blockpin signalname="XLXN_21" name="G" />
        </block>
        <block symbolname="obuf" name="XLXI_17">
            <attr value="p11" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_26" name="I" />
            <blockpin signalname="XLXN_36" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_18">
            <attr value="p12" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_27" name="I" />
            <blockpin signalname="XLXN_37" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_19">
            <attr value="p13" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_28" name="I" />
            <blockpin signalname="XLXN_38" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_20">
            <attr value="p14" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_47" name="I" />
            <blockpin signalname="XLXN_39" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_21">
            <attr value="p18" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_31" name="I" />
            <blockpin signalname="XLXN_40" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_22">
            <attr value="p19" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_32" name="I" />
            <blockpin signalname="XLXN_41" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_23">
            <attr value="p20" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_33" name="I" />
            <blockpin signalname="XLXN_42" name="O" />
        </block>
        <block symbolname="obuf" name="XLXI_24">
            <attr value="p22" name="LOC">
                <trait verilog="all:0 wsynth:1" />
                <trait vhdl="all:0 wa:1 wd:1" />
            </attr>
            <blockpin signalname="XLXN_34" name="I" />
            <blockpin signalname="XLXN_43" name="O" />
        </block>
    </netlist>
    <sheet sheetnum="1" width="3520" height="2720">
        <instance x="944" y="1648" name="XLXI_1" orien="R0" />
        <instance x="496" y="1552" name="XLXI_5" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="64" y="32" type="instance" />
        </instance>
        <branch name="CLOCK">
            <wire x2="496" y1="1520" y2="1520" x1="464" />
        </branch>
        <iomarker fontsize="28" x="464" y="1520" name="CLOCK" orien="R180" />
        <branch name="XLXN_2">
            <wire x2="944" y1="1520" y2="1520" x1="720" />
        </branch>
        <branch name="XLXN_3">
            <wire x2="1456" y1="1008" y2="1008" x1="1312" />
            <wire x2="1456" y1="1008" y2="1072" x1="1456" />
            <wire x2="1456" y1="1072" y2="1392" x1="1456" />
            <wire x2="1536" y1="1392" y2="1392" x1="1456" />
            <wire x2="1456" y1="1072" y2="1072" x1="1312" />
            <wire x2="1456" y1="1392" y2="1392" x1="1328" />
        </branch>
        <instance x="1312" y="1136" name="XLXI_2" orien="M0" />
        <branch name="RED_LED">
            <wire x2="1792" y1="1392" y2="1392" x1="1760" />
        </branch>
        <instance x="1536" y="1424" name="XLXI_3" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="64" y="32" type="instance" />
        </instance>
        <iomarker fontsize="28" x="1792" y="1392" name="RED_LED" orien="R0" />
        <instance x="1536" y="848" name="XLXI_10" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="80" y="32" type="instance" />
        </instance>
        <branch name="XLXN_12">
            <wire x2="1792" y1="816" y2="816" x1="1760" />
        </branch>
        <iomarker fontsize="28" x="1792" y="816" name="XLXN_12" orien="R0" />
        <instance x="2064" y="624" name="XLXI_13" orien="R0" />
        <instance x="2176" y="1584" name="XLXI_12" orien="R0" />
        <branch name="XLXN_13">
            <wire x2="2128" y1="1056" y2="1360" x1="2128" />
            <wire x2="2128" y1="1360" y2="1392" x1="2128" />
            <wire x2="2176" y1="1392" y2="1392" x1="2128" />
            <wire x2="2640" y1="1056" y2="1056" x1="2128" />
            <wire x2="2640" y1="672" y2="672" x1="2560" />
            <wire x2="2640" y1="672" y2="1056" x1="2640" />
        </branch>
        <instance x="2112" y="992" name="XLXI_15" orien="R0" />
        <branch name="XLXN_21">
            <wire x2="2176" y1="1552" y2="1584" x1="2176" />
        </branch>
        <instance x="2112" y="1712" name="XLXI_16" orien="R0" />
        <instance x="2768" y="448" name="XLXI_17" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-48" type="instance" />
        </instance>
        <instance x="2768" y="512" name="XLXI_18" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-52" type="instance" />
        </instance>
        <instance x="2768" y="576" name="XLXI_19" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-52" type="instance" />
        </instance>
        <instance x="2768" y="640" name="XLXI_20" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-52" type="instance" />
        </instance>
        <instance x="2784" y="1168" name="XLXI_21" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-48" type="instance" />
        </instance>
        <instance x="2784" y="1296" name="XLXI_23" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-48" type="instance" />
        </instance>
        <instance x="2784" y="1360" name="XLXI_24" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-52" type="instance" />
        </instance>
        <instance x="2784" y="1232" name="XLXI_22" orien="R0">
            <attrtext style="fontsize:28;fontname:Arial;displayformat:NAMEEQUALSVALUE" attrname="LOC" x="-64" y="-52" type="instance" />
        </instance>
        <branch name="XLXN_27">
            <wire x2="2752" y1="480" y2="480" x1="2560" />
            <wire x2="2768" y1="480" y2="480" x1="2752" />
        </branch>
        <branch name="XLXN_28">
            <wire x2="2752" y1="544" y2="544" x1="2560" />
            <wire x2="2768" y1="544" y2="544" x1="2752" />
        </branch>
        <branch name="XLXN_31">
            <wire x2="2784" y1="1136" y2="1136" x1="2560" />
        </branch>
        <branch name="XLXN_32">
            <wire x2="2784" y1="1200" y2="1200" x1="2560" />
        </branch>
        <branch name="XLXN_33">
            <wire x2="2784" y1="1264" y2="1264" x1="2560" />
        </branch>
        <branch name="XLXN_34">
            <wire x2="2784" y1="1328" y2="1328" x1="2560" />
        </branch>
        <branch name="XLXN_36">
            <wire x2="3024" y1="416" y2="416" x1="2992" />
        </branch>
        <iomarker fontsize="28" x="3024" y="416" name="XLXN_36" orien="R0" />
        <branch name="XLXN_37">
            <wire x2="3024" y1="480" y2="480" x1="2992" />
        </branch>
        <iomarker fontsize="28" x="3024" y="480" name="XLXN_37" orien="R0" />
        <branch name="XLXN_38">
            <wire x2="3024" y1="544" y2="544" x1="2992" />
        </branch>
        <iomarker fontsize="28" x="3024" y="544" name="XLXN_38" orien="R0" />
        <branch name="XLXN_39">
            <wire x2="3008" y1="608" y2="608" x1="2992" />
            <wire x2="3024" y1="608" y2="608" x1="3008" />
        </branch>
        <iomarker fontsize="28" x="3024" y="608" name="XLXN_39" orien="R0" />
        <branch name="XLXN_40">
            <wire x2="3040" y1="1136" y2="1136" x1="3008" />
        </branch>
        <iomarker fontsize="28" x="3040" y="1136" name="XLXN_40" orien="R0" />
        <branch name="XLXN_41">
            <wire x2="3040" y1="1200" y2="1200" x1="3008" />
        </branch>
        <iomarker fontsize="28" x="3040" y="1200" name="XLXN_41" orien="R0" />
        <branch name="XLXN_42">
            <wire x2="3040" y1="1264" y2="1264" x1="3008" />
        </branch>
        <iomarker fontsize="28" x="3040" y="1264" name="XLXN_42" orien="R0" />
        <branch name="XLXN_43">
            <wire x2="3040" y1="1328" y2="1328" x1="3008" />
        </branch>
        <iomarker fontsize="28" x="3040" y="1328" name="XLXN_43" orien="R0" />
        <branch name="XLXN_47">
            <wire x2="2752" y1="608" y2="608" x1="2560" />
            <wire x2="2768" y1="608" y2="608" x1="2752" />
        </branch>
        <branch name="XLXN_26">
            <wire x2="2752" y1="416" y2="416" x1="2560" />
            <wire x2="2768" y1="416" y2="416" x1="2752" />
        </branch>
        <branch name="XLXN_20">
            <wire x2="2176" y1="832" y2="848" x1="2176" />
            <wire x2="2176" y1="848" y2="864" x1="2176" />
        </branch>
        <branch name="XLXN_49">
            <wire x2="816" y1="816" y2="1040" x1="816" />
            <wire x2="816" y1="1040" y2="1392" x1="816" />
            <wire x2="944" y1="1392" y2="1392" x1="816" />
            <wire x2="1056" y1="1040" y2="1040" x1="816" />
            <wire x2="1280" y1="816" y2="816" x1="816" />
            <wire x2="1536" y1="816" y2="816" x1="1280" />
            <wire x2="1280" y1="736" y2="816" x1="1280" />
            <wire x2="1984" y1="736" y2="736" x1="1280" />
            <wire x2="1984" y1="736" y2="1456" x1="1984" />
            <wire x2="2176" y1="1456" y2="1456" x1="1984" />
            <wire x2="2176" y1="736" y2="736" x1="1984" />
        </branch>
        <branch name="XLXN_14">
            <wire x2="2128" y1="624" y2="640" x1="2128" />
            <wire x2="2128" y1="640" y2="672" x1="2128" />
            <wire x2="2176" y1="672" y2="672" x1="2128" />
        </branch>
        <instance x="2176" y="864" name="XLXI_11" orien="R0" />
    </sheet>
</drawing>

repository: smuehlst/murano-experiments

repo_name: smuehlst/murano-experiments

extension: sch


text:
package cmd

import (
	"github.com/rsteube/carapace"
	"github.com/spf13/cobra"
)

var bisect_runCmd = &cobra.Command{
	Use:   "run",
	Short: "run script to automatically bisect",
	Run:   func(cmd *cobra.Command, args []string) {},
}

func init() {
	carapace.Gen(bisect_runCmd).Standalone()

	bisectCmd.AddCommand(bisect_runCmd)

	carapace.Gen(bisect_runCmd).PositionalCompletion(
		carapace.ActionFiles(),
	)
}

repository: rsteube/carapace-bin

repo_name: rsteube/carapace-bin

gha_language: Go

extension: go


text:
using System;
using System.IO;
using Microsoft.Framework.Caching.Redis;

namespace RedisCacheSample
{
    public class Program
    {
        /// <summary>
        /// This sample assumes that a redis server is running on the local machine. You can set this up by doing the following:
        /// Install this chocolatey package: http://chocolatey.org/packages/redis-64/
        /// run "redis-server" from command prompt.
        /// </summary>
        /// <param name="args"></param>
        public static void Main(string[] args)
        {
            string key = "myKey";
            object state = null;
            byte[] value = new byte[10];
            Stream valueStream;

            Console.WriteLine("Connecting to cache");
            var cache = new RedisCache(new RedisCacheOptions
            {
                Configuration = "localhost",
                InstanceName = "SampleInstance"
            });
            Console.WriteLine("Connected");

            Console.WriteLine("Setting");
            valueStream = cache.Set(key, state, context =>
            {
                context.Data.Write(value, 0, value.Length);
            });
            Console.WriteLine("Set");

            Console.WriteLine("Getting");
            if (cache.TryGetValue(key, out valueStream))
            {
                Console.WriteLine("Retrieved: " + valueStream);
            }
            else
            {
                Console.WriteLine("Not Found");
            }

            Console.WriteLine("Refreshing");
            cache.Refresh(key);
            Console.WriteLine("Refreshed");

            Console.WriteLine("Removing");
            cache.Remove(key);
            Console.WriteLine("Removed");

            Console.WriteLine("Getting");
            if (cache.TryGetValue(key, out valueStream))
            {
                Console.WriteLine("Retrieved: " + valueStream);
            }
            else
            {
                Console.WriteLine("Not Found");
            }

            Console.ReadLine();
        }
    }
}

repository: JesseQin/Caching

repo_name: JesseQin/Caching

branch_name: refs/heads/dev

extension: cs


text:
import { Category } from '../../models/categories';
import { Topic } from '../../models/rounds';
import { categories } from '../categoryContent';

describe('Content should be available for all categories', () => {
  test('Content is defined for all categories', () => {
    for (const t in Topic) {
      const topic: Topic = Topic[t] as Topic;
      expect(categories.getCategory(topic)).toBeInstanceOf(Category);
    }
  });
});

repository: conversationcoder/year-in-review

repo_name: conversationcoder/year-in-review


text:
package main

import (
	"fmt"
	"github.com/logrusorgru/aurora"
)

type logger struct{}

func (l *logger) Debug(message string) {
	fmt.Print(aurora.Yellow(message))
}

func (l *logger) Info(message string) {
	fmt.Print(aurora.Yellow(message))
}

func (l *logger) Warning(message string) {
	fmt.Print(aurora.Yellow(message))
}

func (l *logger) Err(message string) {
	fmt.Print(aurora.Red(message))
}

func (l *logger) Crit(message string) {
	fmt.Print(aurora.Red(message))
}

func (l *logger) Emerg(message string) {
	fmt.Print(aurora.Red(message))
}

repository: colinodell/go-check-ssl

repo_name: colinodell/go-check-ssl

branch_name: refs/heads/main


text:
import { assert } from '@quenk/test/lib/assert';

import { PrimFailure } from '../src/result/failure';
import { isBoolean, toBoolean } from '../src/boolean';

describe('boolean', function () {
    describe('isBoolean', function () {
        it('should fail if the value specified is not a boolean', function () {
            assert(isBoolean(true).takeRight()).be.true();
            assert(isBoolean(false).takeRight()).be.false();
            assert(isBoolean('12').takeLeft()).be.instance.of(PrimFailure);
        });
    });

    describe('toBoolean', function () {
        it('should work', function () {
            assert(toBoolean(Date).takeRight()).be.true();
            assert(toBoolean(undefined).takeRight()).be.false();
            assert(toBoolean(null).takeRight()).be.false();
            assert(toBoolean(true).takeRight()).be.true();
            assert(toBoolean(false).takeRight()).be.false();
        });
    });
});

repository: quenktechnologies/preconditions

repo_name: quenktechnologies/preconditions

gha_license_id: NOASSERTION

gha_language: TypeScript


text:
package agent_test

import (
	"github.com/gojektech/consul-envoy-xds/agent"
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestShouldUseDatacenterAsRegionForTheControlPlaneEndpoint(t *testing.T) {
	a := agent.NewAgent("localhost:8500", "", "dc1")
	locality := a.Locality()
	assert.Equal(t, "dc1", locality.Region)
}

func TestShouldHaveDCAndTokenInWatcherParams(t *testing.T) {
	a := agent.NewAgent("localhost:8500", "Foo", "dc1")
	assert.Equal(t, map[string]string{"datacenter": "dc1", "token": "Foo"}, a.WatchParams())
}

repository: awesomegolang/consul-envoy-xds

repo_name: awesomegolang/consul-envoy-xds


text:
package http

import (
	"github.com/dpb587/slack-delegate-bot/pkg/http"
	"github.com/dpb587/slack-delegate-bot/pkg/slack/event"
	"github.com/dpb587/slack-delegate-bot/pkg/slack/slash"
	"github.com/labstack/echo/v4"
	"go.uber.org/zap"
)

type Service struct {
	EventProcessor event.Processor
	SlashProcessor slash.Processor
	SigningSecret  string
	Logger         *zap.Logger
}

var _ http.Service = &Service{}

func (s *Service) InstallService(e *echo.Echo) {
	r := e.Group("/api/v1/slack")

	{
		r := r.Group("/event")
		h := NewEventHandler(s.EventProcessor, s.SigningSecret, s.Logger)

		r.POST("", h.Accept)
	}

	{
		r := r.Group("/slash")
		h := NewSlashHandler(s.SlashProcessor, s.SigningSecret, s.Logger)

		r.POST("", h.Accept)
	}
}


text:
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:

// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.

// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.

package git

import (
	"fmt"
	"os"
	"path/filepath"

	"github.com/logrusorgru/aurora"
	"github.com/retr0h/go-gilt/repository"
	"github.com/retr0h/go-gilt/util"
)

var (
	// RunCommand is mocked for tests.
	RunCommand = util.RunCmd
	// FilePathAbs is mocked for tests.
	FilePathAbs = filepath.Abs
)

// Git struct for adding methods.
type Git struct {
	Debug bool // Debug option set from CLI with debug state.
}

// NewGit factory to create a new Git instance.
func NewGit(debug bool) *Git {
	return &Git{
		Debug: debug,
	}
}

// Clone clone Repository.Git to Repository.getCloneDir, and hard checkout
// to Repository.Version.
func (g *Git) Clone(repository repository.Repository) error {
	cloneDir := repository.GetCloneDir()

	msg := fmt.Sprintf("[%s@%s]:", aurora.Magenta(repository.Git), aurora.Magenta(repository.Version))
	fmt.Println(msg)

	msg = fmt.Sprintf("%-2s - Cloning to '%s'", "", aurora.Cyan(cloneDir))
	fmt.Println(msg)

	if _, err := os.Stat(cloneDir); os.IsNotExist(err) {
		if err := g.clone(repository); err != nil {
			return err
		}

		if err := g.reset(repository); err != nil {
			return err
		}
	} else {
		bang := aurora.Bold(aurora.Red("!"))
		msg := fmt.Sprintf("%-2s %s %s", "", bang, aurora.Brown("Clone already exists"))
		fmt.Println(msg)
	}

	return nil
}

func (g *Git) clone(repository repository.Repository) error {
	cloneDir := repository.GetCloneDir()
	err := RunCommand(g.Debug, "git", "clone", repository.Git, cloneDir)

	return err
}

func (g *Git) reset(repository repository.Repository) error {
	cloneDir := repository.GetCloneDir()
	err := RunCommand(g.Debug, "git", "-C", cloneDir, "reset", "--hard", repository.Version)

	return err
}

// CheckoutIndex checkout Repository.Git to Repository.DstDir.
func (g *Git) CheckoutIndex(repository repository.Repository) error {
	cloneDir := repository.GetCloneDir()
	dstDir, err := FilePathAbs(repository.DstDir)
	if err != nil {
		return err
	}

	msg := fmt.Sprintf("%-2s - Extracting to '%s'", "", aurora.Cyan(dstDir))
	fmt.Println(msg)

	cmdArgs := []string{
		"-C",
		cloneDir,
		"checkout-index",
		"--force",
		"--all",
		"--prefix",
		// Trailing separator needed by git checkout-index.
		dstDir + string(os.PathSeparator),
	}
	if err := RunCommand(g.Debug, "git", cmdArgs...); err != nil {
		return err
	}

	return nil
}

repository: gavincampbell/go-gilt

repo_name: gavincampbell/go-gilt

branch_name: refs/heads/golang-port