text:
1="-12.192" y1="-0.254" x2="-10.541" y2="0.254" layer="21"/>
</package>
<package name="R0515/20.4">
<wire x1="-5.08" y1="2.032" x2="5.08" y2="2.032" width="0.127" layer="21"/>
<wire x1="5.08" y1="2.032" x2="5.715" y2="2.413" width="0.127" layer="21"/>
<wire x1="5.715" y1="2.413" x2="7.239" y2="2.413" width="0.127" layer="21"/>
<wire x1="7.239" y1="2.413" x2="7.62" y2="2.032" width="0.127" layer="21" curve="-90"/>
<wire x1="7.62" y1="2.032" x2="7.62" y2="-2.032" width="0.127" layer="21"/>
<wire x1="7.62" y1="-2.032" x2="7.239" y2="-2.413" width="0.127" layer="21" curve="-90"/>
<wire x1="7.239" y1="-2.413" x2="5.715" y2="-2.413" width="0.127" layer="21"/>
<wire x1="5.715" y1="-2.413" x2="5.08" y2="-2.032" width="0.127" layer="21"/>
<wire x1="5.08" y1="-2.032" x2="-5.08" y2="-2.032" width="0.127" layer="21"/>
<wire x1="-5.08" y1="-2.032" x2="-5.715" y2="-2.413" width="0.127" layer="21"/>
<wire x1="-5.715" y1="-2.413" x2="-7.239" y2="-2.413" width="0.127" layer="21"/>
<wire x1="-7.239" y1="-2.413" x2="-7.62" y2="-2.032" width="0.127" layer="21" curve="-90"/>
<wire x1="-7.62" y1="-2.032" x2="-7.62" y2="2.032" width="0.127" layer="21"/>
<wire x1="-7.62" y1="2.032" x2="-7.239" y2="2.413" width="0.127" layer="21" curve="-90"/>
<wire x1="-7.239" y1="2.413" x2="-5.715" y2="2.413" width="0.127" layer="21"/>
<wire x1="-5.715" y1="2.413" x2="-5.08" y2="2.032" width="0.127" layer="21"/>
<pad name="P$1" x="-10.2362" y="0" drill="1.0414" diameter="1.905"/>
<pad name="P$2" x="10.2362" y="0" drill="1.0414" diameter="1.905"/>
<text x="-3.81" y="2.54" size="1.778" layer="25" ratio="10">>NAME</text>
<text x="-4.445" y="-0.635" size="1.778" layer="27" ratio="10">>VALUE</text>
<text x="-1.905" y="-0.635" size="0.8128" layer="33" ratio="10">>NAME</text>
<rectangle x1="-9.144" y1="-0.3175" x2="-7.62" y2="0.3175" layer="21"/>
<rectangle x1="7.62" y1="-0.3175" x2="9.144" y2="0.3175" layer="21"/>
</package>
<package name="R0824/26">
<wire x1="6.508515625" y1="-3.6068" x2="-6.508515625" y2="-3.6068" width="0.127" layer="21"/>
<wire x1="-6.508515625" y1="-3.6068" x2="-6.6952625" y2="-3.63488125" width="0.127" layer="21" curve="17.102957"/>
<wire x1="-6.6952625" y1="-3.63488125" x2="-7.8335375" y2="-3.98511875" width="0.127" layer="21"/>
<wire x1="-7.8335375" y1="-3.98511875" x2="-8.020284375" y2="-4.0132" width="0.127" layer="21" curve="-17.102969"/>
<wire x1="-8.020284375" y1="-4.0132" x2="-11.3538" y2="-4.0132" width="0.127" layer="21"/>
<wire x1="-11.3538" y1="-4.0132" x2="-11.9888" y2="-3.3782" width="0.127" layer="21" curve="-90"/>
<wire x1="-11.9888" y1="-3.3782" x2="-11.9888" y2="3.3782" width="0.127" layer="21"/>
<wire x1="-11.9888" y1="3.3782" x2="-11.3538" y2="4.0132" width="0.127" layer="21" curve="-90"/>
<wire x1="-11.3538" y1="4.0132" x2="-8.020284375" y2="4.0132" width="0.127" layer="21"/>
<wire x1="-8.020284375" y1="4.0132" x2="-7.8335375" y2="3.98511875" width="0.127" layer="21" curve="-17.102957"/>
<wire x1="-7.8335375" y1="3.98511875" x2="-6.6952625" y2="3.63488125" width="0.127" layer="21"/>
<wire x1="-6.6952625" y1="3.63488125" x2="-6.508515625" y2="3.6068" width="0.127" layer="21" curve="17.102969"/>
<wire x1="-6.508515625" y1="3.6068" x2="6.508515625" y2="3.6068" width="0.127" layer="21"/>
<wire x1="6.508515625" y1="3.6068" x2="6.6952625" y2="3.63488125" width="0.127" layer="21" curve="17.102957"/>
<wire x1="6.6952625" y1="3.63488125" x2="7.8335375" y2="3.98511875" width="0.127" layer="21"/>
<wire x1="7.8335375" y1="3.98511875" x2="8.020284375" y2="4.0132" width="0.127" layer="21" curve="-17.102969"/>
<wire x1="8.020284375" y1="4.0132" x2="11.3538" y2="4.0132" width="0.127" layer="21"/>
<wire x1="11.3538" y1="4.0132" x2="11.9888" y2="3.3782" width="0.127" layer="21" curve="-90"/>
<wire x1="11.9888" y1="3.3782" x2="11.9888" y2="-3.3782" width="0.127" layer="21"/>
<wire x1="11.9888" y1="-3.3782" x2="11.3538" y2="-4.0132" width="0.127" layer="21" curve="-90"/>
<wire x1="11.3538" y1="-4.0132" x2="8.020284375" y2="-4.0132" width="0.127" layer="21"/>
<wire x1="8.020284375" y1="-4.0132" x2="7.8335375" y2="-3.98511875" width="0.127" layer="21" curve="-17.102957"/>
<wire x1="7.8335375" y1="-3.98511875" x2="6.6952625" y2="-3.63488125" width="0.127" layer="21"/>
<wire x1="6.6952625" y1="-3.63488125" x2="6.508515625" y2="-3.6068" width="0.127" layer="21" curve="17.102969"/>
<pad name="1" x="-13.335" y="0" drill="1.27" diameter="2.2098"/>
<pad name="2" x="13.335" y="0" drill="1.27" diameter="2.2098"/>
<text x="-4.445" y="3.683" size="1.778" layer="25" ratio="10">>name</text>
<text x="-4.699" y="-0.254" size="1.778" layer="27" ratio="10">>value</text>
</package>
<package name="LED-2P-2.54-6MM">
<wire x1="1.9049" y1="1.9049" x2="1.9049" y2="-1.9049" width="0.4064" layer="21" curve="278.795288"/>
<wire x1="1.9049" y1="-1.9049" x2="1.9049" y2="1.9049" width="0.4064" layer="21"/>
<wire x1="2.032" y1="1.905" x2="2.032" y2="-1.905" width="0.127" layer="39" curve="281.928974"/>
<wire x1="2.032" y1="-1.905" x2="2.032" y2="1.905" width="0.127" layer="39"/>
<pad name="+" x="-1.2698" y="0" drill="0.889" diameter="1.651" shape="octagon"/>
<pad name="-" x="1.2698" y="0" drill="0.889" diameter="1.651"/>
<text x="2.54" y="0.508" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-1.651" y="1.016" size="1.016" layer="21" ratio="10">+</text>
<text x="0.889" y="1.016" size="1.016" layer="21" ratio="10">-</text>
<text x="2.54" y="-1.524" size="1.27" layer="27" ratio="10">>VALUE</text>
<text x="0" y="-1.27" size="0.6096" layer="33" ratio="10" rot="R90">>name</text>
</package>
<package name="LED-2P-2.54-8.5X5-90D">
<wire x1="-2.5" y1="0" x2="2.5" y2="0" width="0.127" layer="49"/>
<wire x1="2.5" y1="0" x2="2.5" y2="6" width="0.127" layer="49"/>
<wire x1="2.5" y1="6" x2="0" y2="8.5" width="0.127" layer="49" curve="90"/>
<wire x1="0" y1="8.5" x2="-2.5" y2="6" width="0.127" layer="49" curve="90"/>
<wire x1="-2.5" y1="6" x2="-2.5" y2="0" width="0.127" layer="49"/>
<wire x1="-2.413" y1="6.223" x2="2.54" y2="6.223" width="0.127" layer="39" curve="-171.202589"/>
<wire x1="-2.413" y1="6.223" x2="-2.413" y2="0" width="0.127" layer="39"/>
<wire x1="-2.413" y1="0" x2="2.54" y2="0" width="0.127" layer="39"/>
<wire x1="2.54" y1="0" x2="2.54" y2="6.223" width="0.127" layer="39"/>
<pad name="+" x="-1.27" y="0" drill="0.889" diameter="1.651" shape="square"/>
<pad name="-" x="1.27" y="0" drill="0.889" diameter="1.651"/>
<text x="-1.905" y="0.762" size="1.778" layer="49" ratio="10">+</text>
<text x="0.635" y="0.762" size="1.778" layer="49" ratio="10">-</text>
<text x="-3.175" y="10.795" size="1.27" layer="49" ratio="10">>name</text>
<text x="-3.175" y="8.89" size="1.27" layer="49" ratio="10">>value</text>
<text x="-0.508" y="4.191" size="0.254" layer="33" ratio="10">>name</text>
<polygon width="0.127" layer="49">
<vertex x="2.54" y="0.635"/>
<vertex x="-3.175" y="0.635"/>
<vertex x="-3.175" y="0"/>
<vertex x="2.54" y="0"/>
</polygon>
</package>
<package name="LED-2P-2.54-4.8X2.54">
<wire x1="-2.54" y1="1.27" x2="-2.54" y2="-1.27" width="0.127" layer="21"/>
<wire x1="-2.54" y1="-1.27" x2="2.286" y2="-1.27" width="0.127" layer="21"/>
<wire x1="2.286" y1="-1.27" x2="2.794" y2="-1.27" width="0.127" layer="21"/>
<wire x1="2.794" y1="-1.27" x2="2.794" y2="1.27" width="0.127" layer="21"/>
<wire x1="2.794" y1="1.27" x2="2.286" y2="1.27" width="0.127" layer="21"/>
<wire x1="2.286" y1="1.27" x2="-2.54" y2="1.27" width="0.127" layer="21"/>
<wire x1="2.286" y1="1.27" x2="2.286" y2="-1.27" width="0.127" layer="21"/>
<pad name="A" x="-1.27" y="0" drill="0.8128"/>
<pad name="K" x="1.27" y="0" drill="0.8128"/>
<text x="-2.794" y="1.651" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-3.175" y="-2.921" size="1.27" layer="27" ratio="10">>VALUE</text>
<text x="-0.635" y="0.381" size="0.254" layer="33" ratio="10">>NAME</text>
<rectangle x1="-2.54" y1="-1.27" x2="2.794" y2="1.27" layer="39"/>
</package>
<package name="LED-0805">
<wire x1="1.5875" y1="0.889" x2="1.5875" y2="-0.889" width="0.127" layer="21"/>
<wire x1="1.5875" y1="-0.889" x2="-1.5875" y2="-0.889" width="0.127" layer="21"/>
<wire x1="-1.5875" y1="-0.889" x2="-1.5875" y2="0.889" width="0.127" layer="21"/>
<wire x1="-1.5875" y1="0.889" x2="1.5875" y2="0.889" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="0.508" x2="-0.1905" y2="0.254" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="0.254" x2="-0.1905" y2="0" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="0" x2="-0.1905" y2="-0.254" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="-0.254" x2="-0.1905" y2="-0.508" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="-0.508" x2="0" y2="-0.254" width="0.127" layer="21"/>
<wire x1="0" y1="-0.254" x2="0.1905" y2="0" width="0.127" layer="21"/>
<wire x1="0.1905" y1="0" x2="-0.1905" y2="0.508" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="0.508" x2="0.127" y2="-0.0635" width="0.127" layer="21"/>
<wire x1="0.127" y1="-0.0635" x2="-0.1905" y2="0.254" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="0.254" x2="0.0635" y2="-0.127" width="0.127" layer="21"/>
<wire x1="0.0635" y1="-0.127" x2="-0.1905" y2="0" width="0.127" layer="21"/>
<wire x1="-0.1905" y1="0" x2="0" y2="-0.254" width="0.127" layer="21"/>
<wire x1="0" y1="-0.254" x2="-0.1905" y2="-0.254" width="0.127" layer="21"/>
<smd name="+" x="-0.889" y="0" dx="0.889" dy="1.27" layer="1" roundness="25"/>
<smd name="-" x="0.889" y="0" dx="0.889" dy="1.27" layer="1" roundness="25"/>
<text x="-1.778" y="1.016" size="0.8128" layer="25" font="vector" ratio="10">>NAME</text>
<text x="-2.032" y="-1.8415" size="0.8128" layer="27" ratio="10">>VALUE</text>
<text x="-1.397" y="-0.254" size="0.635" layer="33" font="vector" ratio="10">>NAME</text>
<rectangle x1="-1.5875" y1="-0.889" x2="1.5875" y2="0.889" layer="39"/>
</package>
<package name="LED-2P-2.54-5MM">
<pad name="+" x="-1.2698" y="0" drill="0.889" diameter="1.651" shape="square"/>
<pad name="-" x="1.2698" y="0" drill="0.889" diameter="1.651"/>
<text x="2.54" y="0.508" size="1.27" layer="27" ratio="10">>NAME</text>
<text x="2.54" y="-1.524" size="1.27" layer="27" ratio="10">>VALUE</text>
<circle x="0" y="0" radius="2.5" width="0.127" layer="21"/>
</package>
<package name="LED-SIDE-VIEW-0603-LEFT">
<smd name="1" x="0" y="-0.95" dx="1" dy="1" layer="1" rot="R90"/>
<smd name="2" x="0" y="0.95" dx="1" dy="1" layer="1" rot="R90"/>
<polygon width="0.127" layer="21">
<vertex x="-0.381" y="-0.127"/>
<vertex x="0.381" y="-0.127"/>
<vertex x="0" y="0.254"/>
</polygon>
<wire x1="-0.7" y1="-1.65" x2="-0.7" y2="-0.6" width="0.127" layer="21"/>
<wire x1="-0.7" y1="-0.6" x2="-0.7" y2="0.6" width="0.127" layer="21"/>
<wire x1="-0.7" y1="0.6" x2="-0.7" y2="1.65" width="0.127" layer="21"/>
<wire x1="-0.7" y1="1.65" x2="0.7" y2="1.651" width="0.127" layer="21"/>
<wire x1="0.7" y1="1.651" x2="0.7" y2="-1.65" width="0.127" layer="21"/>
<wire x1="0.7" y1="-1.65" x2="-0.7" y2="-1.65" width="0.127" layer="21"/>
<text x="-1.651" y="-1.778" size="0.8128" layer="25" ratio="10" rot="R90">>NAME</text>
<text x="1.778" y="-1.778" size="0.8128" layer="27" ratio="10" rot="R90">>VALUE</text>
<rectangle x1="-1.651" y1="-0.635" x2="1.651" y2="0.635" layer="39" rot="R90"/>
<wire x1="-0.7" y1="-0.6" x2="-0.9" y2="-0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="-1.1" y1="-0.6" x2="-1.3" y2="-0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="-1.3" y1="-0.6" x2="-1.3" y2="-0.4" width="0.127" layer="21" style="dashdot"/>
<wire x1="-1.3" y1="-0.1" x2="-1.3" y2="0" width="0.127" layer="21" style="dashdot"/>
<wire x1="-1.3" y1="0.6" x2="-1.1" y2="0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="-0.9" y1="0.6" x2="-0.7" y2="0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="-1.3" y1="0.6" x2="-1.3" y2="0.4" width="0.127" layer="21" style="dashdot"/>
<wire x1="-1.3" y1="0" x2="-1.3" y2="0.1" width="0.127" layer="21" style="dashdot"/>
</package>
<package name="LED-SIDE-VIEW-0603-RIGHT">
<smd name="1" x="0" y="-0.95" dx="1" dy="1" layer="1" rot="R90"/>
<smd name="2" x="0" y="0.95" dx="1" dy="1" layer="1" rot="R90"/>
<polygon width="0.127" layer="21">
<vertex x="-0.381" y="-0.127"/>
<vertex x="0.381" y="-0.127"/>
<vertex x="0" y="0.254"/>
</polygon>
<wire x1="-0.7" y1="-1.65" x2="-0.7" y2="-0.6" width="0.127" layer="21"/>
<wire x1="-0.7" y1="-0.6" x2="-0.7" y2="0.6" width="0.127" layer="21"/>
<wire x1="-0.7" y1="0.6" x2="-0.7" y2="1.65" width="0.127" layer="21"/>
<wire x1="-0.7" y1="1.65" x2="0.7" y2="1.651" width="0.127" layer="21"/>
<wire x1="0.7" y1="1.651" x2="0.7" y2="-1.65" width="0.127" layer="21"/>
<wire x1="0.7" y1="-1.65" x2="-0.7" y2="-1.65" width="0.127" layer="21"/>
<text x="-1.016" y="-1.778" size="0.8128" layer="25" ratio="10" rot="R90">>NAME</text>
<text x="2.413" y="-1.778" size="0.8128" layer="27" ratio="10" rot="R90">>VALUE</text>
<rectangle x1="-1.651" y1="-0.635" x2="1.651" y2="0.635" layer="39" rot="R90"/>
<wire x1="0.7" y1="0.6" x2="0.9" y2="0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="1.1" y1="0.6" x2="1.3" y2="0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="1.3" y1="0.6" x2="1.3" y2="0.4" width="0.127" layer="21" style="dashdot"/>
<wire x1="1.3" y1="0.1" x2="1.3" y2="0" width="0.127" layer="21" style="dashdot"/>
<wire x1="1.3" y1="-0.6" x2="1.1" y2="-0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="0.9" y1="-0.6" x2="0.7" y2="-0.6" width="0.127" layer="21" style="dashdot"/>
<wire x1="1.3" y1="-0.6" x2="1.3" y2="-0.4" width="0.127" layer="21" style="dashdot"/>
<wire x1="1.3" y1="0" x2="1.3" y2="-0.1" width="0.127" layer="21" style="dashdot"/>
</package>
<package name="LED-1206">
<smd name="+" x="-1.6" y="0" dx="1.5" dy="1.5" layer="1"/>
<smd name="-" x="1.6" y="0" dx="1.5" dy="1.5" layer="1"/>
<wire x1="-1.6" y1="0.75" x2="1.6" y2="0.75" width="0.127" layer="21"/>
<wire x1="1.6" y1="0.75" x2="1.6" y2="-0.75" width="0.127" layer="21"/>
<wire x1="1.6" y1="-0.75" x2="-1.6" y2="-0.75" width="0.127" layer="21"/>
<wire x1="-1.6" y1="-0.75" x2="-1.6" y2="0.75" width="0.127" layer="21"/>
<wire x1="-0.254" y1="0.381" x2="-0.254" y2="-0.381" width="0.127" layer="21"/>
<polygon width="0.127" layer="21">
<vertex x="-0.381" y="0.508"/>
<vertex x="-0.381" y="-0.508"/>
<vertex x="0.381" y="0"/>
</polygon>
<text x="-3.175" y="1.27" size="1.6764" layer="25" ratio="11">>NAME</text>
<text x="-3.175" y="-2.54" size="1.6764" layer="27" ratio="11">>VALUE</text>
</package>
<package name="2P-SMD-1.78X1.27">
<wire x1="-0.635" y1="0.889" x2="0.635" y2="0.889" width="0.127" layer="21"/>
<wire x1="0.635" y1="0.889" x2="0.635" y2="-0.889" width="0.127" layer="21"/>
<wire x1="0.635" y1="-0.889" x2="-0.635" y2="-0.889" width="0.127" layer="21"/>
<wire x1="-0.635" y1="-0.889" x2="-0.635" y2="0.889" width="0.127" layer="21"/>
<wire x1="-0.508" y1="0.762" x2="0.508" y2="0.762" width="0" layer="39"/>
<wire x1="0.508" y1="0.762" x2="0.508" y2="-0.762" width="0" layer="39"/>
<wire x1="0.508" y1="-0.762" x2="-0.508" y2="-0.762" width="0" layer="39"/>
<wire x1="-0.508" y1="-0.762" x2="-0.508" y2="0.762" width="0" layer="39"/>
<smd name="1" x="0" y="0.381" dx="0.889" dy="0.6096" layer="1"/>
<smd name="2" x="0" y="-0.381" dx="0.889" dy="0.6096" layer="1"/>
<text x="-1.27" y="1.27" size="0.635" layer="25" ratio="10">>name</text>
<rectangle x1="-0.508" y1="-0.762" x2="0.508" y2="0.762" layer="41"/>
</package>
<package name="6P-2CH-2.5-9.1X3.5X3.2H-90D">
<wire x1="-4.55" y1="-1.75" x2="-4.55" y2="1.75" width="0.127" layer="21"/>
<wire x1="-4.55" y1="1.75" x2="4.55" y2="1.75" width="0.127" layer="21"/>
<wire x1="4.55" y1="1.75" x2="4.55" y2="-1.75" width="0.127" layer="21"/>
<wire x1="4.55" y1="-1.75" x2="0.75" y2="-1.75" width="0.127" layer="21"/>
<wire x1="0.75" y1="-1.75" x2="-0.75" y2="-1.75" width="0.127" layer="21"/>
<wire x1="-0.75" y1="-1.75" x2="-4.55" y2="-1.75" width="0.127" layer="21"/>
<wire x1="-0.75" y1="-1.75" x2="-0.75" y2="-4.95" width="0.127" layer="21"/>
<wire x1="-0.75" y1="-4.95" x2="0.75" y2="-4.95" width="0.127" layer="21"/>
<wire x1="0.75" y1="-4.95" x2="0.75" y2="-1.75" width="0.127" layer="21"/>
<pad name="COM1" x="0" y="-1.65" drill="0.8128" diameter="1.27" shape="octagon" rot="R90"/>
<pad name="COM2" x="0" y="1.65" drill="0.8128" diameter="1.27" shape="octagon" rot="R90"/>
<pad name="CH1A" x="-2.54" y="-1.65" drill="0.8128" diameter="1.27" rot="R90"/>
<pad name="CH1B" x="2.54" y="-1.65" drill="0.8128" diameter="1.27" rot="R90"/>
<pad name="CH2B" x="2.54" y="1.65" drill="0.8128" diameter="1.27" rot="R90"/>
<pad name="CH2A" x="-2.54" y="1.65" drill="0.8128" diameter="1.27" rot="R90"/>
<text x="-2.54" y="2.54" size="1.016" layer="25">>NAME</text>
<text x="-2.54" y="-0.635" size="1.016" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-4.55" y1="-1.75" x2="4.55" y2="1.75" layer="39"/>
</package>
<package name="6P-2CH-2.5-9.1X3.5X3.2H">
<wire x1="-4.55" y1="-1.75" x2="-4.55" y2="1.75" width="0.127" layer="21"/>
<wire x1="-4.55" y1="1.75" x2="4.55" y2="1.75" width="0.127" layer="21"/>
<wire x1="4.55" y1="1.75" x2="4.55" y2="-1.75" width="0.127" layer="21"/>
<wire x1="4.55" y1="-1.75" x2="-4.55" y2="-1.75" width="0.127" layer="21"/>
<pad name="COM1" x="0" y="-1.6" drill="0.8128" diameter="1.27" shape="octagon" rot="R90"/>
<pad name="COM2" x="0" y="1.524" drill="0.8128" diameter="1.27" shape="octagon" rot="R90"/>
<pad name="CH1A" x="-2.54" y="-1.6" drill="0.8128" diameter="1.27" rot="R90"/>
<pad name="CH1B" x="2.54" y="-1.6" drill="0.8128" diameter="1.27" rot="R90"/>
<pad name="CH2B" x="2.54" y="1.6" drill="0.8128" diameter="1.27" rot="R90"/>
<pad name="CH2A" x="-2.54" y="1.6" drill="0.8128" diameter="1.27" rot="R90"/>
<text x="-2.54" y="2.54" size="1.016" layer="25">>NAME</text>
<text x="-2.54" y="-3.81" size="1.016" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-1.75" y1="-4.55" x2="1.75" y2="4.55" layer="39" rot="R90"/>
</package>
<package name="6P-SMD-2CH-2.54-3.5X7.2">
<wire x1="-1.75" y1="3.6" x2="1.75" y2="3.6" width="0.127" layer="21"/>
<wire x1="1.75" y1="3.6" x2="1.75" y2="-3.6" width="0.127" layer="21"/>
<wire x1="1.75" y1="-3.6" x2="-1.75" y2="-3.6" width="0.127" layer="21"/>
<wire x1="-1.75" y1="-3.6" x2="-1.75" y2="3.6" width="0.127" layer="21"/>
<smd name="CH1A" x="-3.175" y="2.54" dx="1.27" dy="0.635" layer="1"/>
<smd name="COM1" x="-3.175" y="0" dx="1.27" dy="0.635" layer="1"/>
<smd name="CH1B" x="-3.175" y="-2.54" dx="1.27" dy="0.635" layer="1"/>
<smd name="CH2A" x="3.175" y="2.54" dx="1.27" dy="0.635" layer="1"/>
<smd name="COM2" x="3.175" y="0" dx="1.27" dy="0.635" layer="1"/>
<smd name="CH2B" x="3.175" y="-2.54" dx="1.27" dy="0.635" layer="1"/>
<text x="-3.175" y="3.937" size="1.27" layer="25" ratio="10">>name</text>
<text x="-3.302" y="-5.207" size="1.27" layer="27" ratio="10">>value</text>
<text x="0" y="-2.54" size="1.27" layer="33" ratio="10" rot="R90">>name</text>
<rectangle x1="-1.75" y1="-3.6" x2="1.75" y2="3.6" layer="39"/>
<hole x="0" y="1.524" drill="0.8128"/>
<hole x="0" y="-1.524" drill="0.8128"/>
</package>
<package name="6P-2CH-2.0-5.8X5.8X5.1H">
<wire x1="-2.9" y1="2.9" x2="2.9" y2="2.9" width="0.127" layer="21"/>
<wire x1="2.9" y1="2.9" x2="2.9" y2="-2.9" width="0.127" layer="21"/>
<wire x1="2.9" y1="-2.9" x2="-2.9" y2="-2.9" width="0.127" layer="21"/>
<wire x1="-2.9" y1="-2.9" x2="-2.9" y2="2.9" width="0.127" layer="21"/>
<pad name="CH1A" x="-2" y="2.25" drill="1" diameter="1.6"/>
<pad name="COM1" x="0.032" y="2.25" drill="1" diameter="1.6"/>
<pad name="CH1B" x="2" y="2.25" drill="1" diameter="1.6"/>
<pad name="CH2A" x="-2" y="-2.25" drill="1" diameter="1.6"/>
<pad name="COM2" x="0" y="-2.25" drill="1" diameter="1.6"/>
<pad name="CH2B" x="2" y="-2.25" drill="1" diameter="1.6"/>
<text x="-1.905" y="3.175" size="0.889" layer="25" ratio="11">>NAME</text>
<text x="-1.905" y="-4.445" size="0.889" layer="27" ratio="11">>VALUE</text>
<rectangle x1="-2.9" y1="-2.9" x2="2.9" y2="2.9" layer="39"/>
</package>
<package name="R0204/5">
<description>RESISTOR

