text:
"/>
<wire x1="58.1025" y1="43.18" x2="56.98" y2="43.18" width="0.2032" layer="1"/>
<wire x1="58.42" y1="40.3225" x2="58.42" y2="42.8625" width="0.2032" layer="1"/>
<wire x1="56.88475" y1="43.27525" x2="56.98" y2="43.18" width="0.2032" layer="1"/>
<wire x1="56.98" y1="43.18" x2="53.34" y2="43.18" width="0.2032" layer="1"/>
<wire x1="53.1495" y1="42.9895" x2="53.1495" y2="42.38625" width="0.2032" layer="1"/>
<wire x1="53.34" y1="43.18" x2="53.1495" y2="42.9895" width="0.2032" layer="1"/>
</signal>
<signal name="N$53">
<contactref element="R58" pad="1"/>
<contactref element="T6" pad="B"/>
<wire x1="54.62375" y1="53.49875" x2="54.78" y2="53.655" width="0.2032" layer="1"/>
<wire x1="54.78" y1="53.655" x2="53.30575" y2="53.655" width="0.2032" layer="1"/>
<wire x1="53.30575" y1="53.655" x2="53.1495" y2="53.49875" width="0.2032" layer="1"/>
</signal>
<signal name="N$54">
<contactref element="T6" pad="C"/>
<contactref element="R59" pad="1"/>
<contactref element="J15" pad="TIP_B@1" route="any" routetag="G$1.TIP"/>
<contactref element="J15" pad="TIP_T@3" route="any" routetag="G$1.TIP"/>
<wire x1="55.245" y1="29.9" x2="52.80875" y2="29.9" width="0.2032" layer="1"/>
<wire x1="52.80875" y1="29.9" x2="52.54625" y2="30.1625" width="0.2032" layer="1"/>
<wire x1="52.54625" y1="30.1625" x2="52.54625" y2="32.54375" width="0.2032" layer="1"/>
<wire x1="52.54625" y1="32.54375" x2="59.4868" y2="39.4843" width="0.2032" layer="1"/>
<wire x1="59.4868" y1="52.26195" x2="59.04375" y2="52.705" width="0.2032" layer="1"/>
<wire x1="59.04375" y1="52.705" x2="57.15" y2="52.705" width="0.2032" layer="1"/>
<wire x1="57.15" y1="52.705" x2="56.98" y2="52.705" width="0.2032" layer="1"/>
<wire x1="59.4868" y1="39.4843" x2="59.4868" y2="52.26195" width="0.2032" layer="1"/>
<wire x1="57.05475" y1="52.80025" x2="57.15" y2="52.705" width="0.2032" layer="1"/>
<wire x1="56.98" y1="52.705" x2="53.34" y2="52.705" width="0.2032" layer="1"/>
<wire x1="53.1495" y1="52.5145" x2="53.1495" y2="51.91125" width="0.2032" layer="1"/>
<wire x1="53.34" y1="52.705" x2="53.1495" y2="52.5145" width="0.2032" layer="1"/>
</signal>
<signal name="N$57">
<contactref element="R61" pad="1"/>
<contactref element="T7" pad="B"/>
<wire x1="54.78" y1="50.48" x2="53.30575" y2="50.48" width="0.2032" layer="1"/>
<wire x1="53.30575" y1="50.48" x2="53.1495" y2="50.32375" width="0.2032" layer="1"/>
</signal>
<signal name="N$58">
<contactref element="T7" pad="C"/>
<contactref element="R62" pad="1"/>
<contactref element="J16" pad="TIP_B@1" route="any" routetag="G$1.TIP"/>
<contactref element="J16" pad="TIP_T@3" route="any" routetag="G$1.TIP"/>
<wire x1="55.245" y1="19.74" x2="52.6881" y2="19.74" width="0.2032" layer="1"/>
<wire x1="52.6881" y1="19.74" x2="52.4256" y2="20.0025" width="0.2032" layer="1"/>
<wire x1="52.4256" y1="20.0025" x2="52.4256" y2="22.3952" width="0.2032" layer="1"/>
<wire x1="52.4256" y1="22.3952" x2="53.3781" y2="23.3477" width="0.2032" layer="1"/>
<wire x1="53.3781" y1="23.3477" x2="53.3781" y2="28.06065" width="0.2032" layer="1"/>
<wire x1="53.3781" y1="28.06065" x2="52.19065" y2="29.2481" width="0.2032" layer="1"/>
<wire x1="52.19065" y1="29.2481" x2="52.19065" y2="32.69105" width="0.2032" layer="1"/>
<wire x1="52.19065" y1="32.69105" x2="59.1312" y2="39.6316" width="0.2032" layer="1"/>
<wire x1="59.1312" y1="49.12505" x2="58.72625" y2="49.53" width="0.2032" layer="1"/>
<wire x1="58.72625" y1="49.53" x2="56.98" y2="49.53" width="0.2032" layer="1"/>
<wire x1="59.1312" y1="39.6316" x2="59.1312" y2="49.12505" width="0.2032" layer="1"/>
<wire x1="56.98" y1="49.53" x2="53.34" y2="49.53" width="0.2032" layer="1"/>
<wire x1="53.1495" y1="49.3395" x2="53.1495" y2="48.73625" width="0.2032" layer="1"/>
<wire x1="53.34" y1="49.53" x2="53.1495" y2="49.3395" width="0.2032" layer="1"/>
</signal>
<signal name="N$61">
<contactref element="R64" pad="1"/>
<contactref element="T8" pad="B"/>
<wire x1="54.78" y1="47.305" x2="53.30575" y2="47.305" width="0.2032" layer="1"/>
<wire x1="53.30575" y1="47.305" x2="53.1495" y2="47.14875" width="0.2032" layer="1"/>
</signal>
<signal name="N$62">
<contactref element="T8" pad="C"/>
<contactref element="R65" pad="1"/>
<contactref element="J17" pad="TIP_B@1" route="any" routetag="G$1.TIP"/>
<contactref element="J17" pad="TIP_T@3" route="any" routetag="G$1.TIP"/>
<wire x1="55.245" y1="9.58" x2="52.65" y2="9.58" width="0.2032" layer="1"/>
<wire x1="52.65" y1="9.58" x2="52.22875" y2="10.00125" width="0.2032" layer="1"/>
<wire x1="52.22875" y1="12.22375" x2="53.18125" y2="13.17625" width="0.2032" layer="1"/>
<wire x1="52.22875" y1="10.00125" x2="52.22875" y2="12.22375" width="0.2032" layer="1"/>
<wire x1="53.18125" y1="13.17625" x2="53.18125" y2="17.62125" width="0.2032" layer="1"/>
<wire x1="53.18125" y1="17.62125" x2="52.07" y2="18.7325" width="0.2032" layer="1"/>
<wire x1="52.07" y1="18.7325" x2="52.07" y2="22.5425" width="0.2032" layer="1"/>
<wire x1="52.07" y1="22.5425" x2="53.0225" y2="23.495" width="0.2032" layer="1"/>
<wire x1="53.0225" y1="23.495" x2="53.0225" y2="27.91335" width="0.2032" layer="1"/>
<wire x1="51.83505" y1="29.1008" x2="51.83505" y2="32.83835" width="0.2032" layer="1"/>
<wire x1="53.0225" y1="27.91335" x2="51.83505" y2="29.1008" width="0.2032" layer="1"/>
<wire x1="58.7756" y1="39.7789" x2="51.83505" y2="32.83835" width="0.2032" layer="1"/>
<wire x1="58.7756" y1="45.98815" x2="58.40875" y2="46.355" width="0.2032" layer="1"/>
<wire x1="56.98" y1="46.355" x2="58.40875" y2="46.355" width="0.2032" layer="1"/>
<wire x1="58.7756" y1="45.98815" x2="58.7756" y2="39.7789" width="0.2032" layer="1"/>
<wire x1="56.98" y1="46.355" x2="53.34" y2="46.355" width="0.2032" layer="1"/>
<wire x1="53.1495" y1="46.1645" x2="53.1495" y2="45.56125" width="0.2032" layer="1"/>
<wire x1="53.34" y1="46.355" x2="53.1495" y2="46.1645" width="0.2032" layer="1"/>
</signal>
<signal name="N$28">
<contactref element="IC6" pad="8"/>
<contactref element="R30" pad="1"/>
<wire x1="38.1" y1="77.3303" x2="38.1" y2="75.692" width="0.2032" layer="1"/>
<wire x1="38.1" y1="75.692" x2="38.4175" y2="75.3745" width="0.2032" layer="1"/>
</signal>
<signal name="N$33">
<contactref element="IC6" pad="6"/>
<contactref element="R36" pad="1"/>
<wire x1="35.2806" y1="75.4126" x2="35.2425" y2="75.3745" width="0.2032" layer="1"/>
<wire x1="35.56" y1="77.3303" x2="35.56" y2="75.692" width="0.2032" layer="1"/>
<wire x1="35.56" y1="75.692" x2="35.2425" y2="75.3745" width="0.2032" layer="1"/>
</signal>
<signal name="N$39">
<contactref element="IC7" pad="8"/>
<contactref element="R42" pad="1"/>
<wire x1="25.4" y1="75.3745" x2="25.0825" y2="75.692" width="0.2032" layer="1"/>
<wire x1="25.0825" y1="75.692" x2="25.0825" y2="77.3303" width="0.2032" layer="1"/>
</signal>
<signal name="N$45">
<contactref element="IC7" pad="6"/>
<contactref element="R48" pad="1"/>
<wire x1="22.225" y1="75.3745" x2="22.5425" y2="75.692" width="0.2032" layer="1"/>
<wire x1="22.5425" y1="75.692" x2="22.5425" y2="77.3303" width="0.2032" layer="1"/>
</signal>
<signal name="MOSI1">
<contactref element="IC6" pad="4"/>
<contactref element="IC2" pad="41"/>
<wire x1="34.29" y1="82.0547" x2="34.29" y2="80.48625" width="0.2032" layer="1"/>
<wire x1="34.29" y1="80.48625" x2="34.44875" y2="80.3275" width="0.2032" layer="1"/>
<wire x1="34.44875" y1="80.3275" x2="37.30625" y2="80.3275" width="0.2032" layer="1"/>
<wire x1="37.30625" y1="80.3275" x2="37.465" y2="80.48625" width="0.2032" layer="1"/>
<wire x1="37.2625" y1="87.515" x2="34.345" y2="87.515" width="0.2032" layer="1"/>
<wire x1="37.465" y1="80.48625" x2="37.465" y2="87.3125" width="0.2032" layer="1"/>
<wire x1="37.465" y1="87.3125" x2="37.2625" y2="87.515" width="0.2032" layer="1"/>
</signal>
<signal name="SCK1">
<contactref element="IC6" pad="3"/>
<contactref element="IC2" pad="39"/>
<wire x1="34.34875" y1="86.51875" x2="34.345" y2="86.515" width="0.2032" layer="1"/>
<wire x1="35.56" y1="82.0547" x2="35.56" y2="84.4017" width="0.2032" layer="1"/>
<wire x1="35.56" y1="84.4017" x2="35.79495" y2="84.63665" width="0.2032" layer="1"/>
<wire x1="35.79495" y1="85.7021" x2="34.98205" y2="86.515" width="0.2032" layer="1"/>
<wire x1="34.98205" y1="86.515" x2="34.345" y2="86.515" width="0.2032" layer="1"/>
<wire x1="35.79495" y1="84.63665" x2="35.79495" y2="85.7021" width="0.2032" layer="1"/>
</signal>
<signal name="CS1">
<contactref element="IC6" pad="2"/>
<contactref element="IC2" pad="38"/>
<wire x1="34.345" y1="86.015" x2="34.97915" y2="86.015" width="0.2032" layer="1"/>
<wire x1="34.97915" y1="86.015" x2="35.43935" y2="85.5548" width="0.2032" layer="1"/>
<wire x1="35.43935" y1="84.78395" x2="34.925" y2="84.2696" width="0.2032" layer="1"/>
<wire x1="34.925" y1="80.84185" x2="35.08375" y2="80.6831" width="0.2032" layer="1"/>
<wire x1="35.08375" y1="80.6831" x2="36.70935" y2="80.6831" width="0.2032" layer="1"/>
<wire x1="36.70935" y1="80.6831" x2="36.83" y2="80.80375" width="0.2032" layer="1"/>
<wire x1="36.83" y1="80.80375" x2="36.83" y2="82.0547" width="0.2032" layer="1"/>
<wire x1="35.43935" y1="85.5548" x2="35.43935" y2="84.78395" width="0.2032" layer="1"/>
<wire x1="34.925" y1="84.2696" x2="34.925" y2="80.84185" width="0.2032" layer="1"/>
</signal>
<signal name="MOSI2">
<contactref element="IC7" pad="4"/>
<contactref element="IC2" pad="28"/>
<wire x1="21.2725" y1="82.0547" x2="21.2725" y2="80.01" width="0.2032" layer="1"/>
<wire x1="21.2725" y1="80.01" x2="21.78685" y2="79.49565" width="0.2032" layer="1"/>
<wire x1="28.595" y1="83.765" x2="28.595" y2="80.03" width="0.2032" layer="1"/>
<wire x1="28.595" y1="80.03" x2="28.06065" y2="79.49565" width="0.2032" layer="1"/>
<wire x1="28.06065" y1="79.49565" x2="21.78685" y2="79.49565" width="0.2032" layer="1"/>
</signal>
<signal name="SCK2">
<contactref element="IC7" pad="3"/>
<contactref element="IC2" pad="26"/>
<wire x1="22.5425" y1="82.0547" x2="22.5425" y2="80.48625" width="0.2032" layer="1"/>
<wire x1="22.70125" y1="80.3275" x2="22.5425" y2="80.48625" width="0.2032" layer="1"/>
<wire x1="27.595" y1="83.765" x2="27.595" y2="80.6175" width="0.2032" layer="1"/>
<wire x1="27.595" y1="80.6175" x2="27.305" y2="80.3275" width="0.2032" layer="1"/>
<wire x1="27.305" y1="80.3275" x2="22.70125" y2="80.3275" width="0.2032" layer="1"/>
</signal>
<signal name="CS2">
<contactref element="IC7" pad="2"/>
<contactref element="IC2" pad="25"/>
<wire x1="23.8125" y1="82.0547" x2="23.8125" y2="80.84185" width="0.2032" layer="1"/>
<wire x1="23.8125" y1="80.84185" x2="23.97125" y2="80.6831" width="0.2032" layer="1"/>
<wire x1="27.095" y1="80.855" x2="27.095" y2="83.765" width="0.2032" layer="1"/>
<wire x1="23.97125" y1="80.6831" x2="26.9231" y2="80.6831" width="0.2032" layer="1"/>
<wire x1="26.9231" y1="80.6831" x2="27.095" y2="80.855" width="0.2032" layer="1"/>
</signal>
<signal name="SCL">
<contactref element="U$44" pad="P$3"/>
<contactref element="IC2" pad="45"/>
<contactref element="R70" pad="2"/>
<wire x1="35.5981" y1="101.58855" x2="35.23105" y2="101.9556" width="0.2032" layer="1"/>
<wire x1="29.1719" y1="101.9556" x2="29.05125" y2="102.07625" width="0.2032" layer="1"/>
<wire x1="29.05125" y1="102.07625" x2="29.05125" y2="103.1875" width="0.2032" layer="1"/>
<wire x1="35.5981" y1="92.76111875" x2="35.5981" y2="101.58855" width="0.2032" layer="1"/>
<wire x1="35.23105" y1="101.9556" x2="29.1719" y2="101.9556" width="0.2032" layer="1"/>
<wire x1="35.5981" y1="92.76111875" x2="35.9791" y2="92.38011875" width="0.2032" layer="1"/>
<wire x1="35.9791" y1="90.56245" x2="34.93165" y2="89.515" width="0.2032" layer="1"/>
<wire x1="34.93165" y1="89.515" x2="34.345" y2="89.515" width="0.2032" layer="1"/>
<wire x1="35.9791" y1="92.38011875" x2="35.9791" y2="90.56245" width="0.2032" layer="1"/>
<wire x1="30.353" y1="104.775" x2="30.353" y2="103.378" width="0.2032" layer="1"/>
<wire x1="30.353" y1="103.378" x2="30.1625" y2="103.1875" width="0.2032" layer="1"/>
<wire x1="30.1625" y1="103.1875" x2="29.05125" y2="103.1875" width="0.2032" layer="1"/>
</signal>
<signal name="SDA">
<contactref element="U$44" pad="P$4"/>
<contactref element="IC2" pad="46"/>
<contactref element="R71" pad="2"/>
<wire x1="35.2425" y1="92.61381875" x2="35.2425" y2="101.44125" width="0.2032" layer="1"/>
<wire x1="35.2425" y1="101.44125" x2="35.08375" y2="101.6" width="0.2032" layer="1"/>
<wire x1="35.08375" y1="101.6" x2="26.67" y2="101.6" width="0.2032" layer="1"/>
<wire x1="26.67" y1="101.6" x2="26.51125" y2="101.75875" width="0.2032" layer="1"/>
<wire x1="26.51125" y1="101.75875" x2="26.51125" y2="103.1875" width="0.2032" layer="1"/>
<wire x1="35.2425" y1="92.61381875" x2="35.6235" y2="92.23281875" width="0.2032" layer="1"/>
<wire x1="35.6235" y1="90.70975" x2="34.925" y2="90.01125" width="0.2032" layer="1"/>
<wire x1="34.925" y1="90.01125" x2="34.34875" y2="90.01125" width="0.2032" layer="1"/>
<wire x1="34.34875" y1="90.01125" x2="34.345" y2="90.015" width="0.2032" layer="1"/>
<wire x1="35.6235" y1="92.23281875" x2="35.6235" y2="90.70975" width="0.2032" layer="1"/>
<wire x1="26.51125" y1="103.1875" x2="26.51125" y2="104.74325" width="0.2032" layer="1"/>
<wire x1="26.51125" y1="104.74325" x2="26.543" y2="104.775" width="0.2032" layer="1"/>
</signal>
<signal name="POT1">
<contactref element="IC2" pad="10"/>
<wire x1="28.095" y1="93.34875" x2="27.305" y2="94.13875" width="0.2032" layer="1"/>
<wire x1="28.095" y1="93.34875" x2="28.095" y2="92.765" width="0.2032" layer="1"/>
<wire x1="27.305" y1="94.13875" x2="23.7592" y2="94.13875" width="0.2032" layer="1"/>
<contactref element="C35" pad="2"/>
<wire x1="7.62" y1="60.7695" x2="23.7592" y2="94.13875" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="POT2">
<contactref element="IC2" pad="11"/>
<wire x1="27.595" y1="92.765" x2="27.595" y2="93.3344" width="0.2032" layer="1"/>
<wire x1="27.595" y1="93.3344" x2="27.14625" y2="93.78315" width="0.2032" layer="1"/>
<wire x1="27.14625" y1="93.78315" x2="23.9065" y2="93.78315" width="0.2032" layer="1"/>
<contactref element="C36" pad="2"/>
<wire x1="22.86" y1="60.7695" x2="27.595" y2="92.765" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="POT3">
<contactref element="IC2" pad="12"/>
<wire x1="27.095" y1="92.765" x2="27.095" y2="93.32005" width="0.2032" layer="1"/>
<wire x1="27.095" y1="93.32005" x2="26.9875" y2="93.42755" width="0.2032" layer="1"/>
<wire x1="26.9875" y1="93.42755" x2="24.0538" y2="93.42755" width="0.2032" layer="1"/>
<contactref element="C37" pad="2"/>
<wire x1="37.7825" y1="60.7695" x2="27.095" y2="92.765" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="POT4">
<contactref element="IC2" pad="13"/>
<wire x1="25.345" y1="91.015" x2="24.0740875" y2="91.015" width="0.2032" layer="1"/>
<contactref element="C38" pad="2"/>
<wire x1="53.0225" y1="60.7695" x2="25.345" y2="91.015" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="USB-">
<contactref element="X2" pad="2"/>
<contactref element="R4" pad="1"/>
<wire x1="26.82875" y1="49.403" x2="25.36825" y2="49.403" width="0.2032" layer="1"/>
<wire x1="25.0625" y1="49.70875" x2="25.0625" y2="50.97125" width="0.2032" layer="1"/>
<wire x1="25.36825" y1="49.403" x2="25.0625" y2="49.70875" width="0.2032" layer="1"/>
</signal>
<signal name="USB+">
<contactref element="X2" pad="3"/>
<contactref element="R72" pad="1"/>
<contactref element="R9" pad="1"/>
<wire x1="25.0625" y1="47.77125" x2="25.88875" y2="47.77125" width="0.2032" layer="1"/>
<wire x1="26.06675" y1="47.59325" x2="26.06675" y2="46.0375" width="0.2032" layer="1"/>
<wire x1="25.88875" y1="47.77125" x2="26.06675" y2="47.59325" width="0.2032" layer="1"/>
<wire x1="24.5745" y1="46.0375" x2="26.06675" y2="46.0375" width="0.2032" layer="1"/>
</signal>
<signal name="SWDIO">
<contactref element="IC2" pad="34"/>
<contactref element="JP1" pad="2"/>
<wire x1="31.595" y1="83.765" x2="31.595" y2="83.0225" width="0.2032" layer="1"/>
<wire x1="31.8097" y1="82.8078" x2="32.0108" y2="82.8078" width="0.2032" layer="1"/>
<via x="32.0108" y="82.8078" extent="1-16" drill="0.3048"/>
<wire x1="31.595" y1="83.0225" x2="31.8097" y2="82.8078" width="0.2032" layer="1"/>
<wire x1="32.0108" y1="82.8078" x2="54.61" y2="89.2175" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="SWCLK">
<contactref element="IC2" pad="37"/>
<contactref element="JP1" pad="3"/>
<wire x1="34.345" y1="85.515" x2="34.97625" y2="85.515" width="0.2032" layer="1"/>
<wire x1="34.97625" y1="85.515" x2="35.08375" y2="85.4075" width="0.2032" layer="1"/>
<wire x1="35.08375" y1="85.4075" x2="35.08375" y2="84.93125" width="0.2032" layer="1"/>
<wire x1="35.08375" y1="84.93125" x2="34.925" y2="84.7725" width="0.2032" layer="1"/>
<wire x1="34.925" y1="84.7725" x2="33.9725" y2="84.7725" width="0.2032" layer="1"/>
<wire x1="34.345" y1="85.515" x2="54.61" y2="91.7575" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$77">
<contactref element="IC2" pad="20"/>
<contactref element="SJ1" pad="1"/>
<wire x1="25.345" y1="87.515" x2="24.0537875" y2="87.515" width="0.2032" layer="1"/>
<wire x1="1.905" y1="91.2495" x2="24.0537875" y2="87.515" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$78">
<contactref element="IC2" pad="44"/>
<contactref element="BOOT0" pad="2"/>
<wire x1="36.35375" y1="101.9175" x2="40.79875" y2="101.9175" width="0.2032" layer="1"/>
<wire x1="36.35375" y1="101.9175" x2="35.9537" y2="101.51745" width="0.2032" layer="1"/>
<wire x1="35.9537" y1="92.90841875" x2="36.3347" y2="92.52741875" width="0.2032" layer="1"/>
<wire x1="36.3347" y1="90.41515" x2="34.93455" y2="89.015" width="0.2032" layer="1"/>
<wire x1="34.93455" y1="89.015" x2="34.345" y2="89.015" width="0.2032" layer="1"/>
<wire x1="36.3347" y1="92.52741875" x2="36.3347" y2="90.41515" width="0.2032" layer="1"/>
<wire x1="35.9537" y1="101.51745" x2="35.9537" y2="92.90841875" width="0.2032" layer="1"/>
</signal>
<signal name="RESET">
<contactref element="IC2" pad="7"/>
<contactref element="K1" pad="1"/>
<contactref element="R73" pad="1"/>
<contactref element="K1" pad="4"/>
<via x="28.0108" y="94.45625" extent="1-16" drill="0.3048"/>
<wire x1="28.0108" y1="94.45625" x2="29.1792" y2="94.45625" width="0.2032" layer="16"/>
<via x="29.1792" y="94.45625" extent="1-16" drill="0.3048"/>
<wire x1="29.1792" y1="94.45625" x2="29.4967" y2="94.45625" width="0.2032" layer="1"/>
<wire x1="29.595" y1="94.35795" x2="29.4967" y2="94.45625" width="0.2032" layer="1"/>
<wire x1="29.595" y1="94.35795" x2="29.595" y2="92.765" width="0.2032" layer="1"/>
<wire x1="23.59025" y1="96.5185" x2="23.59025" y2="94.7166" width="0.2032" layer="1"/>
<wire x1="23.59025" y1="94.7166" x2="23.8125" y2="94.49435" width="0.2032" layer="1"/>
<wire x1="23.8125" y1="94.49435" x2="27.9727" y2="94.49435" width="0.2032" layer="1"/>
<wire x1="27.9727" y1="94.49435" x2="28.0108" y2="94.45625" width="0.2032" layer="1"/>
<wire x1="22.19325" y1="94.2975" x2="23.17115" y2="94.2975" width="0.2032" layer="1"/>
<wire x1="23.17115" y1="94.2975" x2="23.59025" y2="94.7166" width="0.2032" layer="1"/>
<wire x1="23.59025" y1="96.5185" x2="23.59025" y2="104.7765" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="RCK595">
<contactref element="IC8" pad="12"/>
<contactref element="IC2" pad="27"/>
<contactref element="IC9" pad="12"/>
<wire x1="28.095" y1="83.765" x2="28.095" y2="80.32723125" width="0.2032" layer="1"/>
<wire x1="28.095" y1="80.32723125" x2="28.0362" y2="80.26843125" width="0.2032" layer="1"/>
<via x="28.0362" y="80.26843125" extent="1-16" drill="0.3048"/>
<wire x1="28.0362" y1="80.26843125" x2="27.73966875" y2="79.9719" width="0.2032" layer="1"/>
<wire x1="22.10435" y1="79.9719" x2="21.9075" y2="80.16875" width="0.2032" layer="1"/>
<wire x1="27.73966875" y1="79.9719" x2="22.10435" y2="79.9719" width="0.2032" layer="1"/>
<wire x1="21.9075" y1="83.185" x2="21.74875" y2="83.34375" width="0.2032" layer="1"/>
<wire x1="21.9075" y1="80.16875" x2="21.9075" y2="83.185" width="0.2032" layer="1"/>
<wire x1="13.49375" y1="90.96375" x2="13.0175" y2="91.44" width="0.2032" layer="1"/>
<wire x1="13.0175" y1="91.44" x2="9.2075" y2="91.44" width="0.2032" layer="1"/>
<wire x1="9.2075" y1="91.44" x2="8.89" y2="91.7575" width="0.2032" layer="1"/>
<wire x1="8.89" y1="91.7575" x2="8.89" y2="93.5609" width="0.2032" layer="1"/>
<wire x1="21.74875" y1="83.34375" x2="14.605" y2="83.34375" width="0.2032" layer="1"/>
<wire x1="14.605" y1="83.34375" x2="13.49375" y2="84.455" width="0.2032" layer="1"/>
<wire x1="13.49375" y1="84.455" x2="13.49375" y2="90.96375" width="0.2032" layer="1"/>
<wire x1="28.0362" y1="80.26843125" x2="45.56125" y2="51.0159" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="SCK595">
<contactref element="IC8" pad="11"/>
<contactref element="IC2" pad="22"/>
<contactref element="IC9" pad="11"/>
<wire x1="10.16" y1="93.5609" x2="10.16" y2="92.1131" width="0.2032" layer="1"/>
<wire x1="10.16" y1="92.1131" x2="10.4775" y2="91.7956" width="0.2032" layer="1"/>
<wire x1="10.4775" y1="91.7956" x2="13.1648" y2="91.7956" width="0.2032" layer="1"/>
<wire x1="13.84935" y1="91.11105" x2="13.1648" y2="91.7956" width="0.2032" layer="1"/>
<wire x1="14.1706" y1="86.515" x2="13.84935" y2="86.83625" width="0.2032" layer="1"/>
<wire x1="25.345" y1="86.515" x2="14.1706" y2="86.515" width="0.2032" layer="1"/>
<wire x1="13.84935" y1="86.83625" x2="13.84935" y2="91.11105" width="0.2032" layer="1"/>
<wire x1="46.83125" y1="51.0159" x2="25.345" y2="86.515" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="SER595">
<contactref element="IC8" pad="14"/>
<contactref element="IC2" pad="21"/>
<wire x1="25.345" y1="87.015" x2="21.80755" y2="87.015" width="0.2032" layer="1"/>
<wire x1="21.80755" y1="87.015" x2="21.74875" y2="87.0738" width="0.2032" layer="1"/>
<via x="21.74875" y="87.0738" extent="1-16" drill="0.3048"/>
<wire x1="21.74875" y1="87.0738" x2="21.74875" y2="84.85776875" width="0.2032" layer="16"/>
<via x="21.74875" y="84.85776875" extent="1-16" drill="0.3048"/>
<wire x1="21.74875" y1="84.85776875" x2="24.99723125" y2="84.85776875" width="0.2032" layer="1"/>
<wire x1="24.99723125" y1="84.85776875" x2="25.6159" y2="84.2391" width="0.2032" layer="1"/>
<wire x1="25.6159" y1="84.2391" x2="25.6159" y2="81.4451" width="0.2032" layer="1"/>
<wire x1="25.6159" y1="81.4451" x2="25.8191" y2="81.2419" width="0.2032" layer="1"/>
<via x="25.8191" y="81.2419" extent="1-16" drill="0.3048"/>
<wire x1="25.8191" y1="81.2419" x2="25.8191" y2="78.22565" width="0.2032" layer="16"/>
<via x="25.8191" y="78.22565" extent="1-16" drill="0.3048"/>
<wire x1="25.8191" y1="78.22565" x2="28.13685" y2="78.22565" width="0.2032" layer="1"/>
<wire x1="28.13685" y1="78.22565" x2="29.013015625" y2="77.349484375" width="0.2032" layer="1"/>
<wire x1="29.013015625" y1="77.349484375" x2="29.330515625" y2="77.349484375" width="0.2032" layer="1"/>
<via x="29.330515625" y="77.349484375" extent="1-16" drill="0.3048"/>
<via x="31.1023" y="75.45729375" extent="1-16" drill="0.3048"/>
<wire x1="29.330515625" y1="77.349484375" x2="29.60991875" y2="77.07008125" width="0.2032" layer="16"/>
<wire x1="30.14076875" y1="75.74896875" x2="30.810625" y2="75.74896875" width="0.2032" layer="16"/>
<wire x1="30.810625" y1="75.74896875" x2="31.1023" y2="75.45729375" width="0.2032" layer="16"/>
<wire x1="29.60991875" y1="77.07008125" x2="29.60991875" y2="76.27981875" width="0.2032" layer="16"/>
<wire x1="29.60991875" y1="76.27981875" x2="30.14076875" y2="75.74896875" width="0.2032" layer="16"/>
<wire x1="31.1023" y1="75.45729375" x2="30.8991" y2="75.25409375" width="0.2032" layer="1"/>
<wire x1="30.8991" y1="75.25409375" x2="30.8991" y2="60.5587" width="0.2032" layer="1"/>
<wire x1="30.8991" y1="60.5587" x2="28.13685" y2="57.79645" width="0.2032" layer="1"/>
<wire x1="28.13685" y1="53.14315" x2="28.35275" y2="52.92725" width="0.2032" layer="1"/>
<wire x1="28.35275" y1="52.92725" x2="42.799" y2="52.92725" width="0.2032" layer="1"/>
<wire x1="42.799" y1="52.92725" x2="43.02125" y2="52.705" width="0.2032" layer="1"/>
<wire x1="43.02125" y1="52.705" x2="43.02125" y2="51.0159" width="0.2032" layer="1"/>
<wire x1="28.13685" y1="57.79645" x2="28.13685" y2="53.14315" width="0.2032" layer="1"/>
</signal>
<signal name="N$80">
<contactref element="IC9" pad="14"/>
<contactref element="IC8" pad="9"/>
<wire x1="6.35" y1="93.5609" x2="49.37125" y2="51.0159" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="BTN_IN1">
<contactref element="IC2" pad="43"/>
<contactref element="S1" pad="1"/>
<contactref element="S1" pad="2"/>
<wire x1="36.3093" y1="97.74555" x2="36.67125" y2="98.1075" width="0.2032" layer="1"/>
<wire x1="57.15" y1="97.79" x2="56.03875" y2="98.90125" width="0.2032" layer="1"/>
<wire x1="56.03875" y1="101.75875" x2="57.15" y2="102.87" width="0.2032" layer="1"/>
<wire x1="56.03875" y1="98.90125" x2="56.03875" y2="101.75875" width="0.2032" layer="1"/>
<wire x1="49.2125" y1="101.75875" x2="56.03875" y2="101.75875" width="0.2032" layer="1"/>
<wire x1="36.67125" y1="98.1075" x2="45.56125" y2="98.1075" width="0.2032" layer="1"/>
<wire x1="45.56125" y1="98.1075" x2="49.2125" y2="101.75875" width="0.2032" layer="1"/>
<wire x1="36.3093" y1="93.05571875" x2="36.3093" y2="97.74555" width="0.2032" layer="1"/>
<wire x1="36.3093" y1="93.05571875" x2="36.6903" y2="92.67471875" width="0.2032" layer="1"/>
<wire x1="36.6903" y1="90.26785" x2="34.93745" y2="88.515" width="0.2032" layer="1"/>
<wire x1="34.93745" y1="88.515" x2="34.345" y2="88.515" width="0.2032" layer="1"/>
<wire x1="36.6903" y1="92.67471875" x2="36.6903" y2="90.26785" width="0.2032" layer="1"/>
</signal>
<signal name="BTN_IN2">
<contactref element="S2" pad="1"/>
<contactref element="S2" pad="2"/>
<wire x1="57.15" y1="78.105" x2="56.03875" y2="79.21625" width="0.2032" layer="1"/>
<wire x1="56.03875" y1="82.07375" x2="57.15" y2="83.185" width="0.2032" layer="1"/>
<wire x1="56.03875" y1="79.21625" x2="56.03875" y2="82.07375" width="0.2032" layer="1"/>
<contactref element="IC2" pad="31"/>
<wire x1="56.03875" y1="82.07375" x2="48.10125" y2="82.07375" width="0.2032" layer="1"/>
<wire x1="30.095" y1="83.765" x2="30.095" y2="82.62098125" width="0.2032" layer="1"/>
<wire x1="30.095" y1="82.62098125" x2="30.1538" y2="82.56218125" width="0.2032" layer="1"/>
<via x="30.1538" y="82.56218125" extent="1-16" drill="0.3048"/>
<wire x1="30.1538" y1="82.56218125" x2="30.88353125" y2="81.83245" width="0.2032" layer="16"/>
<wire x1="30.88353125" y1="81.83245" x2="33.1792" y2="81.83245" width="0.2032" layer="16"/>
<via x="33.1792" y="81.83245" extent="1-16" drill="0.3048"/>
<wire x1="33.1792" y1="81.83245" x2="48.10125" y2="82.07375" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="BTN_IN3">
<contactref element="IC2" pad="30"/>
<contactref element="S3" pad="2"/>
<contactref element="S3" pad="1"/>
<wire x1="3.81" y1="97.79" x2="4.92125" y2="98.90125" width="0.2032" layer="1"/>
<wire x1="4.92125" y1="101.75875" x2="3.81" y2="102.87" width="0.2032" layer="1"/>
<wire x1="4.92125" y1="98.90125" x2="4.92125" y2="101.75875" width="0.2032" layer="1"/>
<wire x1="0.8509" y1="97.52965" x2="1.11125" y2="97.79" width="0.2032" layer="1"/>
<wire x1="1.11125" y1="97.79" x2="3.81" y2="97.79" width="0.2032" layer="1"/>
<wire x1="1.11125" y1="76.835" x2="9.525" y2="76.835" width="0.2032" layer="1"/>
<wire x1="1.11125" y1="76.835" x2="0.8509" y2="77.09535" width="0.2032" layer="1"/>
<wire x1="0.8509" y1="77.09535" x2="0.8509" y2="97.52965" width="0.2032" layer="1"/>
<wire x1="29.595" y1="80.0242" x2="29.595" y2="83.765" width="0.2032" layer="1"/>
<wire x1="29.595" y1="80.0242" x2="28.35525" y2="78.78445" width="0.2032" layer="1"/>
<wire x1="28.35525" y1="78.78445" x2="22.38375" y2="78.78445" width="0.2032" layer="1"/>
<wire x1="9.525" y1="76.835" x2="22.38375" y2="78.78445" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="BTN_IN4">
<contactref element="S4" pad="1"/>
<contactref element="S4" pad="2"/>
<wire x1="4.92125" y1="82.07375" x2="3.81" y2="83.185" width="0.2032" layer="1"/>
<wire x1="4.92125" y1="79.21625" x2="4.92125" y2="82.07375" width="0.2032" layer="1"/>
<contactref element="IC2" pad="29"/>
<wire x1="3.81" y1="78.105" x2="4.92125" y2="79.21625" width="0.2032" layer="1"/>
<wire x1="29.095" y1="80.0271" x2="28.20795" y2="79.14005" width="0.2032" layer="1"/>
<wire x1="29.095" y1="80.0271" x2="29.095" y2="83.765" width="0.2032" layer="1"/>
<wire x1="28.20795" y1="79.14005" x2="22.225" y2="79.14005" width="0.2032" layer="1"/>
<wire x1="3.81" y1="78.105" x2="22.225" y2="79.14005" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="GATE_OUT1">
<contactref element="IC8" pad="15"/>
<contactref element="R55" pad="2"/>
<wire x1="41.75125" y1="51.0159" x2="41.75125" y2="48.5775" width="0.2032" layer="1"/>
<wire x1="41.75125" y1="48.5775" x2="42.06875" y2="48.26" width="0.2032" layer="1"/>
<wire x1="42.06875" y1="48.26" x2="49.5681" y2="48.26" width="0.2032" layer="1"/>
<wire x1="49.5681" y1="48.26" x2="49.72685" y2="48.41875" width="0.2032" layer="1"/>
<via x="49.72685" y="48.41875" extent="1-16" drill="0.3048"/>
<wire x1="49.72685" y1="48.41875" x2="49.72685" y2="46.7106" width="0.2032" layer="16"/>
<wire x1="49.72685" y1="46.7106" x2="49.8475" y2="46.58995" width="0.2032" layer="16"/>
<via x="49.8475" y="46.58995" extent="1-16" drill="0.3048"/>
<wire x1="49.8475" y1="46.58995" x2="50.4063" y2="46.58995" width="0.2032" layer="1"/>
<wire x1="50.4063" y1="46.58995" x2="50.64125" y2="46.355" width="0.2032" layer="1"/>
<wire x1="50.64125" y1="46.355" x2="50.64125" y2="44.1325" width="0.2032" layer="1"/>
<wire x1="50.64125" y1="44.1325" x2="50.8" y2="43.97375" width="0.2032" layer="1"/>
<wire x1="50.8" y1="43.97375" x2="51.6255" y2="43.97375" width="0.2032" layer="1"/>
</signal>
<signal name="LED_OUT1">
<contactref element="IC8" pad="1"/>
<contactref element="R60" pad="2"/>
<wire x1="46.863" y1="37.465" x2="46.83125" y2="37.49675" width="0.2032" layer="1"/>
<wire x1="40.68445" y1="42.9768" x2="40.48125" y2="43.18" width="0.2032" layer="1"/>
<wire x1="40.48125" y1="43.18" x2="40.48125" y2="44.8691" width="0.2032" layer="1"/>
<wire x1="46.83125" y1="37.49675" x2="46.83125" y2="39.215" width="0.2032" layer="1"/>
<wire x1="46.83125" y1="39.215" x2="43.06945" y2="42.9768" width="0.2032" layer="1"/>
<wire x1="43.06945" y1="42.9768" x2="40.68445" y2="42.9768" width="0.2032" layer="1"/>
</signal>
<signal name="GATE_OUT2">
<contactref element="IC8" pad="2"/>
<contactref element="R58" pad="2"/>
<wire x1="41.75125" y1="44.8691" x2="41.75125" y2="47.46625" width="0.2032" layer="1"/>
<wire x1="50.04435" y1="47.85995" x2="50.28565" y2="48.10125" width="0.2032" layer="1"/>
<wire x1="50.28565" y1="48.10125" x2="50.28565" y2="53.14315" width="0.2032" layer="1"/>
<wire x1="50.28565" y1="53.14315" x2="50.64125" y2="53.49875" width="0.2032" layer="1"/>
<wire x1="50.64125" y1="53.49875" x2="51.6255" y2="53.49875" width="0.2032" layer="1"/>
<wire x1="41.75125" y1="47.46625" x2="42.14495" y2="47.85995" width="0.2032" layer="1"/>
<wire x1="42.14495" y1="47.85995" x2="50.04435" y2="47.85995" width="0.2032" layer="1"/>
</signal>
<signal name="LED_OUT2">
<contactref element="IC8" pad="3"/>
<contactref element="R57" pad="2"/>
<wire x1="46.863" y1="27.305" x2="47.46625" y2="27.305" width="0.2032" layer="1"/>
<wire x1="47.46625" y1="27.305" x2="47.625" y2="27.46375" width="0.2032" layer="1"/>
<wire x1="47.625" y1="27.46375" x2="47.625" y2="38.92415" width="0.2032" layer="1"/>
<wire x1="43.02125" y1="44.8691" x2="43.02125" y2="43.5279" width="0.2032" layer="1"/>
<wire x1="43.02125" y1="43.5279" x2="47.625" y2="38.92415" width="0.2032" layer="1"/>
</signal>
<signal name="GATE_OUT3">
<contactref element="IC8" pad="4"/>
<contactref element="R61" pad="2"/>
<wire x1="44.29125" y1="44.8691" x2="44.29125" y2="47.14875" width="0.2032" layer="1"/>
<wire x1="50.36185" y1="47.50435" x2="50.64125" y2="47.78375" width="0.2032" layer="1"/>
<wire x1="50.64125" y1="47.78375" x2="50.64125" y2="50.00625" width="0.2032" layer="1"/>
<wire x1="50.64125" y1="50.00625" x2="50.95875" y2="50.32375" width="0.2032" layer="1"/>
<wire x1="50.95875" y1="50.32375" x2="51.6255" y2="50.32375" width="0.2032" layer="1"/>
<wire x1="44.29125" y1="47.14875" x2="44.64685" y2="47.50435" width="0.2032" layer="1"/>
<wire x1="44.64685" y1="47.50435" x2="50.36185" y2="47.50435" width="0.2032" layer="1"/>
</signal>
<signal name="LED_OUT3">
<contactref element="IC8" pad="5"/>
<contactref element="R54" pad="2"/>
<wire x1="46.863" y1="17.145" x2="46.863" y2="17.81175" width="0.2032" layer="1"/>
<wire x1="45.56125" y1="41.5925" x2="45.56125" y2="44.8691" width="0.2032" layer="1"/>
<wire x1="46.863" y1="17.81175" x2="49.8475" y2="20.79625" width="0.2032" layer="1"/>
<wire x1="49.8475" y1="20.79625" x2="49.8475" y2="37.30625" width="0.2032" layer="1"/>
<wire x1="49.8475" y1="37.30625" x2="45.56125" y2="41.5925" width="0.2032" layer="1"/>
</signal>
<signal name="GATE_OUT4">
<contactref element="IC8" pad="6"/>
<contactref element="R64" pad="2"/>
<wire x1="46.83125" y1="44.8691" x2="46.83125" y2="46.6725" width="0.2032" layer="1"/>
<wire x1="47.3075" y1="47.14875" x2="51.6255" y2="47.14875" width="0.2032" layer="1"/>
<wire x1="46.83125" y1="46.6725" x2="47.3075" y2="47.14875" width="0.2032" layer="1"/>
</signal>
<signal name="LED_OUT4">
<contactref element="IC8" pad="7"/>
<contactref element="R63" pad="2"/>
<wire x1="46.863" y1="6.985" x2="46.863" y2="7.65175" width="0.2032" layer="1"/>
<wire x1="48.10125" y1="39.5554" x2="48.10125" y2="44.8691" width="0.2032" layer="1"/>
<wire x1="50.2031" y1="37.45355" x2="48.10125" y2="39.5554" width="0.2032" layer="1"/>
<wire x1="46.863" y1="7.65175" x2="50.2031" y2="10.99185" width="0.2032" layer="1"/>
<wire x1="50.2031" y1="10.99185" x2="50.2031" y2="37.45355" width="0.2032" layer="1"/>
</signal>
<signal name="LED_BTN1">
<contactref element="IC9" pad="15"/>
<contactref element="R66" pad="2"/>
<wire x1="5.08" y1="93.5609" x2="5.08" y2="95.885" width="0.2032" layer="1"/>
<wire x1="5.08" y1="95.885" x2="5.55625" y2="96.36125" width="0.2032" layer="1"/>
<wire x1="5.55625" y1="96.36125" x2="9.525" y2="96.36125" width="0.2032" layer="1"/>
<wire x1="10.16" y1="96.99625" x2="10.16" y2="99.06" width="0.2032" layer="1"/>
<wire x1="10.16" y1="99.06" x2="10.63625" y2="99.53625" width="0.2032" layer="1"/>
<wire x1="24.60625" y1="99.53625" x2="25.0825" y2="100.0125" width="0.2032" layer="1"/>
<wire x1="25.0825" y1="100.0125" x2="25.0825" y2="105.41" width="0.2032" layer="1"/>
<wire x1="52.86375" y1="105.9688" x2="53.34" y2="105.56875" width="0.2032" layer="1"/>
<wire x1="53.34" y1="105.56875" x2="53.34" y2="102.31755" width="0.2032" layer="1"/>
<via x="53.34" y="102.31755" extent="1-16" drill="0.3048"/>
<wire x1="53.34" y1="102.31755" x2="53.34" y2="101.19995" width="0.2032" layer="16"/>
<via x="53.34" y="101.19995" extent="1-16" drill="0.3048"/>
<wire x1="53.34" y1="101.19995" x2="53.05425" y2="100.9142" width="0.2032" layer="1"/>
<wire x1="53.05425" y1="100.9142" x2="53.05425" y2="100.33" width="0.2032" layer="1"/>
<wire x1="9.525" y1="96.36125" x2="10.16" y2="96.99625" width="0.2032" layer="1"/>
<wire x1="10.63625" y1="99.53625" x2="24.60625" y2="99.53625" width="0.2032" layer="1"/>
<wire x1="25.0825" y1="105.41" x2="25.7175" y2="105.9688" width="0.2032" layer="1"/>
<wire x1="25.7175" y1="105.9688" x2="52.86375" y2="105.9688" width="0.2032" layer="1"/>
</signal>
<signal name="LED_BTN2">
<contactref element="IC9" pad="1"/>
<contactref element="R67" pad="2"/>
<wire x1="3.81" y1="87.4141" x2="3.81" y2="86.0425" width="0.2032" layer="1"/>
<wire x1="3.81" y1="86.0425" x2="4.1275" y2="85.725" width="0.2032" layer="1"/>
<wire x1="4.1275" y1="85.725" x2="5.3975" y2="85.725" width="0.2032" layer="1"/>
<wire x1="5.3975" y1="85.725" x2="5.715" y2="86.0425" width="0.2032" layer="1"/>
<wire x1="5.715" y1="86.0425" x2="5.715" y2="88.74125" width="0.2032" layer="1"/>
<wire x1="5.715" y1="88.74125" x2="6.0325" y2="89.05875" width="0.2032" layer="1"/>
<wire x1="6.0325" y1="89.05875" x2="11.7475" y2="89.05875" width="0.2032" layer="1"/>
<wire x1="11.7475" y1="89.05875" x2="12.065" y2="88.74125" width="0.2032" layer="1"/>
<wire x1="12.065" y1="77.94625" x2="12.54125" y2="77.47" width="0.2032" layer="1"/>
<via x="28.8417" y="74.6125" extent="1-16" drill="0.3048"/>
<wire x1="28.8417" y1="74.6125" x2="31.3351375" y2="74.6125" width="0.2032" layer="16"/>
<wire x1="31.3351375" y1="74.6125" x2="31.4579" y2="74.7352625" width="0.2032" layer="16"/>
<via x="31.4579" y="74.7352625" extent="1-16" drill="0.3048"/>
<wire x1="31.4579" y1="74.7352625" x2="31.5806625" y2="74.6125" width="0.2032" layer="1"/>
<wire x1="53.05425" y1="79.72425" x2="53.05425" y2="80.645" width="0.2032" layer="1"/>
<wire x1="12.065" y1="88.74125" x2="12.065" y2="77.94625" width="0.2032" layer="1"/>
<wire x1="12.54125" y1="77.47" x2="16.8275" y2="77.47" width="0.2032" layer="1"/>
<wire x1="16.8275" y1="77.47" x2="19.685" y2="74.6125" width="0.2032" layer="1"/>
<wire x1="31.5806625" y1="74.6125" x2="40.79875" y2="74.6125" width="0.2032" layer="1"/>
<wire x1="40.79875" y1="74.6125" x2="43.815" y2="77.62875" width="0.2032" layer="1"/>
<wire x1="43.815" y1="77.62875" x2="49.53" y2="77.62875" width="0.2032" layer="1"/>
<wire x1="49.53" y1="77.62875" x2="51.27625" y2="79.375" width="0.2032" layer="1"/>
<wire x1="51.27625" y1="79.375" x2="52.705" y2="79.375" width="0.2032" layer="1"/>
<wire x1="52.705" y1="79.375" x2="53.05425" y2="79.72425" width="0.2032" layer="1"/>
<wire x1="19.685" y1="74.6125" x2="28.8417" y2="74.6125" width="0.2032" layer="1"/>
</signal>
<signal name="LED_BTN3">
<contactref element="IC9" pad="2"/>
<contactref element="R68" pad="2"/>
<wire x1="7.90575" y1="99.34575" x2="7.90575" y2="100.33" width="0.2032" layer="1"/>
<wire x1="7.90575" y1="99.34575" x2="7.46125" y2="98.90125" width="0.2032" layer="1"/>
<wire x1="7.46125" y1="98.90125" x2="5.42415" y2="98.90125" width="0.2032" layer="1"/>
<wire x1="5.42415" y1="98.90125" x2="5.08" y2="98.5571" width="0.2032" layer="1"/>
<wire x1="5.08" y1="98.5571" x2="5.08" y2="97.31375" width="0.2032" layer="1"/>
<wire x1="3.437" y1="96.782" x2="3.01625" y2="96.36125" width="0.2032" layer="1"/>
<wire x1="3.01625" y1="96.36125" x2="3.01625" y2="89.2175" width="0.2032" layer="1"/>
<wire x1="3.01625" y1="89.2175" x2="3.33375" y2="88.9" width="0.2032" layer="1"/>
<wire x1="3.33375" y1="88.9" x2="4.7625" y2="88.9" width="0.2032" layer="1"/>
<wire x1="4.7625" y1="88.9" x2="5.08" y2="88.5825" width="0.2032" layer="1"/>
<wire x1="5.08" y1="88.5825" x2="5.08" y2="87.4141" width="0.2032" layer="1"/>
<wire x1="5.08" y1="97.31375" x2="4.54825" y2="96.782" width="0.2032" layer="1"/>
<wire x1="4.54825" y1="96.782" x2="3.437" y2="96.782" width="0.2032" layer="1"/>
</signal>
<signal name="LED_BTN4">
<contactref element="IC9" pad="3"/>
<contactref element="R69" pad="2"/>
<wire x1="7.90575" y1="80.645" x2="7.90575" y2="81.4705" width="0.2032" layer="1"/>
<wire x1="7.90575" y1="81.4705" x2="7.62" y2="81.75625" width="0.2032" layer="1"/>
<wire x1="6.35" y1="85.09" x2="6.35" y2="87.4141" width="0.2032" layer="1"/>
<wire x1="7.62" y1="81.75625" x2="7.62" y2="83.82" width="0.2032" layer="1"/>
<wire x1="7.62" y1="83.82" x2="6.35" y2="85.09" width="0.2032" layer="1"/>
</signal>
<signal name="N$59">
<contactref element="D6" pad="-"/>
<contactref element="R63" pad="1"/>
<wire x1="48.387" y1="6.985" x2="48.895" y2="5.08" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$51">
<contactref element="D3" pad="-"/>
<contactref element="R54" pad="1"/>
<wire x1="48.387" y1="17.145" x2="48.895" y2="15.24" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$65">
<contactref element="D4" pad="-"/>
<contactref element="R57" pad="1"/>
<wire x1="48.387" y1="27.305" x2="48.895" y2="25.4" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$67">
<contactref element="D5" pad="-"/>
<contactref element="R60" pad="1"/>
<wire x1="48.387" y1="37.465" x2="48.895" y2="35.56" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$81">
<contactref element="D11" pad="-"/>
<contactref element="R74" pad="1"/>
<wire x1="13.7795" y1="37.465" x2="14.2875" y2="35.56" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$82">
<contactref element="D12" pad="-"/>
<contactref element="R75" pad="1"/>
<wire x1="13.7795" y1="27.305" x2="14.2875" y2="25.4" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$83">
<contactref element="D13" pad="-"/>
<contactref element="R76" pad="1"/>
<wire x1="13.7795" y1="17.145" x2="14.2875" y2="15.24" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$84">
<contactref element="D14" pad="-"/>
<contactref element="R77" pad="1"/>
<wire x1="13.7795" y1="6.985" x2="14.2875" y2="5.08" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="N$47">
<contactref element="R69" pad="1"/>
<contactref element="S4" pad="LEDPOS"/>
<wire x1="6.38175" y1="80.645" x2="6.35" y2="80.67675" width="0.2032" layer="1"/>
<wire x1="6.35" y1="80.67675" x2="6.35" y2="83.345" width="0.2032" layer="1"/>
</signal>
<signal name="N$48">
<contactref element="R68" pad="1"/>
<contactref element="S3" pad="LEDPOS"/>
<wire x1="6.38175" y1="100.33" x2="6.38175" y2="102.99825" width="0.2032" layer="1"/>
<wire x1="6.38175" y1="102.99825" x2="6.35" y2="103.03" width="0.2032" layer="1"/>
</signal>
<signal name="N$52">
<contactref element="R67" pad="1"/>
<contactref element="S2" pad="LEDPOS"/>
<wire x1="54.57825" y1="80.645" x2="54.57825" y2="77.97675" width="0.2032" layer="1"/>
<wire x1="54.57825" y1="77.97675" x2="54.61" y2="77.945" width="0.2032" layer="1"/>
</signal>
<signal name="N$55">
<contactref element="R66" pad="1"/>
<contactref element="S1" pad="LEDPOS"/>
<wire x1="54.61" y1="97.63" x2="54.57825" y2="97.66175" width="0.2032" layer="1"/>
<wire x1="54.57825" y1="97.66175" x2="54.57825" y2="100.33" width="0.2032" layer="1"/>
</signal>
<signal name="N$56">
<contactref element="R4" pad="2"/>
<contactref element="IC2" pad="32"/>
<wire x1="26.82875" y1="50.927" x2="26.82875" y2="51.6204" width="0.2032" layer="1"/>
<wire x1="27.42565" y1="52.2173" x2="26.82875" y2="51.6204" width="0.2032" layer="1"/>
<wire x1="27.42565" y1="52.2173" x2="27.42565" y2="58.09105" width="0.2032" layer="1"/>
<wire x1="27.42565" y1="58.09105" x2="30.1879" y2="60.8533" width="0.2032" layer="1"/>
<wire x1="30.7126" y1="82.79365" x2="30.7126" y2="82.3307125" width="0.2032" layer="1"/>
<wire x1="30.7126" y1="82.3307125" x2="29.9506" y2="81.5687125" width="0.2032" layer="1"/>
<wire x1="30.595" y1="83.765" x2="30.595" y2="82.91125" width="0.2032" layer="1"/>
<wire x1="30.595" y1="82.91125" x2="30.7126" y2="82.79365" width="0.2032" layer="1"/>
<wire x1="29.9506" y1="77.9994" x2="29.965515625" y2="77.984484375" width="0.2032" layer="1"/>
<via x="29.965515625" y="77.984484375" extent="1-16" drill="0.3048"/>
<wire x1="29.9506" y1="81.5687125" x2="29.9506" y2="77.9994" width="0.2032" layer="1"/>
<wire x1="30.1879" y1="76.12343125" x2="30.372234375" y2="76.307765625" width="0.2032" layer="1"/>
<via x="30.372234375" y="76.307765625" extent="1-16" drill="0.3048"/>
<wire x1="30.372234375" y1="76.307765625" x2="29.965515625" y2="76.714484375" width="0.2032" layer="16"/>
<wire x1="29.965515625" y1="76.714484375" x2="29.965515625" y2="77.984484375" width="0.2032" layer="16"/>
<wire x1="30.1879" y1="60.8533" x2="30.1879" y2="76.12343125" width="0.2032" layer="1"/>
</signal>
<signal name="N$60">
<contactref element="IC2" pad="33"/>
<contactref element="R9" pad="2"/>
<wire x1="27.59075" y1="46.0375" x2="27.78125" y2="46.228" width="0.2032" layer="1"/>
<wire x1="27.78125" y1="57.94375" x2="27.78125" y2="46.228" width="0.2032" layer="1"/>
<wire x1="27.78125" y1="57.94375" x2="30.5435" y2="60.706" width="0.2032" layer="1"/>
<via x="30.5670375" y="78.4606" extent="1-16" drill="0.3048"/>
<wire x1="30.5670375" y1="78.4606" x2="30.5670375" y2="81.68225" width="0.2032" layer="1"/>
<wire x1="30.5670375" y1="81.68225" x2="31.0682" y2="82.1834125" width="0.2032" layer="1"/>
<wire x1="31.0682" y1="83.7382" x2="31.095" y2="83.765" width="0.2032" layer="1"/>
<wire x1="31.0682" y1="82.1834125" x2="31.0682" y2="83.7382" width="0.2032" layer="1"/>
<via x="31.007234375" y="76.942765625" extent="1-16" drill="0.3048"/>
<wire x1="30.9310375" y1="76.86656875" x2="31.007234375" y2="76.942765625" width="0.2032" layer="1"/>
<wire x1="30.5435" y1="75.6887625" x2="30.9310375" y2="76.0763" width="0.2032" layer="1"/>
<wire x1="30.9310375" y1="76.0763" x2="30.9310375" y2="76.86656875" width="0.2032" layer="1"/>
<wire x1="31.007234375" y1="76.942765625" x2="30.5670375" y2="77.3829625" width="0.2032" layer="16"/>
<wire x1="30.5670375" y1="77.3829625" x2="30.5670375" y2="78.4606" width="0.2032" layer="16"/>
<wire x1="30.5435" y1="60.706" x2="30.5435" y2="75.6887625" width="0.2032" layer="1"/>
</signal>
<signal name="LED_IN1">
<contactref element="IC9" pad="4"/>
<contactref element="R74" pad="2"/>
<wire x1="12.2555" y1="37.465" x2="12.2555" y2="38.13175" width="0.2032" layer="1"/>
<wire x1="12.2555" y1="38.13175" x2="12.54125" y2="38.4175" width="0.2032" layer="1"/>
<wire x1="12.54125" y1="38.4175" x2="14.84255" y2="38.4175" width="0.2032" layer="1"/>
<wire x1="14.84255" y1="38.4175" x2="15.79245" y2="39.3674" width="0.2032" layer="1"/>
<wire x1="15.79245" y1="45.8343" x2="15.99565" y2="46.0375" width="0.2032" layer="1"/>
<via x="15.99565" y="46.0375" extent="1-16" drill="0.3048"/>
<wire x1="15.79245" y1="39.3674" x2="15.79245" y2="45.8343" width="0.2032" layer="1"/>
<wire x1="15.99565" y1="46.0375" x2="15.99565" y2="46.51375" width="0.2032" layer="16"/>
<wire x1="15.99565" y1="46.51375" x2="15.2019" y2="47.3075" width="0.2032" layer="16"/>
<wire x1="15.99565" y1="50.64125" x2="15.2019" y2="49.8475" width="0.2032" layer="16"/>
<wire x1="15.99565" y1="50.64125" x2="15.99565" y2="51.27625" width="0.2032" layer="16"/>
<via x="15.99565" y="51.27625" extent="1-16" drill="0.3048"/>
<wire x1="15.2019" y1="47.3075" x2="15.2019" y2="49.8475" width="0.2032" layer="16"/>
<wire x1="15.99565" y1="51.27625" x2="15.99565" y2="52.1748625" width="0.2032" layer="1"/>
<wire x1="15.99565" y1="52.1748625" x2="14.95425" y2="53.2162625" width="0.2032" layer="1"/>
<wire x1="14.95425" y1="53.2162625" x2="14.95425" y2="65.05575" width="0.2032" layer="1"/>
<wire x1="14.95425" y1="65.05575" x2="10.594" y2="69.416" width="0.2032" layer="1"/>
<wire x1="7.62" y1="84.93125" x2="7.62" y2="87.4141" width="0.2032" layer="1"/>
<wire x1="10.594" y1="69.416" x2="10.594" y2="83.386" width="0.2032" layer="1"/>
<wire x1="10.594" y1="83.386" x2="9.525" y2="84.455" width="0.2032" layer="1"/>
<wire x1="9.525" y1="84.455" x2="8.09625" y2="84.455" width="0.2032" layer="1"/>
<wire x1="8.09625" y1="84.455" x2="7.62" y2="84.93125" width="0.2032" layer="1"/>
</signal>
<signal name="LED_IN2">
<contactref element="IC9" pad="5"/>
<contactref element="R75" pad="2"/>
<wire x1="12.2555" y1="27.305" x2="12.92225" y2="27.305" width="0.2032" layer="1"/>
<wire x1="12.92225" y1="27.305" x2="13.081" y2="27.46375" width="0.2032" layer="1"/>
<wire x1="13.081" y1="27.46375" x2="13.081" y2="36.09975" width="0.2032" layer="1"/>
<wire x1="13.081" y1="36.09975" x2="13.49375" y2="36.5125" width="0.2032" layer="1"/>
<wire x1="13.49375" y1="36.5125" x2="14.5288" y2="36.5125" width="0.2032" layer="1"/>
<wire x1="14.5288" y1="36.5125" x2="14.8463" y2="36.83" width="0.2032" layer="1"/>
<wire x1="14.8463" y1="36.83" x2="14.8463" y2="37.91835" width="0.2032" layer="1"/>
<wire x1="14.8463" y1="37.91835" x2="16.14805" y2="39.2201" width="0.2032" layer="1"/>
<via x="16.75765" y="46.0375" extent="1-16" drill="0.3048"/>
<wire x1="16.75765" y1="43.0859" x2="16.75765" y2="46.0375" width="0.2032" layer="1"/>
<wire x1="16.14805" y1="42.4763" x2="16.75765" y2="43.0859" width="0.2032" layer="1"/>
<wire x1="16.75765" y1="46.0375" x2="16.75765" y2="46.2661" width="0.2032" layer="16"/>
<wire x1="16.14805" y1="39.2201" x2="16.14805" y2="42.4763" width="0.2032" layer="1"/>
<wire x1="16.75765" y1="46.2661" x2="15.5575" y2="47.46625" width="0.2032" layer="16"/>
<via x="16.75765" y="51.27625" extent="1-16" drill="0.3048"/>
<wire x1="15.5575" y1="47.46625" x2="15.5575" y2="49.57158125" width="0.2032" layer="16"/>
<wire x1="15.5575" y1="49.57158125" x2="16.75765" y2="50.77173125" width="0.2032" layer="16"/>
<wire x1="16.75765" y1="50.77173125" x2="16.75765" y2="51.27625" width="0.2032" layer="16"/>
<wire x1="16.75765" y1="51.27625" x2="16.7132" y2="51.3207" width="0.2032" layer="1"/>
<wire x1="16.7132" y1="51.3207" x2="16.7132" y2="51.9602125" width="0.2032" layer="1"/>
<wire x1="16.7132" y1="51.9602125" x2="15.30985" y2="53.3635625" width="0.2032" layer="1"/>
<wire x1="15.30985" y1="53.3635625" x2="15.30985" y2="65.20305" width="0.2032" layer="1"/>
<wire x1="15.30985" y1="65.20305" x2="10.9496" y2="69.5633" width="0.2032" layer="1"/>
<wire x1="8.89" y1="85.5929" x2="8.89" y2="87.4141" width="0.2032" layer="1"/>
<wire x1="10.9496" y1="69.5633" x2="10.9496" y2="83.5333" width="0.2032" layer="1"/>
<wire x1="10.9496" y1="83.5333" x2="8.89" y2="85.5929" width="0.2032" layer="1"/>
</signal>
<signal name="LED_IN3">
<contactref element="IC9" pad="6"/>
<contactref element="R76" pad="2"/>
<wire x1="12.2555" y1="17.145" x2="12.2555" y2="17.81175" width="0.2032" layer="1"/>
<wire x1="15.2019" y1="37.77105" x2="16.50365" y2="39.0728" width="0.2032" layer="1"/>
<wire x1="12.2555" y1="17.81175" x2="15.2019" y2="20.75815" width="0.2032" layer="1"/>
<wire x1="15.2019" y1="20.75815" x2="15.2019" y2="37.77105" width="0.2032" layer="1"/>
<wire x1="16.50365" y1="42.329" x2="19.65325" y2="45.4786" width="0.2032" layer="1"/>
<wire x1="16.50365" y1="39.0728" x2="16.50365" y2="42.329" width="0.2032" layer="1"/>
<wire x1="19.65325" y1="45.4786" x2="19.65325" y2="49.56175" width="0.2032" layer="1"/>
<wire x1="19.65325" y1="49.56175" x2="15.66545" y2="53.54955" width="0.2032" layer="1"/>
<wire x1="15.66545" y1="53.54955" x2="15.66545" y2="65.35035" width="0.2032" layer="1"/>
<wire x1="15.66545" y1="65.35035" x2="11.3052" y2="69.7106" width="0.2032" layer="1"/>
<wire x1="10.16" y1="84.8258" x2="10.16" y2="87.4