type 0204, grid 5 mm</description>
<wire x1="2.54" y1="0" x2="2.032" y2="0" width="0.508" layer="51"/>
<wire x1="-2.54" y1="0" x2="-2.032" y2="0" width="0.508" layer="51"/>
<wire x1="-1.778" y1="0.635" x2="-1.524" y2="0.889" width="0.1524" layer="21" curve="-90"/>
<wire x1="-1.778" y1="-0.635" x2="-1.524" y2="-0.889" width="0.1524" layer="21" curve="90"/>
<wire x1="1.524" y1="-0.889" x2="1.778" y2="-0.635" width="0.1524" layer="21" curve="90"/>
<wire x1="1.524" y1="0.889" x2="1.778" y2="0.635" width="0.1524" layer="21" curve="-90"/>
<wire x1="-1.778" y1="-0.635" x2="-1.778" y2="0.635" width="0.1524" layer="51"/>
<wire x1="-1.524" y1="0.889" x2="-1.27" y2="0.889" width="0.1524" layer="21"/>
<wire x1="-1.143" y1="0.762" x2="-1.27" y2="0.889" width="0.1524" layer="21"/>
<wire x1="-1.524" y1="-0.889" x2="-1.27" y2="-0.889" width="0.1524" layer="21"/>
<wire x1="-1.143" y1="-0.762" x2="-1.27" y2="-0.889" width="0.1524" layer="21"/>
<wire x1="1.143" y1="0.762" x2="1.27" y2="0.889" width="0.1524" layer="21"/>
<wire x1="1.143" y1="0.762" x2="-1.143" y2="0.762" width="0.1524" layer="21"/>
<wire x1="1.143" y1="-0.762" x2="1.27" y2="-0.889" width="0.1524" layer="21"/>
<wire x1="1.143" y1="-0.762" x2="-1.143" y2="-0.762" width="0.1524" layer="21"/>
<wire x1="1.524" y1="0.889" x2="1.27" y2="0.889" width="0.1524" layer="21"/>
<wire x1="1.524" y1="-0.889" x2="1.27" y2="-0.889" width="0.1524" layer="21"/>
<wire x1="1.778" y1="-0.635" x2="1.778" y2="0.635" width="0.1524" layer="51"/>
<pad name="1" x="-2.54" y="0" drill="0.8128" shape="octagon"/>
<pad name="2" x="2.54" y="0" drill="0.8128" shape="octagon"/>
<text x="-2.1336" y="1.0414" size="0.9906" layer="25" ratio="12">>NAME</text>
<text x="-1.6256" y="-0.4064" size="0.635" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-2.032" y1="-0.254" x2="-1.778" y2="0.254" layer="51"/>
<rectangle x1="1.778" y1="-0.254" x2="2.032" y2="0.254" layer="51"/>
</package>
<package name="R0207/10">
<description>RESISTOR

type 0207, grid 10 mm</description>
<wire x1="5.08" y1="0" x2="4.064" y2="0" width="0.6096" layer="51"/>
<wire x1="-5.08" y1="0" x2="-4.064" y2="0" width="0.6096" layer="51"/>
<wire x1="-3.175" y1="0.889" x2="-2.921" y2="1.143" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.175" y1="-0.889" x2="-2.921" y2="-1.143" width="0.1524" layer="21" curve="90"/>
<wire x1="2.921" y1="-1.143" x2="3.175" y2="-0.889" width="0.1524" layer="21" curve="90"/>
<wire x1="2.921" y1="1.143" x2="3.175" y2="0.889" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.175" y1="-0.889" x2="-3.175" y2="0.889" width="0.1524" layer="21"/>
<wire x1="-2.921" y1="1.143" x2="-2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="1.016" x2="-2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="-2.921" y1="-1.143" x2="-2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="-1.016" x2="-2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="1.016" x2="2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="1.016" x2="-2.413" y2="1.016" width="0.1524" layer="21"/>
<wire x1="2.413" y1="-1.016" x2="2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="-1.016" x2="-2.413" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="2.921" y1="1.143" x2="2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="2.921" y1="-1.143" x2="2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="3.175" y1="-0.889" x2="3.175" y2="0.889" width="0.1524" layer="21"/>
<pad name="1" x="-5.08" y="0" drill="0.8128" shape="octagon"/>
<pad name="2" x="5.08" y="0" drill="0.8128" shape="octagon"/>
<text x="-2.921" y="1.27" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-2.5146" y="-0.508" size="0.889" layer="27" ratio="10">>VALUE</text>
<rectangle x1="3.175" y1="-0.3048" x2="4.0386" y2="0.3048" layer="21"/>
<rectangle x1="-4.0386" y1="-0.3048" x2="-3.175" y2="0.3048" layer="21"/>
</package>
<package name="R0207/12">
<description>RESISTOR

type 0207, grid 12 mm</description>
<wire x1="6.35" y1="0" x2="5.334" y2="0" width="0.6096" layer="51"/>
<wire x1="-6.35" y1="0" x2="-5.334" y2="0" width="0.6096" layer="51"/>
<wire x1="-3.175" y1="0.889" x2="-2.921" y2="1.143" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.175" y1="-0.889" x2="-2.921" y2="-1.143" width="0.1524" layer="21" curve="90"/>
<wire x1="2.921" y1="-1.143" x2="3.175" y2="-0.889" width="0.1524" layer="21" curve="90"/>
<wire x1="2.921" y1="1.143" x2="3.175" y2="0.889" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.175" y1="-0.889" x2="-3.175" y2="0.889" width="0.1524" layer="21"/>
<wire x1="-2.921" y1="1.143" x2="-2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="1.016" x2="-2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="-2.921" y1="-1.143" x2="-2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="-1.016" x2="-2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="1.016" x2="2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="1.016" x2="-2.413" y2="1.016" width="0.1524" layer="21"/>
<wire x1="2.413" y1="-1.016" x2="2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="-1.016" x2="-2.413" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="2.921" y1="1.143" x2="2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="2.921" y1="-1.143" x2="2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="3.175" y1="-0.889" x2="3.175" y2="0.889" width="0.1524" layer="21"/>
<wire x1="4.445" y1="0" x2="4.064" y2="0" width="0.6096" layer="21"/>
<wire x1="-4.445" y1="0" x2="-4.064" y2="0" width="0.6096" layer="21"/>
<pad name="1" x="-6.35" y="0" drill="0.8128" shape="octagon"/>
<pad name="2" x="6.35" y="0" drill="0.8128" shape="octagon"/>
<text x="-2.794" y="1.27" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-2.54" y="-0.4318" size="0.889" layer="27" ratio="10">>VALUE</text>
<rectangle x1="3.175" y1="-0.3048" x2="4.0386" y2="0.3048" layer="21"/>
<rectangle x1="-4.0386" y1="-0.3048" x2="-3.175" y2="0.3048" layer="21"/>
<rectangle x1="4.445" y1="-0.3048" x2="5.3086" y2="0.3048" layer="21"/>
<rectangle x1="-5.3086" y1="-0.3048" x2="-4.445" y2="0.3048" layer="21"/>
</package>
<package name="R0207/7">
<description>RESISTOR