repository: ThisIsNotRocketScience/Eurorack-Modules

repo_name: ThisIsNotRocketScience/Eurorack-Modules


text:
141" width="0.2032" layer="1"/>
<wire x1="11.3052" y1="69.7106" x2="11.3052" y2="83.6806" width="0.2032" layer="1"/>
<wire x1="11.3052" y1="83.6806" x2="10.16" y2="84.8258" width="0.2032" layer="1"/>
</signal>
<signal name="LED_IN4">
<contactref element="IC9" pad="7"/>
<contactref element="R77" pad="2"/>
<wire x1="12.2555" y1="6.985" x2="12.2555" y2="7.65175" width="0.2032" layer="1"/>
<wire x1="15.5575" y1="37.62375" x2="16.85925" y2="38.9255" width="0.2032" layer="1"/>
<wire x1="12.2555" y1="7.65175" x2="15.5575" y2="10.95375" width="0.2032" layer="1"/>
<wire x1="15.5575" y1="10.95375" x2="15.5575" y2="37.62375" width="0.2032" layer="1"/>
<wire x1="16.85925" y1="42.1817" x2="20.00885" y2="45.3313" width="0.2032" layer="1"/>
<wire x1="16.85925" y1="38.9255" x2="16.85925" y2="42.1817" width="0.2032" layer="1"/>
<wire x1="20.00885" y1="45.3313" x2="20.00885" y2="49.70905" width="0.2032" layer="1"/>
<wire x1="20.00885" y1="49.70905" x2="16.02105" y2="53.69685" width="0.2032" layer="1"/>
<wire x1="16.02105" y1="53.69685" x2="16.02105" y2="65.49765" width="0.2032" layer="1"/>
<wire x1="16.02105" y1="65.49765" x2="11.6608" y2="69.8579" width="0.2032" layer="1"/>
<wire x1="11.43" y1="84.0587" x2="11.43" y2="87.4141" width="0.2032" layer="1"/>
<wire x1="11.6608" y1="69.8579" x2="11.6608" y2="83.8279" width="0.2032" layer="1"/>
<wire x1="11.6608" y1="83.8279" x2="11.43" y2="84.0587" width="0.2032" layer="1"/>
</signal>
<signal name="5V">
<contactref element="X2" pad="1"/>
<contactref element="D7" pad="1"/>
<wire x1="0.69875" y1="-12.54125" x2="22.5625" y2="50.97125" width="0" layer="19" extent="1-1"/>
</signal>
</signals>
<mfgpreviewcolors>
<mfgpreviewcolor name="soldermaskcolor" color="0xC8008000"/>
<mfgpreviewcolor name="silkscreencolor" color="0xFFFEFEFE"/>
<mfgpreviewcolor name="backgroundcolor" color="0xFF282828"/>
<mfgpreviewcolor name="coppercolor" color="0xFFFFBF00"/>
<mfgpreviewcolor name="substratecolor" color="0xFF786E46"/>
</mfgpreviewcolors>
</board>
</drawing>
<compatibility>
<note version="6.3" minversion="6.2.2" severity="warning">
Since Version 6.2.2 text objects can contain more than one line,
which will not be processed correctly with this version.
</note>
<note version="8.2" severity="warning">
Since Version 8.2, EAGLE supports online libraries. The ids
of those online libraries will not be understood (or retained)
with this version.
</note>
<note version="8.3" severity="warning">
Since Version 8.3, EAGLE supports URNs for individual library
assets (packages, symbols, and devices). The URNs of those assets
will not be understood (or retained) with this version.
</note>
<note version="8.3" severity="warning">
Since Version 8.3, EAGLE supports the association of 3D packages
with devices in libraries, schematics, and board files. Those 3D
packages will not be understood (or retained) with this version.
</note>
</compatibility>
</eagle>