type 0207, grid 7.5 mm</description>
<wire x1="-3.81" y1="0" x2="-3.429" y2="0" width="0.6096" layer="51"/>
<wire x1="-3.175" y1="0.889" x2="-2.921" y2="1.143" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.175" y1="-0.889" x2="-2.921" y2="-1.143" width="0.1524" layer="21" curve="90"/>
<wire x1="2.921" y1="-1.143" x2="3.175" y2="-0.889" width="0.1524" layer="21" curve="90"/>
<wire x1="2.921" y1="1.143" x2="3.175" y2="0.889" width="0.1524" layer="21" curve="-90"/>
<wire x1="-3.175" y1="-0.889" x2="-3.175" y2="0.889" width="0.1524" layer="51"/>
<wire x1="-2.921" y1="1.143" x2="-2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="1.016" x2="-2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="-2.921" y1="-1.143" x2="-2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="-2.413" y1="-1.016" x2="-2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="1.016" x2="2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="1.016" x2="-2.413" y2="1.016" width="0.1524" layer="21"/>
<wire x1="2.413" y1="-1.016" x2="2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="2.413" y1="-1.016" x2="-2.413" y2="-1.016" width="0.1524" layer="21"/>
<wire x1="2.921" y1="1.143" x2="2.54" y2="1.143" width="0.1524" layer="21"/>
<wire x1="2.921" y1="-1.143" x2="2.54" y2="-1.143" width="0.1524" layer="21"/>
<wire x1="3.175" y1="-0.889" x2="3.175" y2="0.889" width="0.1524" layer="51"/>
<wire x1="3.429" y1="0" x2="3.81" y2="0" width="0.6096" layer="51"/>
<pad name="1" x="-3.81" y="0" drill="0.8128" shape="octagon"/>
<pad name="2" x="3.81" y="0" drill="0.8128" shape="octagon"/>
<text x="-2.794" y="1.397" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-2.54" y="-0.5588" size="0.889" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-3.429" y1="-0.3048" x2="-3.175" y2="0.3048" layer="51"/>
<rectangle x1="3.175" y1="-0.3048" x2="3.429" y2="0.3048" layer="51"/>
</package>
<package name="R1206">
<wire x1="-2.159" y1="1.016" x2="2.159" y2="1.016" width="0.127" layer="21"/>
<wire x1="2.159" y1="1.016" x2="2.159" y2="-1.016" width="0.127" layer="21"/>
<wire x1="2.159" y1="-1.016" x2="-2.159" y2="-1.016" width="0.127" layer="21"/>
<wire x1="-2.159" y1="-1.016" x2="-2.159" y2="1.016" width="0.127" layer="21"/>
<smd name="1" x="-1.27" y="0" dx="1.27" dy="1.524" layer="1"/>
<smd name="2" x="1.27" y="0" dx="1.27" dy="1.524" layer="1"/>
<text x="-1.905" y="1.27" size="0.8128" layer="25" font="vector" ratio="10">>name</text>
<text x="-2.032" y="-0.381" size="0.8128" layer="27" font="vector" ratio="10">>value</text>
<rectangle x1="-2.032" y1="-0.889" x2="2.032" y2="0.889" layer="39"/>
</package>
<package name="R2512">
<description>2512</description>
<wire x1="-4.445" y1="1.905" x2="4.445" y2="1.905" width="0.127" layer="21"/>
<wire x1="4.445" y1="1.905" x2="4.445" y2="-1.905" width="0.127" layer="21"/>
<wire x1="4.445" y1="-1.905" x2="-4.445" y2="-1.905" width="0.127" layer="21"/>
<wire x1="-4.445" y1="-1.905" x2="-4.445" y2="1.905" width="0.127" layer="21"/>
<smd name="1" x="-3.175" y="0" dx="3.302" dy="2.032" layer="1" rot="R90"/>
<smd name="2" x="3.175" y="0" dx="3.302" dy="2.032" layer="1" rot="R90"/>
<text x="-2.032" y="2.032" size="0.8128" layer="25" font="vector" ratio="10">>NAME</text>
<text x="-2.54" y="-0.635" size="0.8128" layer="27" ratio="10">>VALUE</text>
<text x="-1.778" y="-0.254" size="0.8128" layer="33" font="vector" ratio="10">>NAME</text>
</package>
<package name="R0204SMD">
<wire x1="-0.95" y1="0.7" x2="-0.9464" y2="0.6964" width="0.127" layer="21"/>
<wire x1="-0.9464" y1="0.6964" x2="-0.5929" y2="0.55" width="0.127" layer="21" curve="44.99167"/>
<wire x1="-0.5929" y1="0.55" x2="0.5929" y2="0.55" width="0.127" layer="21"/>
<wire x1="0.5929" y1="0.55" x2="0.9464" y2="0.6964" width="0.127" layer="21" curve="44.99167"/>
<wire x1="0.9464" y1="0.6964" x2="0.95" y2="0.7" width="0.127" layer="21"/>
<wire x1="0.95" y1="-0.7" x2="0.9464" y2="-0.6964" width="0.127" layer="21"/>
<wire x1="0.9464" y1="-0.6964" x2="0.5929" y2="-0.55" width="0.127" layer="21" curve="44.99167"/>
<wire x1="0.5929" y1="-0.55" x2="-0.5929" y2="-0.55" width="0.127" layer="21"/>
<wire x1="-0.5929" y1="-0.55" x2="-0.9464" y2="-0.6964" width="0.127" layer="21" curve="44.99167"/>
<wire x1="-0.9464" y1="-0.6964" x2="-0.95" y2="-0.7" width="0.127" layer="21"/>
<wire x1="0.95" y1="0.7" x2="1.75" y2="0.7" width="0.127" layer="51"/>
<wire x1="1.75" y1="0.7" x2="1.75" y2="-0.7" width="0.127" layer="51"/>
<wire x1="1.75" y1="-0.7" x2="0.95" y2="-0.7" width="0.127" layer="51"/>
<wire x1="-0.95" y1="0.7" x2="-1.75" y2="0.7" width="0.127" layer="51"/>
<wire x1="-1.75" y1="0.7" x2="-1.75" y2="-0.7" width="0.127" layer="51"/>
<wire x1="-1.75" y1="-0.7" x2="-0.95" y2="-0.7" width="0.127" layer="51"/>
<smd name="1" x="-1.524" y="0" dx="1.397" dy="0.889" layer="1" roundness="50" rot="R90"/>
<smd name="2" x="1.524" y="0" dx="1.397" dy="0.889" layer="1" roundness="50" rot="R90"/>
<text x="-1.778" y="0.889" size="0.8128" layer="25" ratio="10">>name</text>
<text x="-1.016" y="-0.254" size="0.4064" layer="27" ratio="10">>value</text>
<text x="-1.397" y="-0.254" size="0.635" layer="33" ratio="10">>name</text>
<rectangle x1="-1.905" y1="-0.635" x2="1.905" y2="0.635" layer="39"/>
</package>
<package name="R0207SMD">
<wire x1="-1.6" y1="1.1" x2="-1.3804" y2="0.9431" width="0.127" layer="21"/>
<wire x1="-1.3804" y1="0.9431" x2="-1.0898" y2="0.85" width="0.127" layer="21" curve="35.541613"/>
<wire x1="-1.0898" y1="0.85" x2="1.0898" y2="0.85" width="0.127" layer="21"/>
<wire x1="1.0898" y1="0.85" x2="1.3804" y2="0.9431" width="0.127" layer="21" curve="35.534268"/>
<wire x1="1.3804" y1="0.9431" x2="1.6" y2="1.1" width="0.127" layer="21"/>
<wire x1="-1.6" y1="-1.1" x2="-1.3804" y2="-0.9431" width="0.127" layer="21"/>
<wire x1="-1.3804" y1="-0.9431" x2="-1.0898" y2="-0.85" width="0.127" layer="21" curve="-35.541613"/>
<wire x1="-1.0898" y1="-0.85" x2="1.0898" y2="-0.85" width="0.127" layer="21"/>
<wire x1="1.0898" y1="-0.85" x2="1.3804" y2="-0.9431" width="0.127" layer="21" curve="-35.534268"/>
<wire x1="1.3804" y1="-0.9431" x2="1.6" y2="-1.1" width="0.127" layer="21"/>
<wire x1="-1.6" y1="1.1" x2="-2.95" y2="1.1" width="0.127" layer="51"/>
<wire x1="-2.95" y1="1.1" x2="-2.95" y2="-1.1" width="0.127" layer="51"/>
<wire x1="-2.95" y1="-1.1" x2="-1.6" y2="-1.1" width="0.127" layer="51"/>
<wire x1="1.6" y1="1.1" x2="2.95" y2="1.1" width="0.127" layer="51"/>
<wire x1="2.95" y1="1.1" x2="2.95" y2="-1.1" width="0.127" layer="51"/>
<wire x1="2.95" y1="-1.1" x2="1.6" y2="-1.1" width="0.127" layer="51"/>
<smd name="1" x="-2.54" y="0" dx="2.159" dy="1.524" layer="1" roundness="50" rot="R90"/>
<smd name="2" x="2.54" y="0" dx="2.159" dy="1.524" layer="1" roundness="50" rot="R90"/>
<text x="-1.905" y="1.27" size="0.8128" layer="25" ratio="10">>name</text>
<text x="-1.524" y="-0.381" size="0.635" layer="27" ratio="10">>value</text>
<text x="-1.27" y="-0.254" size="0.635" layer="33" ratio="10">>name</text>
</package>
<package name="R7519/60.4">
<wire x1="-38.1" y1="9.525" x2="38.1" y2="9.525" width="0.127" layer="21"/>
<wire x1="38.1" y1="9.525" x2="38.1" y2="-9.525" width="0.127" layer="21"/>
<wire x1="38.1" y1="-9.525" x2="-38.1" y2="-9.525" width="0.127" layer="21"/>
<wire x1="-38.1" y1="-9.525" x2="-38.1" y2="9.525" width="0.127" layer="21"/>
<pad name="1" x="-30.226" y="2.54" drill="1.016" diameter="2.032" shape="long" rot="R90"/>
<pad name="2" x="-30.226" y="-2.54" drill="1.016" diameter="2.032" shape="long" rot="R90"/>
<pad name="3" x="30.226" y="2.54" drill="1.016" diameter="2.032" shape="long" rot="R90"/>
<pad name="4" x="30.226" y="-2.54" drill="1.016" diameter="2.032" shape="long" rot="R90"/>
<wire x1="-30.226" y1="1.524" x2="-30.226" y2="3.556" width="1.016" layer="46"/>
<wire x1="-30.226" y1="-3.556" x2="-30.226" y2="-1.524" width="1.016" layer="46"/>
<wire x1="30.226" y1="-3.556" x2="30.226" y2="-1.524" width="1.016" layer="46"/>
<wire x1="30.226" y1="1.524" x2="30.226" y2="3.556" width="1.016" layer="46"/>
<text x="-4.445" y="10.16" size="1.778" layer="25" ratio="10">>NAME</text>
<text x="-4.445" y="-1.778" size="1.778" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-38.1" y1="-9.525" x2="38.1" y2="9.525" layer="39"/>
</package>
<package name="R0402">
<wire x1="-0.762" y1="-0.4445" x2="-0.889" y2="-0.3175" width="0.0762" layer="21" curve="-90"/>
<wire x1="-0.889" y1="-0.3175" x2="-0.889" y2="0.3175" width="0.0762" layer="21"/>
<wire x1="-0.889" y1="0.3175" x2="-0.762" y2="0.4445" width="0.0762" layer="21" curve="-90"/>
<wire x1="-0.762" y1="0.4445" x2="0.762" y2="0.4445" width="0.0762" layer="21"/>
<wire x1="0.762" y1="0.4445" x2="0.889" y2="0.3175" width="0.0762" layer="21" curve="-90"/>
<wire x1="0.889" y1="0.3175" x2="0.889" y2="-0.3175" width="0.0762" layer="21"/>
<wire x1="0.889" y1="-0.3175" x2="0.762" y2="-0.4445" width="0.0762" layer="21" curve="-90"/>
<wire x1="0.762" y1="-0.4445" x2="-0.762" y2="-0.4445" width="0.0762" layer="21"/>
<smd name="1" x="-0.4445" y="0" dx="0.635" dy="0.635" layer="1" roundness="50"/>
<smd name="2" x="0.4445" y="0" dx="0.635" dy="0.635" layer="1" roundness="50"/>
<text x="-1.27" y="0.635" size="0.635" layer="25" ratio="10">>NAME</text>
<text x="-1.0795" y="-0.1905" size="0.4064" layer="27" font="vector" ratio="10">>VALUE</text>
</package>
<package name="R0603">
<wire x1="-1.397" y1="0.635" x2="1.397" y2="0.635" width="0.127" layer="21"/>
<wire x1="1.397" y1="0.635" x2="1.397" y2="-0.635" width="0.127" layer="21"/>
<wire x1="1.397" y1="-0.635" x2="-1.397" y2="-0.635" width="0.127" layer="21"/>
<wire x1="-1.397" y1="-0.635" x2="-1.397" y2="0.635" width="0.127" layer="21"/>
<smd name="1" x="-0.762" y="0" dx="0.889" dy="0.889" layer="1" roundness="25"/>
<smd name="2" x="0.762" y="0" dx="0.889" dy="0.889" layer="1" roundness="25"/>
<text x="-1.397" y="0.762" size="0.635" layer="25" ratio="10">>name</text>
<text x="-1.016" y="-0.1905" size="0.4064" layer="27" ratio="10">>value</text>
</package>
<package name="R0805">
<wire x1="1.651" y1="0.889" x2="1.651" y2="-0.889" width="0.127" layer="21"/>
<wire x1="1.651" y1="-0.889" x2="-1.651" y2="-0.889" width="0.127" layer="21"/>
<wire x1="-1.651" y1="-0.889" x2="-1.651" y2="0.889" width="0.127" layer="21"/>
<wire x1="-1.651" y1="0.889" x2="1.651" y2="0.889" width="0.127" layer="21"/>
<smd name="1" x="-0.889" y="0" dx="1.016" dy="1.397" layer="1" roundness="25"/>
<smd name="2" x="0.889" y="0" dx="1.016" dy="1.397" layer="1" roundness="25"/>
<text x="-1.778" y="1.016" size="0.8128" layer="25" font="vector" ratio="10">>NAME</text>
<text x="-1.016" y="-0.254" size="0.4064" layer="27" ratio="10">>VALUE</text>
</package>
<package name="LED-3528">
<wire x1="-1.75" y1="1.4" x2="1.75" y2="1.4" width="0.127" layer="21"/>
<wire x1="1.75" y1="1.4" x2="1.75" y2="-0.72315625" width="0.127" layer="21"/>
<wire x1="1.75" y1="-0.72315625" x2="1.07315625" y2="-1.4" width="0.127" layer="21"/>
<wire x1="1.07315625" y1="-1.4" x2="-1.75" y2="-1.4" width="0.127" layer="21"/>
<wire x1="-1.75" y1="-1.4" x2="-1.75" y2="1.4" width="0.127" layer="21"/>
<smd name="1" x="-1.5" y="0" dx="2.6" dy="1.5" layer="1" rot="R90"/>
<smd name="2" x="1.5" y="0" dx="2.6" dy="1.5" layer="1" rot="R90"/>
<text x="-3.81" y="1.905" size="1.778" layer="21" ratio="11">>NAME</text>
<text x="-4.445" y="-3.81" size="1.778" layer="27" ratio="11">>VALUE</text>
<rectangle x1="-1.75" y1="-1.4" x2="1.75" y2="1.4" layer="39"/>
<polygon width="0.127" layer="21">
<vertex x="-0.508" y="0.635"/>
<vertex x="0.508" y="0"/>
<vertex x="-0.508" y="-0.635"/>
</polygon>
</package>
<package name="LED-0402">
<smd name="+" x="-0.4445" y="0" dx="0.635" dy="0.635" layer="1" roundness="50" rot="R90"/>
<smd name="-" x="0.4445" y="0" dx="0.635" dy="0.635" layer="1" roundness="50" rot="R90"/>
<text x="-1.905" y="0.635" size="0.889" layer="25" ratio="11">>NAME</text>
<text x="-1.905" y="-0.635" size="0.635" layer="27" ratio="10">>VALUE</text>
<wire x1="-0.762" y1="-0.4445" x2="-0.889" y2="-0.3175" width="0.0762" layer="21" curve="-90"/>
<wire x1="-0.889" y1="-0.3175" x2="-0.889" y2="0.3175" width="0.0762" layer="21"/>
<wire x1="-0.889" y1="0.3175" x2="-0.762" y2="0.4445" width="0.0762" layer="21" curve="-90"/>
<wire x1="-0.762" y1="0.4445" x2="0.5715" y2="0.4445" width="0.0762" layer="21"/>
<wire x1="0.5715" y1="0.4445" x2="0.889" y2="0.127" width="0.0762" layer="21"/>
<wire x1="0.889" y1="0.127" x2="0.889" y2="-0.127" width="0.0762" layer="21"/>
<wire x1="0.889" y1="-0.127" x2="0.5715" y2="-0.4445" width="0.0762" layer="21"/>
<wire x1="0.5715" y1="-0.4445" x2="-0.762" y2="-0.4445" width="0.0762" layer="21"/>
</package>
</packages>
<symbols>
<symbol name="R">
<wire x1="-1.27" y1="0.508" x2="1.27" y2="0.508" width="0.254" layer="94"/>
<wire x1="1.27" y1="0.508" x2="1.27" y2="-0.508" width="0.254" layer="94"/>
<wire x1="1.27" y1="-0.508" x2="-1.27" y2="-0.508" width="0.254" layer="94"/>
<wire x1="-1.27" y1="-0.508" x2="-1.27" y2="0.508" width="0.254" layer="94"/>
<text x="-3.81" y="0" size="1.27" layer="95" ratio="10">>name</text>
<text x="2.54" y="0" size="1.27" layer="96" ratio="10">>value</text>
<pin name="1" x="-3.81" y="0" visible="off" length="short" direction="pas" swaplevel="1"/>
<pin name="2" x="3.81" y="0" visible="off" length="short" direction="pas" swaplevel="1" rot="R180"/>
</symbol>
<symbol name="LED">
<wire x1="-1.27" y1="-2.54" x2="-1.27" y2="2.54" width="0.254" layer="94"/>
<wire x1="-1.27" y1="2.54" x2="-1.143" y2="2.413" width="0.254" layer="94"/>
<wire x1="-1.143" y1="2.413" x2="-0.508" y2="1.778" width="0.254" layer="94"/>
<wire x1="-0.508" y1="1.778" x2="1.27" y2="0" width="0.254" layer="94"/>
<wire x1="1.27" y1="0" x2="-1.27" y2="-2.54" width="0.254" layer="94"/>
<wire x1="1.27" y1="2.54" x2="1.27" y2="-2.54" width="0.254" layer="94"/>
<wire x1="-1.143" y1="2.413" x2="0.889" y2="4.445" width="0.254" layer="94"/>
<wire x1="0.889" y1="4.445" x2="0.127" y2="4.318" width="0.254" layer="94"/>
<wire x1="0.889" y1="4.445" x2="0.762" y2="3.683" width="0.254" layer="94"/>
<wire x1="-0.508" y1="1.778" x2="1.524" y2="3.81" width="0.254" layer="94"/>
<wire x1="1.524" y1="3.81" x2="0.762" y2="3.683" width="0.254" layer="94"/>
<wire x1="1.524" y1="3.81" x2="1.397" y2="3.048" width="0.254" layer="94"/>
<text x="-3.81" y="0" size="1.27" layer="95">>name</text>
<text x="0" y="0" size="1.27" layer="96">>value</text>
<pin name="+" x="-3.81" y="0" visible="off" length="short" direction="pas"/>
<pin name="-" x="3.81" y="0" visible="off" length="short" direction="pas" rot="R180"/>
</symbol>
<symbol name="BUTTON_1">
<wire x1="-5.08" y1="5.08" x2="-5.08" y2="0" width="0.254" layer="94"/>
<wire x1="-5.08" y1="0" x2="5.08" y2="0" width="0.254" layer="94"/>
<wire x1="5.08" y1="0" x2="5.08" y2="5.08" width="0.254" layer="94"/>
<wire x1="5.08" y1="5.08" x2="2.54" y2="5.08" width="0.254" layer="94"/>
<wire x1="2.54" y1="5.08" x2="-2.54" y2="5.08" width="0.254" layer="94"/>
<wire x1="-2.54" y1="5.08" x2="-5.08" y2="5.08" width="0.254" layer="94"/>
<wire x1="-2.54" y1="5.08" x2="-2.54" y2="6.35" width="0.254" layer="94"/>
<wire x1="-2.54" y1="6.35" x2="2.54" y2="6.35" width="0.254" layer="94"/>
<wire x1="2.54" y1="6.35" x2="2.54" y2="5.08" width="0.254" layer="94"/>
<circle x="0" y="2.54" radius="1.796" width="0.254" layer="94"/>
<text x="-5.08" y="7.62" size="1.27" layer="95">>name</text>
<text x="-5.08" y="10.16" size="1.27" layer="96" ratio="10">>VALUE</text>
<pin name="1" x="-10.16" y="2.54" visible="off" length="middle"/>
<pin name="2" x="10.16" y="2.54" visible="off" length="middle" rot="R180"/>
</symbol>
<symbol name="JP_SW-1">
<text x="-2.54" y="2.794" size="1.27" layer="95" ratio="10">>name</text>
<pin name="1" x="2.54" y="-1.27" visible="off" length="short" rot="R180"/>
<pin name="2" x="2.54" y="1.27" visible="off" length="short" rot="R180"/>
<rectangle x1="-1.016" y1="0.254" x2="1.016" y2="2.286" layer="94" rot="R90"/>
<rectangle x1="-1.016" y1="-2.286" x2="1.016" y2="-0.254" layer="94" rot="R90"/>
</symbol>
<symbol name="2.54_SW_2CH">
<wire x1="-3.81" y1="3.81" x2="-2.54" y2="3.81" width="0.254" layer="94"/>
<wire x1="-2.54" y1="3.81" x2="2.54" y2="3.81" width="0.254" layer="94"/>
<wire x1="2.54" y1="3.81" x2="3.81" y2="3.81" width="0.254" layer="94"/>
<wire x1="3.81" y1="3.81" x2="3.81" y2="2.54" width="0.254" layer="94"/>
<wire x1="3.81" y1="2.54" x2="3.81" y2="-2.54" width="0.254" layer="94"/>
<wire x1="3.81" y1="-2.54" x2="3.81" y2="-3.81" width="0.254" layer="94"/>
<wire x1="3.81" y1="-3.81" x2="2.54" y2="-3.81" width="0.254" layer="94"/>
<wire x1="2.54" y1="-3.81" x2="-2.54" y2="-3.81" width="0.254" layer="94"/>
<wire x1="-2.54" y1="-3.81" x2="-3.81" y2="-3.81" width="0.254" layer="94"/>
<wire x1="-3.81" y1="-3.81" x2="-3.81" y2="-2.54" width="0.254" layer="94"/>
<wire x1="-3.81" y1="-2.54" x2="-3.81" y2="2.54" width="0.254" layer="94"/>
<wire x1="-3.81" y1="2.54" x2="-3.81" y2="3.81" width="0.254" layer="94"/>
<wire x1="-3.81" y1="2.54" x2="-2.54" y2="3.81" width="0.1524" layer="94"/>
<wire x1="-2.54" y1="3.81" x2="-1.27" y2="2.54" width="0.1524" layer="94"/>
<wire x1="-1.27" y1="2.54" x2="-2.54" y2="1.27" width="0.1524" layer="94"/>
<wire x1="-2.54" y1="1.27" x2="-3.81" y2="2.54" width="0.1524" layer="94"/>
<wire x1="-3.81" y1="-2.54" x2="-2.54" y2="-1.27" width="0.1524" layer="94"/>
<wire x1="-2.54" y1="-1.27" x2="-1.27" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="-1.27" y1="-2.54" x2="-2.54" y2="-3.81" width="0.1524" layer="94"/>
<wire x1="-2.54" y1="-3.81" x2="-3.81" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="3.81" y1="-2.54" x2="2.54" y2="-1.27" width="0.1524" layer="94"/>
<wire x1="2.54" y1="-1.27" x2="1.27" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="1.27" y1="-2.54" x2="2.54" y2="-3.81" width="0.1524" layer="94"/>
<wire x1="2.54" y1="-3.81" x2="3.81" y2="-2.54" width="0.1524" layer="94"/>
<wire x1="3.81" y1="2.54" x2="2.54" y2="3.81" width="0.1524" layer="94"/>
<wire x1="2.54" y1="3.81" x2="1.27" y2="2.54" width="0.1524" layer="94"/>
<wire x1="1.27" y1="2.54" x2="2.54" y2="1.27" width="0.1524" layer="94"/>
<wire x1="2.54" y1="1.27" x2="3.81" y2="2.54" width="0.1524" layer="94"/>
<text x="-3.81" y="3.81" size="1.27" layer="95">>name</text>
<text x="-3.81" y="5.08" size="1.27" layer="96" ratio="10">>value</text>
<pin name="COM1" x="-6.35" y="0" visible="pad" length="middle" function="dot"/>
<pin name="COM2" x="6.35" y="0" visible="pad" length="middle" function="dotclk" rot="R180"/>
<pin name="CH1A" x="-6.35" y="2.54" visible="pad" length="short"/>
<pin name="CH2A" x="6.35" y="2.54" visible="pad" length="short" rot="R180"/>
<pin name="CH1B" x="-6.35" y="-2.54" visible="pad" length="short"/>
<pin name="CH2B" x="6.35" y="-2.54" visible="pad" length="short" rot="R180"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="R*" prefix="R" uservalue="yes">
<gates>
<gate name="R" symbol="R" x="0" y="0" swaplevel="1"/>
</gates>
<devices>
<device name="-0204/5" package="R0204/5">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0204/7" package="R0204/7">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0204V" package="R0204V">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0207/10" package="R0207/10">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0207/12" package="R0207/12">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0207/2V" package="R0207V">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0207/5V" package="R0207/5">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0207/7" package="R0207/7">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0309/10" package="R0309/10">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0309/12" package="R0309/12">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0309/15" package="R0309/15">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0309/20" package="R0309/20">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0309V" package="R0309V">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-1206" package="R1206">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-2512" package="R2512">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0821/27-5W" package="R0821/27">
<connects>
<connect gate="R" pin="1" pad="P$1"/>
<connect gate="R" pin="2" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0204SMD" package="R0204SMD">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0207SMD" package="R0207SMD">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0515" package="R0515/20.4">
<connects>
<connect gate="R" pin="1" pad="P$1"/>
<connect gate="R" pin="2" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0824/26-5W" package="R0824/26">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-7519" package="R7519/60.4">
<connects>
<connect gate="R" pin="1" pad="1 2"/>
<connect gate="R" pin="2" pad="3 4"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0402" package="R0402">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0603" package="R0603">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-0805" package="R0805">
<connects>
<connect gate="R" pin="1" pad="1"/>
<connect gate="R" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="LED*" prefix="D" uservalue="yes">
<gates>
<gate name="LED" symbol="LED" x="0" y="0" swaplevel="1"/>
</gates>
<devices>
<device name="-6MM" package="LED-2P-2.54-6MM">
<connects>
<connect gate="LED" pin="+" pad="+"/>
<connect gate="LED" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-FLSH_LED" package="LED-2P-2.54-8.5X5-90D">
<connects>
<connect gate="LED" pin="+" pad="+"/>
<connect gate="LED" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-3MM" package="LED-2P-2.54-3MM">
<connects>
<connect gate="LED" pin="+" pad="A"/>
<connect gate="LED" pin="-" pad="K"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-SQUARE" package="LED-2P-2.54-4.8X2.54">
<connects>
<connect gate="LED" pin="+" pad="A"/>
<connect gate="LED" pin="-" pad="K"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'0603'" package="LED-0603">
<connects>
<connect gate="LED" pin="+" pad="+"/>
<connect gate="LED" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'0805'" package="LED-0805">
<connects>
<connect gate="LED" pin="+" pad="+"/>
<connect gate="LED" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'TEST'" package="LED-2P-2.54-5MM">
<connects>
<connect gate="LED" pin="+" pad="+"/>
<connect gate="LED" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'LEFT'" package="LED-SIDE-VIEW-0603-LEFT">
<connects>
<connect gate="LED" pin="+" pad="1"/>
<connect gate="LED" pin="-" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'RIGHT'" package="LED-SIDE-VIEW-0603-RIGHT">
<connects>
<connect gate="LED" pin="+" pad="1"/>
<connect gate="LED" pin="-" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'1206'" package="LED-1206">
<connects>
<connect gate="LED" pin="+" pad="+"/>
<connect gate="LED" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'3528'" package="LED-3528">
<connects>
<connect gate="LED" pin="+" pad="1"/>
<connect gate="LED" pin="-" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'0402'" package="LED-0402">
<connects>
<connect gate="LED" pin="+" pad="+"/>
<connect gate="LED" pin="-" pad="-"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="BOTTON-2P" prefix="K" uservalue="yes">
<gates>
<gate name="G$1" symbol="BUTTON_1" x="0" y="-2.54"/>
</gates>
<devices>
<device name="-SMD" package="2P-SMD-6.1X3.81">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="P$2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-90" package="2P-7.62X3.56-90D">
<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>
</devices>
</deviceset>
<deviceset name="PAD-JUMPER-2P" prefix="P" uservalue="yes">
<gates>
<gate name="G$1" symbol="JP_SW-1" x="0" y="0"/>
</gates>
<devices>
<device name="" package="2P-SMD-1.78X1.27">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="PARTNO" value="DNP"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="SWITCH-2CH-6P" prefix="SW" uservalue="yes">
<gates>
<gate name="G$1" symbol="2.54_SW_2CH" x="0" y="0"/>
</gates>
<devices>
<device name="'MS-22D18'" package="6P-2CH-2.5-9.1X3.5X3.2H">
<connects>
<connect gate="G$1" pin="CH1A" pad="CH1A"/>
<connect gate="G$1" pin="CH1B" pad="CH1B"/>
<connect gate="G$1" pin="CH2A" pad="CH2A"/>
<connect gate="G$1" pin="CH2B" pad="CH2B"/>
<connect gate="G$1" pin="COM1" pad="COM1"/>
<connect gate="G$1" pin="COM2" pad="COM2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="-SMD" package="6P-SMD-2CH-2.54-3.5X7.2">
<connects>
<connect gate="G$1" pin="CH1A" pad="CH1A"/>
<connect gate="G$1" pin="CH1B" pad="CH1B"/>
<connect gate="G$1" pin="CH2A" pad="CH2A"/>
<connect gate="G$1" pin="CH2B" pad="CH2B"/>
<connect gate="G$1" pin="COM1" pad="COM1"/>
<connect gate="G$1" pin="COM2" pad="COM2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'90D'" package="6P-2CH-2.5-9.1X3.5X3.2H-90D">
<connects>
<connect gate="G$1" pin="CH1A" pad="CH1A"/>
<connect gate="G$1" pin="CH1B" pad="CH1B"/>
<connect gate="G$1" pin="CH2A" pad="CH2A"/>
<connect gate="G$1" pin="CH2B" pad="CH2B"/>
<connect gate="G$1" pin="COM1" pad="COM1"/>
<connect gate="G$1" pin="COM2" pad="COM2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="'K85851D01'" package="6P-2CH-2.0-5.8X5.8X5.1H">
<connects>
<connect gate="G$1" pin="CH1A" pad="CH1A"/>
<connect gate="G$1" pin="CH1B" pad="CH1B"/>
<connect gate="G$1" pin="CH2A" pad="CH2A"/>
<connect gate="G$1" pin="CH2B" pad="CH2B"/>
<connect gate="G$1" pin="COM1" pad="COM1"/>
<connect gate="G$1" pin="COM2" pad="COM2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="Power or GND ">
<packages>
</packages>
<symbols>
<symbol name="GND_POWER">
<wire x1="-1.27" y1="-0.635" x2="0" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="0" y1="-0.635" x2="1.27" y2="-0.635" width="0.1524" layer="94"/>
<wire x1="-0.635" y1="-1.27" x2="0.635" y2="-1.27" width="0.1524" layer="94"/>
<wire x1="-0.3175" y1="-1.905" x2="0.3175" y2="-1.905" width="0.1524" layer="94"/>
<pin name="GND" x="0" y="0" visible="off" length="point" direction="sup" rot="R270"/>
<wire x1="0" y1="0" x2="0" y2="-0.635" width="0.1524" layer="94"/>
<text x="-1.905" y="-3.175" size="0.8128" layer="96">>VALUE</text>
</symbol>
</symbols>
<devicesets>
<deviceset name="GND_POWER" uservalue="yes">
<gates>
<gate name="G$1" symbol="GND_POWER" x="0" y="0"/>
</gates>
<devices>
<device name="">
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0.2032" drill="0.3048">
<clearance class="0" value="0.1524"/>
</class>
<class number="3" name="usbvcc" width="0.2032" drill="0.3048">
<clearance class="3" value="0.2032"/>
</class>
</classes>
<parts>
<part name="U$1" library="Logo" deviceset="SEEEDSTUDIO_SCH_FRAME" device=""/>
<part name="J1" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D0"/>
<part name="J2" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D2"/>
<part name="J4" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D4"/>
<part name="J6" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D6"/>
<part name="J8" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D8"/>
<part name="J9" library="Connector" deviceset="TWIG-4P-2.0" device="'90D'" value="A0"/>
<part name="J11" library="Connector" deviceset="TWIG-4P-2.0" device="'90D'" value="A2"/>
<part name="J13" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="IIC"/>
<part name="J14" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="IIC"/>
<part name="J15" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="IIC"/>
<part name="J16" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="IIC"/>
<part name="J10" library="Connector" deviceset="TWIG-4P-2.0" device="'90D'" value="A1"/>
<part name="J12" library="Connector" deviceset="TWIG-4P-2.0" device