license: MIT

license_type: permissive

branch_name: refs/heads/master

extension: brd


text:
package geo

import (
	"bytes"
	"encoding/binary"
	"fmt"
	"io"
	"math"

	"github.com/golang/geo/s2"
)

// LoopKind is the hierarchical position
// of the Loop. It is analogous to an OSM
// member role.
type LoopKind uint8

const (
	LoopKindOuter LoopKind = 1 + iota
	LoopKindInner
)

// LoopOverlap defines the type of overlap between a
// loop and a Cell
type LoopOverlap uint8

const (
	LoopOverlap_None            LoopOverlap = iota // no overlap
	LoopOverlap_Partial                            // partial overlap = intersection
	LoopOverlap_ContainsCell                       // loop completely wraps the cell
	LoopOverlap_ContainedByCell                    // cell completely wraps the loop
)

// Loop wraps s2.Loop along with its Kind.
type Loop struct {
	*s2.Loop
	Kind LoopKind
}

// Overlap returns the overlap relationship between
// the loop and a cell
func (l *Loop) Overlap(cell s2.Cell) LoopOverlap {

	// Quick rejection test
	if !l.RectBound().Intersects(cell.RectBound()) {
		return LoopOverlap_None
	}

	// Check of if any of the edges cross, if they do
	// we have a partial overlap
	for i := 0; i < l.NumEdges(); i++ {
		a, b := l.Edge(i)
		cc := s2.NewChainEdgeCrosser(a, b, cell.Vertex(3))

		for k := 0; k < 4; k++ {
			if cc.EdgeOrVertexChainCrossing(cell.Vertex(k)) {
				return LoopOverlap_Partial
			}
		}
	}

	// Check if loop contains any of the cell vertices
	if l.ContainsPoint(cell.Vertex(0)) {
		return LoopOverlap_ContainsCell
	}

	// Check if cell contains any of the loop vertices
	if cell.ContainsPoint(l.Vertex(0)) {
		return LoopOverlap_ContainedByCell
	}

	return LoopOverlap_None
}