license: MIT

license_type: permissive

branch_name: refs/heads/master


text:
="'90D'" value="A3"/>
<part name="RST" library="Discrete" deviceset="BOTTON-2P" device="-90" value="BOTTON-2P-DP"/>
<part name="J3" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D3"/>
<part name="J5" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D5"/>
<part name="J7" library="Connector" deviceset="TWIG-4P-2.0" device="-2.0" value="D7"/>
<part name="U2" library="moudle" deviceset="ARDUINO-38P" device="" value="DIP Long Blue Female Header"/>
<part name="P1" library="Discrete" deviceset="PAD-JUMPER-2P" device="" value="DNP"/>
<part name="P2" library="Discrete" deviceset="PAD-JUMPER-2P" device="" value="DNP"/>
<part name="R1" library="Discrete" deviceset="R*" device="-0603" value="1k"/>
<part name="PWR" library="Discrete" deviceset="LED*" device="-3MM" value="GREEN"/>
<part name="U$3" library="Power or GND " deviceset="GND_POWER" device=""/>
<part name="R2" library="Discrete" deviceset="R*" device="-0603" value="1k"/>
<part name="SW1" library="Discrete" deviceset="SWITCH-2CH-6P" device="'90D'"/>
</parts>
<sheets>
<sheet>
<plain>
<text x="110.49" y="101.6" size="1.27" layer="97" ratio="10">IIC</text>
</plain>
<instances>
<instance part="U$1" gate="G$1" x="0" y="0"/>
<instance part="J1" gate="G$1" x="114.3" y="152.4" rot="R180"/>
<instance part="J2" gate="G$1" x="130.81" y="152.4" rot="R180"/>
<instance part="J4" gate="G$1" x="163.83" y="152.4" rot="R180"/>
<instance part="J6" gate="G$1" x="196.85" y="152.4" rot="R180"/>
<instance part="J8" gate="G$1" x="228.6" y="152.4" rot="R180"/>
<instance part="J9" gate="G$1" x="114.3" y="130.81" rot="R180"/>
<instance part="J11" gate="G$1" x="148.59" y="130.81" rot="R180"/>
<instance part="J13" gate="G$1" x="114.3" y="110.49" rot="R180"/>
<instance part="J14" gate="G$1" x="134.62" y="110.49" rot="R180"/>
<instance part="J15" gate="G$1" x="156.21" y="110.49" rot="R180"/>
<instance part="J16" gate="G$1" x="176.53" y="110.49" rot="R180"/>
<instance part="J10" gate="G$1" x="132.08" y="130.81" rot="R180"/>
<instance part="J12" gate="G$1" x="166.37" y="130.81" rot="R180"/>
<instance part="RST" gate="G$1" x="63.5" y="53.34" rot="MR180"/>
<instance part="J3" gate="G$1" x="147.32" y="152.4" rot="R180"/>
<instance part="J5" gate="G$1" x="180.34" y="152.4" rot="R180"/>
<instance part="J7" gate="G$1" x="213.36" y="152.4" rot="R180"/>
<instance part="U2" gate="SEEEDUINO" x="53.34" y="127"/>
<instance part="P1" gate="G$1" x="66.04" y="82.55" rot="R90"/>
<instance part="P2" gate="G$1" x="76.2" y="82.55" rot="R90"/>
<instance part="R1" gate="R" x="33.02" y="45.72" rot="MR180"/>
<instance part="PWR" gate="LED" x="43.18" y="45.72"/>
<instance part="U$3" gate="G$1" x="74.93" y="43.18"/>
<instance part="R2" gate="R" x="33.02" y="50.8" rot="MR180"/>
<instance part="SW1" gate="G$1" x="134.62" y="45.72"/>
</instances>
<busses>
</busses>
<nets>
<net name="GND" class="0">
<segment>
<pinref part="J1" gate="G$1" pin="4"/>
<wire x1="118.11" y1="156.21" x2="123.19" y2="156.21" width="0.1524" layer="91"/>
<label x="119.38" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J2" gate="G$1" pin="4"/>
<wire x1="134.62" y1="156.21" x2="139.7" y2="156.21" width="0.1524" layer="91"/>
<label x="135.89" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J4" gate="G$1" pin="4"/>
<wire x1="167.64" y1="156.21" x2="172.72" y2="156.21" width="0.1524" layer="91"/>
<label x="168.91" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J6" gate="G$1" pin="4"/>
<wire x1="200.66" y1="156.21" x2="205.74" y2="156.21" width="0.1524" layer="91"/>
<label x="201.93" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J8" gate="G$1" pin="4"/>
<wire x1="232.41" y1="156.21" x2="237.49" y2="156.21" width="0.1524" layer="91"/>
<label x="233.68" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J9" gate="G$1" pin="4"/>
<wire x1="118.11" y1="134.62" x2="123.19" y2="134.62" width="0.1524" layer="91"/>
<label x="119.38" y="134.62" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J11" gate="G$1" pin="4"/>
<wire x1="152.4" y1="134.62" x2="157.48" y2="134.62" width="0.1524" layer="91"/>
<label x="153.67" y="134.62" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<wire x1="74.93" y1="43.18" x2="74.93" y2="45.72" width="0.1524" layer="91"/>
<pinref part="RST" gate="G$1" pin="2"/>
<wire x1="74.93" y1="45.72" x2="74.93" y2="50.8" width="0.1524" layer="91"/>
<wire x1="73.66" y1="50.8" x2="74.93" y2="50.8" width="0.1524" layer="91"/>
<pinref part="U$3" gate="G$1" pin="GND"/>
<wire x1="46.99" y1="45.72" x2="74.93" y2="45.72" width="0.1524" layer="91"/>
<junction x="74.93" y="45.72"/>
<pinref part="PWR" gate="LED" pin="-"/>
</segment>
<segment>
<pinref part="J13" gate="G$1" pin="4"/>
<wire x1="118.11" y1="114.3" x2="123.19" y2="114.3" width="0.1524" layer="91"/>
<label x="119.38" y="114.3" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J14" gate="G$1" pin="4"/>
<wire x1="138.43" y1="114.3" x2="143.51" y2="114.3" width="0.1524" layer="91"/>
<label x="139.7" y="114.3" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J15" gate="G$1" pin="4"/>
<wire x1="160.02" y1="114.3" x2="165.1" y2="114.3" width="0.1524" layer="91"/>
<label x="161.29" y="114.3" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J16" gate="G$1" pin="4"/>
<wire x1="180.34" y1="114.3" x2="185.42" y2="114.3" width="0.1524" layer="91"/>
<label x="181.61" y="114.3" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J10" gate="G$1" pin="4"/>
<wire x1="135.89" y1="134.62" x2="140.97" y2="134.62" width="0.1524" layer="91"/>
<label x="137.16" y="134.62" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J12" gate="G$1" pin="4"/>
<wire x1="170.18" y1="134.62" x2="175.26" y2="134.62" width="0.1524" layer="91"/>
<label x="171.45" y="134.62" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J3" gate="G$1" pin="4"/>
<wire x1="151.13" y1="156.21" x2="156.21" y2="156.21" width="0.1524" layer="91"/>
<label x="152.4" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J5" gate="G$1" pin="4"/>
<wire x1="184.15" y1="156.21" x2="189.23" y2="156.21" width="0.1524" layer="91"/>
<label x="185.42" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J7" gate="G$1" pin="4"/>
<wire x1="217.17" y1="156.21" x2="222.25" y2="156.21" width="0.1524" layer="91"/>
<label x="218.44" y="156.21" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="GND@0"/>
<wire x1="34.29" y1="157.48" x2="34.29" y2="163.83" width="0.1524" layer="91"/>
<label x="34.29" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="GND@2"/>
<wire x1="44.45" y1="96.52" x2="44.45" y2="90.17" width="0.1524" layer="91"/>
<label x="44.45" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="GND@1"/>
<wire x1="46.99" y1="96.52" x2="46.99" y2="90.17" width="0.1524" layer="91"/>
<label x="46.99" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="VCC" class="0">
<segment>
<pinref part="J1" gate="G$1" pin="3"/>
<wire x1="118.11" y1="153.67" x2="123.19" y2="153.67" width="0.1524" layer="91"/>
<label x="119.38" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J2" gate="G$1" pin="3"/>
<wire x1="134.62" y1="153.67" x2="139.7" y2="153.67" width="0.1524" layer="91"/>
<label x="135.89" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J4" gate="G$1" pin="3"/>
<wire x1="167.64" y1="153.67" x2="172.72" y2="153.67" width="0.1524" layer="91"/>
<label x="168.91" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J6" gate="G$1" pin="3"/>
<wire x1="200.66" y1="153.67" x2="205.74" y2="153.67" width="0.1524" layer="91"/>
<label x="201.93" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J8" gate="G$1" pin="3"/>
<wire x1="232.41" y1="153.67" x2="237.49" y2="153.67" width="0.1524" layer="91"/>
<label x="233.68" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J9" gate="G$1" pin="3"/>
<wire x1="118.11" y1="132.08" x2="123.19" y2="132.08" width="0.1524" layer="91"/>
<label x="119.38" y="132.08" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J11" gate="G$1" pin="3"/>
<wire x1="152.4" y1="132.08" x2="157.48" y2="132.08" width="0.1524" layer="91"/>
<label x="153.67" y="132.08" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<wire x1="29.21" y1="45.72" x2="26.67" y2="45.72" width="0.1524" layer="91"/>
<label x="25.4" y="49.53" size="1.778" layer="95" rot="R180"/>
<pinref part="R1" gate="R" pin="1"/>
<wire x1="26.67" y1="45.72" x2="24.13" y2="45.72" width="0.1524" layer="91"/>
<wire x1="26.67" y1="45.72" x2="26.67" y2="50.8" width="0.1524" layer="91"/>
<junction x="26.67" y="45.72"/>
<pinref part="R2" gate="R" pin="1"/>
<wire x1="26.67" y1="50.8" x2="29.21" y2="50.8" width="0.1524" layer="91"/>
</segment>
<segment>
<pinref part="J13" gate="G$1" pin="3"/>
<wire x1="118.11" y1="111.76" x2="123.19" y2="111.76" width="0.1524" layer="91"/>
<label x="119.38" y="111.76" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J14" gate="G$1" pin="3"/>
<wire x1="138.43" y1="111.76" x2="143.51" y2="111.76" width="0.1524" layer="91"/>
<label x="139.7" y="111.76" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J15" gate="G$1" pin="3"/>
<wire x1="160.02" y1="111.76" x2="165.1" y2="111.76" width="0.1524" layer="91"/>
<label x="161.29" y="111.76" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J16" gate="G$1" pin="3"/>
<wire x1="180.34" y1="111.76" x2="185.42" y2="111.76" width="0.1524" layer="91"/>
<label x="181.61" y="111.76" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J10" gate="G$1" pin="3"/>
<wire x1="135.89" y1="132.08" x2="140.97" y2="132.08" width="0.1524" layer="91"/>
<label x="137.16" y="132.08" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J12" gate="G$1" pin="3"/>
<wire x1="170.18" y1="132.08" x2="175.26" y2="132.08" width="0.1524" layer="91"/>
<label x="171.45" y="132.08" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J3" gate="G$1" pin="3"/>
<wire x1="151.13" y1="153.67" x2="156.21" y2="153.67" width="0.1524" layer="91"/>
<label x="152.4" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J5" gate="G$1" pin="3"/>
<wire x1="184.15" y1="153.67" x2="189.23" y2="153.67" width="0.1524" layer="91"/>
<label x="185.42" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J7" gate="G$1" pin="3"/>
<wire x1="217.17" y1="153.67" x2="222.25" y2="153.67" width="0.1524" layer="91"/>
<label x="218.44" y="153.67" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<wire x1="128.27" y1="45.72" x2="109.22" y2="45.72" width="0.1524" layer="91"/>
<label x="119.38" y="45.72" size="1.778" layer="95"/>
<pinref part="SW1" gate="G$1" pin="COM1"/>
<pinref part="SW1" gate="G$1" pin="COM2"/>
<wire x1="140.97" y1="45.72" x2="128.27" y2="45.72" width="0.1524" layer="91"/>
<junction x="128.27" y="45.72"/>
</segment>
</net>
<net name="A0" class="0">
<segment>
<pinref part="J9" gate="G$1" pin="1"/>
<wire x1="118.11" y1="127" x2="123.19" y2="127" width="0.1524" layer="91"/>
<label x="119.38" y="127" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PC0/AD0/D14"/>
<wire x1="59.69" y1="96.52" x2="59.69" y2="90.17" width="0.1524" layer="91"/>
<label x="59.69" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="A1" class="0">
<segment>
<pinref part="J9" gate="G$1" pin="2"/>
<wire x1="118.11" y1="129.54" x2="123.19" y2="129.54" width="0.1524" layer="91"/>
<label x="119.38" y="129.54" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J10" gate="G$1" pin="1"/>
<wire x1="135.89" y1="127" x2="140.97" y2="127" width="0.1524" layer="91"/>
<label x="137.16" y="127" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PC1/AD1/D15"/>
<wire x1="62.23" y1="96.52" x2="62.23" y2="90.17" width="0.1524" layer="91"/>
<label x="62.23" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="A2" class="0">
<segment>
<pinref part="J11" gate="G$1" pin="1"/>
<wire x1="152.4" y1="127" x2="157.48" y2="127" width="0.1524" layer="91"/>
<label x="153.67" y="127" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J10" gate="G$1" pin="2"/>
<wire x1="135.89" y1="129.54" x2="140.97" y2="129.54" width="0.1524" layer="91"/>
<label x="137.16" y="129.54" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PC2/AD2/D16"/>
<wire x1="64.77" y1="96.52" x2="64.77" y2="90.17" width="0.1524" layer="91"/>
<label x="64.77" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="A3" class="0">
<segment>
<pinref part="J11" gate="G$1" pin="2"/>
<wire x1="152.4" y1="129.54" x2="157.48" y2="129.54" width="0.1524" layer="91"/>
<label x="153.67" y="129.54" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J12" gate="G$1" pin="1"/>
<wire x1="170.18" y1="127" x2="175.26" y2="127" width="0.1524" layer="91"/>
<label x="171.45" y="127" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PC3/AD3/D17"/>
<wire x1="67.31" y1="96.52" x2="67.31" y2="90.17" width="0.1524" layer="91"/>
<label x="67.31" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="A4" class="0">
<segment>
<pinref part="J12" gate="G$1" pin="2"/>
<wire x1="170.18" y1="129.54" x2="175.26" y2="129.54" width="0.1524" layer="91"/>
<label x="171.45" y="129.54" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PC4/AD4/D18/SDA"/>
<wire x1="69.85" y1="96.52" x2="69.85" y2="86.36" width="0.1524" layer="91"/>
<label x="69.85" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
<pinref part="P1" gate="G$1" pin="1"/>
<wire x1="69.85" y1="86.36" x2="67.31" y2="86.36" width="0.1524" layer="91"/>
<wire x1="67.31" y1="86.36" x2="67.31" y2="85.09" width="0.1524" layer="91"/>
</segment>
</net>
<net name="3V3" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="3V3"/>
<wire x1="39.37" y1="96.52" x2="39.37" y2="90.17" width="0.1524" layer="91"/>
<label x="39.37" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
<segment>
<wire x1="128.27" y1="48.26" x2="119.38" y2="48.26" width="0.1524" layer="91"/>
<label x="119.38" y="48.26" size="1.778" layer="95"/>
<pinref part="SW1" gate="G$1" pin="CH1A"/>
<pinref part="SW1" gate="G$1" pin="CH2A"/>
<wire x1="128.27" y1="48.26" x2="140.97" y2="48.26" width="0.1524" layer="91"/>
<junction x="128.27" y="48.26"/>
</segment>
</net>
<net name="VIN" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="VIN"/>
<wire x1="49.53" y1="96.52" x2="49.53" y2="90.17" width="0.1524" layer="91"/>
<label x="49.53" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="A5" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PC5/AD5/D19/SCL"/>
<wire x1="72.39" y1="96.52" x2="72.39" y2="86.36" width="0.1524" layer="91"/>
<label x="72.39" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
<pinref part="P2" gate="G$1" pin="2"/>
<wire x1="72.39" y1="86.36" x2="74.93" y2="86.36" width="0.1524" layer="91"/>
<wire x1="74.93" y1="86.36" x2="74.93" y2="85.09" width="0.1524" layer="91"/>
</segment>
</net>
<net name="AREF" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="AREF"/>
<wire x1="31.75" y1="157.48" x2="31.75" y2="163.83" width="0.1524" layer="91"/>
<label x="31.75" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D13" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PB5/D13/SCK"/>
<wire x1="36.83" y1="157.48" x2="36.83" y2="163.83" width="0.1524" layer="91"/>
<label x="36.83" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D12" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PB4/D12/MISO"/>
<wire x1="39.37" y1="157.48" x2="39.37" y2="163.83" width="0.1524" layer="91"/>
<label x="39.37" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D11" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PB3/D11/MOSI/PWM"/>
<wire x1="41.91" y1="157.48" x2="41.91" y2="163.83" width="0.1524" layer="91"/>
<label x="41.91" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D10" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PB2/D10/SS/PWM"/>
<wire x1="44.45" y1="157.48" x2="44.45" y2="163.83" width="0.1524" layer="91"/>
<label x="44.45" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D9" class="0">
<segment>
<pinref part="J8" gate="G$1" pin="2"/>
<wire x1="232.41" y1="151.13" x2="237.49" y2="151.13" width="0.1524" layer="91"/>
<label x="233.68" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PB1/D9/PWM"/>
<wire x1="46.99" y1="157.48" x2="46.99" y2="163.83" width="0.1524" layer="91"/>
<label x="46.99" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D8" class="0">
<segment>
<pinref part="J8" gate="G$1" pin="1"/>
<wire x1="232.41" y1="148.59" x2="237.49" y2="148.59" width="0.1524" layer="91"/>
<label x="233.68" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J7" gate="G$1" pin="2"/>
<wire x1="217.17" y1="151.13" x2="222.25" y2="151.13" width="0.1524" layer="91"/>
<label x="218.44" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PB0/D8"/>
<wire x1="49.53" y1="157.48" x2="49.53" y2="163.83" width="0.1524" layer="91"/>
<label x="49.53" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D7" class="0">
<segment>
<pinref part="J6" gate="G$1" pin="2"/>
<wire x1="200.66" y1="151.13" x2="205.74" y2="151.13" width="0.1524" layer="91"/>
<label x="201.93" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J7" gate="G$1" pin="1"/>
<wire x1="217.17" y1="148.59" x2="222.25" y2="148.59" width="0.1524" layer="91"/>
<label x="218.44" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD7/D7"/>
<wire x1="54.61" y1="157.48" x2="54.61" y2="163.83" width="0.1524" layer="91"/>
<label x="54.61" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D6" class="0">
<segment>
<pinref part="J6" gate="G$1" pin="1"/>
<wire x1="200.66" y1="148.59" x2="205.74" y2="148.59" width="0.1524" layer="91"/>
<label x="201.93" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J5" gate="G$1" pin="2"/>
<wire x1="184.15" y1="151.13" x2="189.23" y2="151.13" width="0.1524" layer="91"/>
<label x="185.42" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD6/D6/PWM"/>
<wire x1="57.15" y1="157.48" x2="57.15" y2="163.83" width="0.1524" layer="91"/>
<label x="57.15" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D5" class="0">
<segment>
<pinref part="J4" gate="G$1" pin="2"/>
<wire x1="167.64" y1="151.13" x2="172.72" y2="151.13" width="0.1524" layer="91"/>
<label x="168.91" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J5" gate="G$1" pin="1"/>
<wire x1="184.15" y1="148.59" x2="189.23" y2="148.59" width="0.1524" layer="91"/>
<label x="185.42" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD5/D5/PWM"/>
<wire x1="59.69" y1="157.48" x2="59.69" y2="163.83" width="0.1524" layer="91"/>
<label x="59.69" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D4" class="0">
<segment>
<pinref part="J4" gate="G$1" pin="1"/>
<wire x1="167.64" y1="148.59" x2="172.72" y2="148.59" width="0.1524" layer="91"/>
<label x="168.91" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J3" gate="G$1" pin="2"/>
<wire x1="151.13" y1="151.13" x2="156.21" y2="151.13" width="0.1524" layer="91"/>
<label x="152.4" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD4/D4"/>
<wire x1="62.23" y1="157.48" x2="62.23" y2="163.83" width="0.1524" layer="91"/>
<label x="62.23" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D3" class="0">
<segment>
<pinref part="J2" gate="G$1" pin="2"/>
<wire x1="134.62" y1="151.13" x2="139.7" y2="151.13" width="0.1524" layer="91"/>
<label x="135.89" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J3" gate="G$1" pin="1"/>
<wire x1="151.13" y1="148.59" x2="156.21" y2="148.59" width="0.1524" layer="91"/>
<label x="152.4" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD3/D3/INT1/PWM"/>
<wire x1="64.77" y1="157.48" x2="64.77" y2="163.83" width="0.1524" layer="91"/>
<label x="64.77" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D2" class="0">
<segment>
<pinref part="J2" gate="G$1" pin="1"/>
<wire x1="134.62" y1="148.59" x2="139.7" y2="148.59" width="0.1524" layer="91"/>
<label x="135.89" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD2/D2/INT0"/>
<wire x1="67.31" y1="157.48" x2="67.31" y2="163.83" width="0.1524" layer="91"/>
<label x="67.31" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D1" class="0">
<segment>
<pinref part="J1" gate="G$1" pin="2"/>
<wire x1="118.11" y1="151.13" x2="123.19" y2="151.13" width="0.1524" layer="91"/>
<label x="119.38" y="151.13" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD1/D1/TX"/>
<wire x1="69.85" y1="157.48" x2="69.85" y2="163.83" width="0.1524" layer="91"/>
<label x="69.85" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="D0" class="0">
<segment>
<pinref part="J1" gate="G$1" pin="1"/>
<wire x1="118.11" y1="148.59" x2="123.19" y2="148.59" width="0.1524" layer="91"/>
<label x="119.38" y="148.59" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="PD0/D0/RX"/>
<wire x1="72.39" y1="157.48" x2="72.39" y2="163.83" width="0.1524" layer="91"/>
<label x="72.39" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="IOREF" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="ADC7"/>
<wire x1="34.29" y1="96.52" x2="34.29" y2="90.17" width="0.1524" layer="91"/>
<label x="34.29" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
</net>
<net name="5V" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="5V"/>
<wire x1="41.91" y1="96.52" x2="41.91" y2="90.17" width="0.1524" layer="91"/>
<label x="41.91" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
<segment>
<wire x1="115.57" y1="43.18" x2="128.27" y2="43.18" width="0.1524" layer="91"/>
<label x="119.38" y="43.18" size="1.778" layer="95"/>
<pinref part="SW1" gate="G$1" pin="CH1B"/>
<pinref part="SW1" gate="G$1" pin="CH2B"/>
<wire x1="128.27" y1="43.18" x2="140.97" y2="43.18" width="0.1524" layer="91"/>
<junction x="128.27" y="43.18"/>
</segment>
</net>
<net name="RST" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="RESET"/>
<wire x1="36.83" y1="96.52" x2="36.83" y2="90.17" width="0.1524" layer="91"/>
<label x="36.83" y="91.44" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
<segment>
<pinref part="RST" gate="G$1" pin="1"/>
<wire x1="48.26" y1="50.8" x2="53.34" y2="50.8" width="0.1524" layer="91"/>
<wire x1="48.26" y1="50.8" x2="48.26" y2="55.88" width="0.1524" layer="91"/>
<junction x="48.26" y="50.8"/>
<label x="48.26" y="54.61" size="1.27" layer="95" ratio="10"/>
<pinref part="R2" gate="R" pin="2"/>
<wire x1="36.83" y1="50.8" x2="48.26" y2="50.8" width="0.1524" layer="91"/>
</segment>
</net>
<net name="SDA" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="SDA"/>
<wire x1="29.21" y1="157.48" x2="29.21" y2="163.83" width="0.1524" layer="91"/>
<label x="29.21" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
<segment>
<pinref part="P1" gate="G$1" pin="2"/>
<wire x1="64.77" y1="85.09" x2="64.77" y2="86.36" width="0.1524" layer="91"/>
<wire x1="64.77" y1="86.36" x2="62.23" y2="86.36" width="0.1524" layer="91"/>
<label x="62.23" y="86.36" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J13" gate="G$1" pin="2"/>
<wire x1="118.11" y1="109.22" x2="123.19" y2="109.22" width="0.1524" layer="91"/>
<label x="119.38" y="109.22" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J14" gate="G$1" pin="2"/>
<wire x1="138.43" y1="109.22" x2="143.51" y2="109.22" width="0.1524" layer="91"/>
<label x="139.7" y="109.22" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J15" gate="G$1" pin="2"/>
<wire x1="160.02" y1="109.22" x2="165.1" y2="109.22" width="0.1524" layer="91"/>
<label x="161.29" y="109.22" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J16" gate="G$1" pin="2"/>
<wire x1="180.34" y1="109.22" x2="185.42" y2="109.22" width="0.1524" layer="91"/>
<label x="181.61" y="109.22" size="1.27" layer="95" ratio="10"/>
</segment>
</net>
<net name="SCL" class="0">
<segment>
<pinref part="U2" gate="SEEEDUINO" pin="SCL"/>
<wire x1="26.67" y1="157.48" x2="26.67" y2="163.83" width="0.1524" layer="91"/>
<label x="26.67" y="158.75" size="1.27" layer="95" ratio="10" rot="R90"/>
</segment>
<segment>
<pinref part="P2" gate="G$1" pin="1"/>
<wire x1="77.47" y1="85.09" x2="77.47" y2="86.36" width="0.1524" layer="91"/>
<wire x1="77.47" y1="86.36" x2="80.01" y2="86.36" width="0.1524" layer="91"/>
<label x="78.74" y="86.36" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J13" gate="G$1" pin="1"/>
<wire x1="118.11" y1="106.68" x2="123.19" y2="106.68" width="0.1524" layer="91"/>
<label x="119.38" y="106.68" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J14" gate="G$1" pin="1"/>
<wire x1="138.43" y1="106.68" x2="143.51" y2="106.68" width="0.1524" layer="91"/>
<label x="139.7" y="106.68" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J15" gate="G$1" pin="1"/>
<wire x1="160.02" y1="106.68" x2="165.1" y2="106.68" width="0.1524" layer="91"/>
<label x="161.29" y="106.68" size="1.27" layer="95" ratio="10"/>
</segment>
<segment>
<pinref part="J16" gate="G$1" pin="1"/>
<wire x1="180.34" y1="106.68" x2="185.42" y2="106.68" width="0.1524" layer="91"/>
<label x="181.61" y="106.68" size="1.27" layer="95" ratio="10"/>
</segment>
</net>
<net name="N$1" class="0">
<segment>
<pinref part="PWR" gate="LED" pin="+"/>
<pinref part="R1" gate="R" pin="2"/>
<wire x1="39.37" y1="45.72" x2="36.83" y2="45.72" width="0.1524" layer="91"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>

repository: getblocky/oshw

repo_name: getblocky/oshw

extension: sch


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TestCase.Core.Query;
using TestCase.Core.Validation;

namespace TestCase.Service.Validation.Aspects
{
    /// <summary>
    /// Validation query handler decorator.
    /// </summary>
    /// <typeparam name="TQuery">The type of the query.</typeparam>
    /// <typeparam name="TResult">The type of the result.</typeparam>
    /// <seealso cref="TestCase.Core.Query.IQueryHandler{TQuery, TResult}" />
    public class ValidationQueryHandlerDecorator<TQuery, TResult> : IQueryHandler<TQuery, TResult> where TQuery : IQuery<TResult>, IValidateModel
    {
        private readonly IModelValidator<TQuery> validator;
        private readonly IQueryHandler<TQuery, TResult> queryHandler;

        /// <summary>
        /// Initializes a new instance of the <see cref="ValidationQueryHandlerDecorator{TQuery, TResult}"/> class.
        /// </summary>
        /// <param name="validator">The validator.</param>
        /// <param name="queryHandler">The query handler.</param>
        public ValidationQueryHandlerDecorator(IModelValidator<TQuery> validator, IQueryHandler<TQuery, TResult> queryHandler)
        {
            this.validator = validator;
            this.queryHandler = queryHandler;
        }