// MarshalBinary implements encoding.BinaryMarshaler
func (l *Loop) MarshalBinary() ([]byte, error) {
	buf := new(bytes.Buffer)
	if err := l.marshalTo(buf); err != nil {
		return nil, err
	}
	return buf.Bytes(), nil
}

// UnmarshalBinary implements encoding.BinaryUnmarshaler
func (l *Loop) UnmarshalBinary(b []byte) error {
	if len(b) < 6 {
		return io.EOF
	}

	// check version
	if ver := b[0]; ver != 1 {
		return fmt.Errorf("geo: unknown loop encoding version: %d", ver)
	}

	// check kind
	if kind := LoopKind(b[1]); kind != LoopKindInner && kind != LoopKindOuter {
		return fmt.Errorf("geo: unknown loop kind: %d", kind)
	} else {
		l.Kind = kind
	}

	// read pts len
	sz := int(binary.LittleEndian.Uint32(b[2:]))
	if len(b) != 6+(24*sz) {
		return io.EOF
	}

	// parse pts
	pts := make([]s2.Point, 0, sz)
	for i := 0; i < sz; i++ {
		x := math.Float64frombits(binary.LittleEndian.Uint64(b[6+(24*i):]))
		y := math.Float64frombits(binary.LittleEndian.Uint64(b[6+(24*i)+8:]))
		z := math.Float64frombits(binary.LittleEndian.Uint64(b[6+(24*i)+16:]))
		pts = append(pts, s2.PointFromCoords(x, y, z))
	}
	l.Loop = s2.LoopFromPoints(pts)

	return nil
}

func (l *Loop) marshalTo(buf *bytes.Buffer) error {
	// version
	if err := buf.WriteByte(uint8(1)); err != nil {
		return err
	}

	// kind
	if err := buf.WriteByte(uint8(l.Kind)); err != nil {
		return err
	}

	// vertices
	if err := binWrite(buf, uint32(len(l.Vertices()))); err != nil {
		return err
	}
	for _, pt := range l.Vertices() {
		for _, f := range []float64{pt.X, pt.Y, pt.Z} {
			if err := binWrite(buf, math.Float64bits(f)); err != nil {
				return err
			}
		}
	}

	return nil
}

// Fit returns an un-normalised CellUnion approximating
// the surface covered by the loop, with the smallest
// cell being maxLevel.
func (l *Loop) Fit(acc s2.CellUnion, maxLevel int) s2.CellUnion {
	for i := 0; i < 6; i++ {
		acc = l.fitAppend(s2.CellIDFromFace(i), acc, maxLevel)
	}

	return acc
}

func (l *Loop) fitAppend(cellID s2.CellID, acc s2.CellUnion, maxLevel int) s2.CellUnion {
	cell := s2.CellFromCellID(cellID)

	switch l.Overlap(cell) {
	case LoopOverlap_ContainsCell:
		acc = append(acc, cellID)
	case LoopOverlap_Partial, LoopOverlap_ContainedByCell:
		if cell.Level() == maxLevel {
			acc = append(acc, cellID)
		} else {
			for _, childID := range cellID.Children() {
				acc = l.fitAppend(childID, acc, maxLevel)
			}
		}
	}

	return acc
}