        /// <summary>
        /// Asynchronously handles the query.
        /// </summary>
        /// <param name="query">The query.</param>
        /// <returns></returns>
        public async Task<TResult> HandleAsync(TQuery query)
        {
            await this.validator.ValidateAsync(query);

            return await this.queryHandler.HandleAsync(query);
        }
    }
}

repository: darjanbogdan/test-case

repo_name: darjanbogdan/test-case

extension: cs


text:
SUMMARY = "GNOME Settings"
DESCRIPTION = "GNOME Settings is GNOME's main interface for configuration of various aspects of your desktop"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"

GNOMEBASEBUILDCLASS = "meson"

inherit gnomebase gsettings gettext vala upstream-version-is-even bash-completion features_check

DEPENDS = " \
    gdk-pixbuf-native \
    colord-gtk \
    udisks2 \
    upower \
    polkit \
    pulseaudio \
    accountsservice \
    samba \
    gsettings-desktop-schemas \
    gnome-settings-daemon \
    gnome-desktop3 \
    gnome-online-accounts \
    libnma \
    gnome-bluetooth \
    grilo \
    libgtop \
    gsound \
    libpwquality \
"

REQUIRED_DISTRO_FEATURES += "polkit pulseaudio systemd x11"

SRC_URI[archive.md5sum] = "16c228d7de4e9d2d57550791fbca3390"
SRC_URI[archive.sha256sum] = "ac02346bcf3391aa5c86ed857d76689fdb6e43c2b4b20d3ec6eab0ea9fecf754"
SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch"

PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
PACKAGECONFIG[ibus] = "-Dibus=true, -Dibus=false, ibus"
PACKAGECONFIG[wayland] = "-Dwayland=true, -Dwayland=false, wayland"

# Once we have (lib)cheese we can make cheese a PACKAGECONFIG
EXTRA_OEMESON = " \
    -Doe_sysroot=${STAGING_DIR_HOST} \
    -Dcheese=false \
"

FILES_${PN} += " \
    ${datadir}/dbus-1 \
    ${datadir}/gnome-shell \
    ${datadir}/metainfo \
"

FILES_${PN}-dev += "${datadir}/gettext"

RDEPENDS_${PN} += "gsettings-desktop-schemas"

repository: ni/meta-openembedded

repo_name: ni/meta-openembedded

branch_name: refs/heads/nilrt/master/hardknott

gha_license_id: MIT

gha_language: BitBake

extension: bb


text:
export function paddingLeft(str: string, size: number) {
  return (str + " ".repeat(size)).slice(0, size);
}

export function prependZero(str: string, size: number) {
  return ("0".repeat(size) + str).slice(-1 * size);
}

export function paddingRight(str: string, size: number) {
  return (" ".repeat(size) + str).slice(-1 * size);
}

export function dateFormat(date: Date): string {
  const year = "" + date.getFullYear();
  const month = prependZero("" + (date.getMonth() + 1), 2);
  const day = prependZero("" + date.getDate(), 2);
  const hour = prependZero("" + date.getHours(), 2);
  const minute = prependZero("" + date.getMinutes(), 2);
  const ymd = `${year}-${month}-${day}`;
  if (hour === "00" && minute === "00") {
    return ymd;
  }
  return ymd + ` ${hour}:${minute}`;
}

export function shortTimeStr(timestr: string): string {
  const date = new Date(timestr);
  const now = new Date();
  if (date.getFullYear() === now.getFullYear()) {
    timestr = timestr.slice(5);
  } else {
    return timestr.slice(2);
  }
  if (date.getMonth() === now.getMonth() && date.getDate() === now.getDate()) {
    return timestr.slice(6);
  }
  return timestr;
}

export function clearTimeInfo(date: Date) {
  const ret = new Date(date.toString());
  ret.setHours(0);
  ret.setMinutes(0);
  ret.setSeconds(0);
  ret.setMilliseconds(0);
  return ret;
}

export function strToArr(obj: any, key: string) {
  if (obj[key] && typeof obj[key] === "string") {
    obj[key] = [obj[key]];
  }
}

repository: sigoden/orgdo

repo_name: sigoden/orgdo

extension: ts


text:
/**
 * Pcap Reader
 *
 * @author Thom Troy
 *
 * Copyright (C) 2015 Thom Troy
 */

#ifndef __VSID_TRAINING_PCAP_READER_H__
#define __VSID_TRAINING_PCAP_READER_H__

#include "pcap/pcap.h"

#include <string>

#include "FlowManager.h"

namespace VsidTraining
{

class PcapReader
{
public:
	PcapReader(VsidCommon::FlowManager* flowManager) :
		_flowManager(flowManager),
		_numPackets(0)
	{};
	~PcapReader() {};

	/**
	 * read a pcap file
	 * @param  fileName
	 * @return
	 */
	bool read(const std::string& fileName);

	/**
	 * Handle a packet
	 *
	 * @param pcap
	 * @param header
	 * @param packet
	 */
	void handlePacket(pcap_t* pcap, const pcap_pkthdr* header, const u_char* packet);
private:

	uint64_t _numPackets;

	VsidCommon::FlowManager* _flowManager;

};

}

#endif

repository: Sean-Chang/vsid

repo_name: Sean-Chang/vsid

extension: h


text:
package soildesc

import (
	"testing"
)

func TestParseDescription(t *testing.T) {
	cases := []struct {
		desc string
		want Description
	}{
		{"wet gravel", Description{Primary: "gravel", Moisture: "wet", Ordered: []string{"gravel"}}},
		{"compact silty sand, some clay, wet", Description{Primary: "sand", Secondary: "silt", Consistency: "compact", Moisture: "wet", Ordered: []string{"sand", "silt", "clay"}}},
		{"water bearing sands, trace gravel, loose", Description{Primary: "sand", Secondary: "gravel", Consistency: "loose", Moisture: "wet", Ordered: []string{"sand", "gravel"}}},

		// note: this is a poor sescription.  silty should come last.  here we just make sure it is handled as if silty came after gravel
		{"silty sand and gravel", Description{Primary: "sand", Secondary: "gravel", Ordered: []string{"sand", "gravel", "silt"}}},
		{"sand and gravel, silty", Description{Primary: "sand", Secondary: "gravel", Ordered: []string{"sand", "gravel", "silt"}}},

		// from "Applications of Artifial Intelligence in Engineering VI" by G. Rzevzky, R.A. Adey 2012
		// {
		// 	"Moist stiff reddish brown closely fissured thinly bedded silty sand CLAY with a little dark greenish grey sub-rounded fine gravel",
		// 	Description{Primary: "clay", Secondary: "sand", Ordered: []string{"clay", "sand", "silt", "gravel"}},
		// },
	}

	for _, test := range cases {
		desc, err := ParseDescription(test.desc)
		if err != nil {
			t.Errorf("Error running ParseDescription function")
		}
		if desc.Primary != test.want.Primary {
			t.Errorf("Primary soil was incorrect. got: %s, want: %s", desc.Primary, test.want.Primary)
		}
		if desc.Secondary != test.want.Secondary {
			t.Errorf("Secondary soil was incorrect. got: %s, want: %s", desc.Secondary, test.want.Secondary)
		}
		if desc.Consistency != test.want.Consistency {
			t.Errorf("Consistency was incorrect. got: %s, want: %s", desc.Consistency, test.want.Consistency)
		}
		if desc.Moisture != test.want.Moisture {
			t.Errorf("Moisture was incorrect. got: %s, want: %s", desc.Moisture, test.want.Moisture)
		}
		if !testEq(desc.Ordered, test.want.Ordered) {
			t.Errorf("Ordered terms were incorrect. got: %s, want: %s", desc.Ordered, test.want.Ordered)

		}
	}
}

func TestParseSoilTermsV2(t *testing.T) {
	cases := []struct {
		desc string
		want []string
	}{
		{"wet gravel", []string{"gravel"}},
		{"compact silty sand, some clay, wet", []string{"sand", "silt", "clay"}},
		{"water bearing sands, trace gravel, loose", []string{"sand", "gravel"}},

		// note: this is a poor sescription.  silty should come last.  here we just make sure it is handled as if silty came after gravel
		{"silty sand and gravel", []string{"sand", "gravel", "silt"}},
		{"SAND and GRAVEL, silty", []string{"sand", "gravel", "silt"}},

		// from "Applications of Artificial Intelligence in Engineering VI" by G. Rzevzky, R.A. Adey 2012
		// {
		// 	"Moist stiff reddish brown closely fissured thinly bedded silty sand CLAY with a little dark greenish grey sub-rounded fine gravel",
		// 	[]string{"clay", "sand", "silt", "gravel"},
		// },
	}

	for _, test := range cases {
		desc := ParseSoilTerms(test.desc)

		if !testEq(desc, test.want) {
			t.Errorf("Ordered terms were incorrect. got: %s, want: %s", desc, test.want)
		}
	}
}

func testEq(a, b []string) bool {
	if (a == nil) != (b == nil) {
		return false
	}

	if len(a) != len(b) {
		return false
	}

	for i := range a {
		if a[i] != b[i] {
			return false
		}
	}

	return true
}

repository: stephenhillier/soildesc

repo_name: stephenhillier/soildesc

extension: go