extension: go


text:
require minilite.inc

SRC_URI[md5sum] = "93fef25a7fecc7e6caa73c7fd34e6d28"
SRC_URI[sha256sum] = "62fbcfbba464b13f857c054554b62593039f83f0363cb335b1a2f9f683d41e26"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD

extension: bb


text:
import { HttpClient } from "@angular/common/http";
import { Injectable } from "@angular/core";
import { ApiResponse } from "app/model/api.response";
import { WordDictionaryVO } from "app/model/word.dictionary.vo";
import { environment } from "environments/environment";
import { Observable } from "rxjs";

@Injectable({
  providedIn: 'root'
})

export class DataService {

  constructor(private http: HttpClient) { }

  searchDatas(params: any) : Observable<ApiResponse> {
    return this.http.post<ApiResponse>(`${environment.baseUrl}/data/searchDatas`, params);
  }

  registerDatas(params: WordDictionaryVO) : Observable<ApiResponse> {
    return this.http.post<ApiResponse>(`${environment.baseUrl}/data/registerDatas`, params);
  }

  selectWordBywordId(params: number) : Observable<ApiResponse> {
    return this.http.post<ApiResponse>(`${environment.baseUrl}/data/selectWordBywordId`, params);
  }

  modifyDatas(params: WordDictionaryVO) : Observable<ApiResponse> {
    return this.http.post<ApiResponse>(`${environment.baseUrl}/data/modifyDatas`, params);
  }

  deleteData(params: number) : Observable<ApiResponse> {
    return this.http.post<ApiResponse>(`${environment.baseUrl}/data/deleteData`, params);
  }

  // upload(data) {
  //   return this.http.post(`${environment.baseUrl}/table/upload`, data);
  // }

}

branch_name: refs/heads/main

extension: ts