text:
ire x1="41.7576" y1="16.1544" x2="29.8704" y2="16.1544" width="0.1524" layer="16"/>
<wire x1="43.7388" y1="18.1356" x2="41.7576" y2="16.1544" width="0.1524" layer="16"/>
<wire x1="43.7388" y1="22.7076" x2="43.7388" y2="18.1356" width="0.1524" layer="16"/>
<wire x1="37.7952" y1="22.7076" x2="43.7388" y2="22.7076" width="0.1524" layer="16"/>
<wire x1="36.8808" y1="23.622" x2="37.7952" y2="22.7076" width="0.1524" layer="16"/>
<wire x1="36.8808" y1="24.0792" x2="36.8808" y2="23.622" width="0.1524" layer="16"/>
<wire x1="36.8808" y1="24.0792" x2="36.83" y2="24.13" width="0.1524" layer="16"/>
<via x="29.718" y="16.3068" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="VBUS"/>
<contactref element="U1" pad="VBUS"/>
<wire x1="27.8892" y1="7.62" x2="26.166" y2="7.62" width="0.1524" layer="1"/>
</signal>
<signal name="MCLR">
<contactref element="RESET" pad="2"/>
<contactref element="POWER" pad="5"/>
<contactref element="PROG" pad="1"/>
<wire x1="25.6032" y1="21.336" x2="24.5364" y2="20.2692" width="0.1524" layer="1"/>
<wire x1="24.5364" y1="20.2692" x2="23.9268" y2="19.6596" width="0.1524" layer="1"/>
<wire x1="30.7848" y1="21.336" x2="25.6032" y2="21.336" width="0.1524" layer="1"/>
<wire x1="30.7848" y1="20.2692" x2="30.7848" y2="21.336" width="0.1524" layer="1"/>
<wire x1="23.9268" y1="19.6596" x2="23.894" y2="19.596" width="0.1524" layer="1"/>
<wire x1="6.5532" y1="19.2024" x2="6.4008" y2="19.05" width="0.1524" layer="16"/>
<wire x1="14.3256" y1="19.2024" x2="6.5532" y2="19.2024" width="0.1524" layer="16"/>
<wire x1="16.3068" y1="21.1836" x2="14.3256" y2="19.2024" width="0.1524" layer="1"/>
<wire x1="20.4216" y1="21.1836" x2="16.3068" y2="21.1836" width="0.1524" layer="16"/>
<wire x1="23.622" y1="21.1836" x2="20.4216" y2="21.1836" width="0.1524" layer="1"/>
<wire x1="24.5364" y1="20.2692" x2="23.622" y2="21.1836" width="0.1524" layer="1"/>
<wire x1="6.4008" y1="19.05" x2="6.35" y2="19.05" width="0.1524" layer="16"/>
<wire x1="32.9184" y1="24.0792" x2="34.29" y2="24.0792" width="0.1524" layer="1"/>
<wire x1="32.9184" y1="23.622" x2="32.9184" y2="24.0792" width="0.1524" layer="1"/>
<wire x1="32.3088" y1="23.0124" x2="32.9184" y2="23.622" width="0.1524" layer="1"/>
<wire x1="27.8892" y1="23.0124" x2="32.3088" y2="23.0124" width="0.1524" layer="1"/>
<wire x1="27.8892" y1="23.3172" x2="27.8892" y2="23.0124" width="0.1524" layer="1"/>
<wire x1="27.5844" y1="23.0124" x2="27.8892" y2="23.3172" width="0.1524" layer="16"/>
<wire x1="25.7556" y1="23.0124" x2="27.5844" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="25.4508" y1="23.3172" x2="25.7556" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="25.6032" y1="23.1648" x2="25.4508" y2="23.3172" width="0.1524" layer="1"/>
<wire x1="25.6032" y1="21.336" x2="25.6032" y2="23.1648" width="0.1524" layer="1"/>
<wire x1="34.29" y1="24.0792" x2="34.29" y2="24.13" width="0.1524" layer="1"/>
<via x="14.3256" y="19.2024" extent="1-16" drill="0.3302"/>
<via x="16.3068" y="21.1836" extent="1-16" drill="0.3302"/>
<via x="20.4216" y="21.1836" extent="1-16" drill="0.3302"/>
<via x="27.8892" y="23.3172" extent="1-16" drill="0.3302"/>
<via x="25.4508" y="23.3172" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="MCLR"/>
<wire x1="30.7848" y1="20.2692" x2="30.876" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="ANT">
<contactref element="RF" pad="1"/>
<wire x1="46.7868" y1="13.8684" x2="49.2252" y2="11.43" width="0.1524" layer="16"/>
<wire x1="36.8808" y1="13.8684" x2="46.7868" y2="13.8684" width="0.1524" layer="16"/>
<wire x1="36.7284" y1="14.0208" x2="36.8808" y2="13.8684" width="0.1524" layer="16"/>
<wire x1="30.9372" y1="14.0208" x2="36.7284" y2="14.0208" width="0.1524" layer="16"/>
<wire x1="30.6324" y1="13.716" x2="30.9372" y2="14.0208" width="0.1524" layer="16"/>
<wire x1="30.0228" y1="13.1064" x2="30.6324" y2="13.716" width="0.1524" layer="1"/>
<wire x1="30.0228" y1="11.7348" x2="30.0228" y2="13.1064" width="0.1524" layer="1"/>
<wire x1="28.4988" y1="10.2108" x2="30.0228" y2="11.7348" width="0.1524" layer="1"/>
<wire x1="22.86" y1="10.2108" x2="28.4988" y2="10.2108" width="0.1524" layer="16"/>
<wire x1="22.86" y1="10.2108" x2="22.86" y2="10.16" width="0.1524" layer="16"/>
<via x="49.2252" y="11.43" extent="1-16" drill="0.3302"/>
<via x="30.6324" y="13.716" extent="1-16" drill="0.3302"/>
<via x="28.4988" y="10.2108" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="ANT"/>
<wire x1="49.2252" y1="11.43" x2="52.066" y2="11.43" width="0.1524" layer="1"/>
</signal>
<signal name="BT_RF">
<contactref element="RF" pad="2"/>
<contactref element="R3" pad="1"/>
<wire x1="43.8912" y1="6.5532" x2="43.8912" y2="8.8392" width="0.1524" layer="16"/>
<wire x1="44.8056" y1="5.6388" x2="44.0436" y2="6.4008" width="0.1524" layer="1"/>
<wire x1="44.8056" y1="5.1816" x2="44.8056" y2="5.6388" width="0.1524" layer="1"/>
<wire x1="43.8912" y1="8.8392" x2="43.776" y2="8.89" width="0.1524" layer="16"/>
<wire x1="44.958" y1="7.3152" x2="44.0436" y2="6.4008" width="0.1524" layer="1"/>
<wire x1="44.958" y1="14.478" x2="44.958" y2="7.3152" width="0.1524" layer="1"/>
<wire x1="44.5008" y1="14.9352" x2="44.958" y2="14.478" width="0.1524" layer="16"/>
<wire x1="37.6428" y1="14.9352" x2="44.5008" y2="14.9352" width="0.1524" layer="16"/>
<wire x1="36.7284" y1="15.8496" x2="37.6428" y2="14.9352" width="0.1524" layer="16"/>
<wire x1="30.6324" y1="15.8496" x2="36.7284" y2="15.8496" width="0.1524" layer="16"/>
<wire x1="30.48" y1="15.6972" x2="30.6324" y2="15.8496" width="0.1524" layer="16"/>
<wire x1="21.9456" y1="15.6972" x2="30.48" y2="15.6972" width="0.1524" layer="16"/>
<wire x1="21.336" y1="15.0876" x2="21.9456" y2="15.6972" width="0.1524" layer="16"/>
<wire x1="21.4884" y1="14.9352" x2="21.336" y2="15.0876" width="0.1524" layer="1"/>
<wire x1="21.4884" y1="11.2776" x2="21.4884" y2="14.9352" width="0.1524" layer="1"/>
<wire x1="20.4216" y1="10.2108" x2="21.4884" y2="11.2776" width="0.1524" layer="1"/>
<wire x1="44.0436" y1="6.4008" x2="43.8912" y2="6.5532" width="0.1524" layer="1"/>
<wire x1="20.4216" y1="10.2108" x2="20.32" y2="10.16" width="0.1524" layer="1"/>
<via x="43.8912" y="6.5532" extent="1-16" drill="0.3302"/>
<via x="44.958" y="14.478" extent="1-16" drill="0.3302"/>
<via x="21.336" y="15.0876" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="BT_RF"/>
<wire x1="44.8056" y1="5.1816" x2="44.846" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RB0">
<contactref element="PROG" pad="4"/>
<wire x1="28.3464" y1="16.4592" x2="28.3464" y2="20.1168" width="0.1524" layer="1"/>
<wire x1="28.194" y1="16.3068" x2="28.3464" y2="16.4592" width="0.1524" layer="16"/>
<wire x1="15.0876" y1="16.3068" x2="28.194" y2="16.3068" width="0.1524" layer="16"/>
<wire x1="14.3256" y1="15.5448" x2="15.0876" y2="16.3068" width="0.1524" layer="16"/>
<wire x1="6.35" y1="11.43" x2="8.0772" y2="11.43" width="0.1524" layer="16"/>
<via x="28.3464" y="16.4592" extent="1-16" drill="0.3302"/>
<via x="14.3256" y="15.5448" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB0"/>
<wire x1="28.3464" y1="20.1168" x2="28.336" y2="20.25" width="0.1524" layer="1"/>
<wire x1="8.9916" y1="12.3444" x2="8.0772" y2="11.43" width="0.1524" layer="16"/>
<wire x1="13.5636" y1="12.3444" x2="8.9916" y2="12.3444" width="0.1524" layer="16"/>
<wire x1="14.3256" y1="13.1064" x2="13.5636" y2="12.3444" width="0.1524" layer="1"/>
<wire x1="14.3256" y1="15.5448" x2="14.3256" y2="13.1064" width="0.1524" layer="1"/>
<via x="13.5636" y="12.3444" extent="1-16" drill="0.3302"/>
</signal>
<signal name="RB1">
<contactref element="PROG" pad="5"/>
<wire x1="29.718" y1="17.9832" x2="29.718" y2="20.1168" width="0.1524" layer="1"/>
<wire x1="7.0104" y1="17.9832" x2="29.718" y2="17.9832" width="0.1524" layer="16"/>
<wire x1="6.858" y1="17.8308" x2="7.0104" y2="17.9832" width="0.1524" layer="16"/>
<wire x1="4.7244" y1="17.8308" x2="6.858" y2="17.8308" width="0.1524" layer="16"/>
<wire x1="4.4196" y1="18.1356" x2="4.7244" y2="17.8308" width="0.1524" layer="16"/>
<wire x1="4.2672" y1="17.9832" x2="4.4196" y2="18.1356" width="0.1524" layer="1"/>
<wire x1="4.2672" y1="9.6012" x2="4.2672" y2="17.9832" width="0.1524" layer="1"/>
<wire x1="4.8768" y1="8.9916" x2="4.2672" y2="9.6012" width="0.1524" layer="1"/>
<wire x1="6.2484" y1="8.9916" x2="4.8768" y2="8.9916" width="0.1524" layer="1"/>
<wire x1="6.2484" y1="8.9916" x2="6.35" y2="8.89" width="0.1524" layer="1"/>
<via x="29.718" y="17.9832" extent="1-16" drill="0.3302"/>
<via x="4.4196" y="18.1356" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB1"/>
<wire x1="29.718" y1="20.1168" x2="29.606" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RB5">
<contactref element="PORTB" pad="3"/>
<wire x1="25.146" y1="8.8392" x2="26.0604" y2="8.8392" width="0.1524" layer="1"/>
<wire x1="25.146" y1="7.9248" x2="25.146" y2="8.8392" width="0.1524" layer="1"/>
<wire x1="24.9936" y1="7.7724" x2="25.146" y2="7.9248" width="0.1524" layer="1"/>
<wire x1="24.9936" y1="6.096" x2="24.9936" y2="7.7724" width="0.1524" layer="1"/>
<wire x1="25.146" y1="5.9436" x2="24.9936" y2="6.096" width="0.1524" layer="1"/>
<wire x1="25.146" y1="5.0292" x2="25.146" y2="5.9436" width="0.1524" layer="1"/>
<wire x1="24.6888" y1="4.572" x2="25.146" y2="5.0292" width="0.1524" layer="16"/>
<wire x1="21.1836" y1="4.572" x2="24.6888" y2="4.572" width="0.1524" layer="16"/>
<wire x1="19.05" y1="2.4384" x2="21.1836" y2="4.572" width="0.1524" layer="1"/>
<wire x1="19.05" y1="1.27" x2="19.05" y2="2.4384" width="0.1524" layer="1"/>
<via x="25.146" y="5.0292" extent="1-16" drill="0.3302"/>
<via x="21.1836" y="4.572" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB5"/>
<wire x1="26.0604" y1="8.8392" x2="26.166" y2="8.89" width="0.1524" layer="1"/>
</signal>
<signal name="RB8">
<contactref element="PORTB" pad="4"/>
<wire x1="25.4508" y1="18.4404" x2="26.0604" y2="17.8308" width="0.1524" layer="1"/>
<wire x1="25.4508" y1="19.2024" x2="25.4508" y2="18.4404" width="0.1524" layer="1"/>
<wire x1="24.9936" y1="19.6596" x2="25.4508" y2="19.2024" width="0.1524" layer="16"/>
<wire x1="15.6972" y1="19.6596" x2="24.9936" y2="19.6596" width="0.1524" layer="16"/>
<wire x1="15.0876" y1="19.05" x2="15.6972" y2="19.6596" width="0.1524" layer="1"/>
<wire x1="16.4592" y1="1.3716" x2="15.3924" y2="2.4384" width="0.1524" layer="1"/>
<wire x1="16.4592" y1="1.3716" x2="16.51" y2="1.27" width="0.1524" layer="1"/>
<via x="25.4508" y="19.2024" extent="1-16" drill="0.3302"/>
<via x="15.6972" y="19.6596" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB8"/>
<wire x1="26.0604" y1="17.8308" x2="26.166" y2="17.78" width="0.1524" layer="1"/>
<wire x1="16.1544" y1="3.2004" x2="15.3924" y2="2.4384" width="0.1524" layer="1"/>
<wire x1="16.1544" y1="14.3256" x2="16.1544" y2="3.2004" width="0.1524" layer="1"/>
<wire x1="15.0876" y1="15.3924" x2="16.1544" y2="14.3256" width="0.1524" layer="1"/>
<wire x1="15.0876" y1="19.05" x2="15.0876" y2="15.3924" width="0.1524" layer="1"/>
</signal>
<signal name="RB10">
<contactref element="PORTB" pad="5"/>
<wire x1="24.5364" y1="10.0584" x2="26.0604" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="24.5364" y1="8.5344" x2="24.5364" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="24.0792" y1="8.0772" x2="24.5364" y2="8.5344" width="0.1524" layer="16"/>
<via x="24.5364" y="8.5344" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB10"/>
<wire x1="26.0604" y1="10.0584" x2="26.166" y2="10.16" width="0.1524" layer="1"/>
<wire x1="17.8308" y1="8.0772" x2="24.0792" y2="8.0772" width="0.1524" layer="16"/>
<wire x1="15.5448" y1="5.7912" x2="17.8308" y2="8.0772" width="0.1524" layer="16"/>
<wire x1="15.5448" y1="3.048" x2="15.5448" y2="5.7912" width="0.1524" layer="1"/>
<wire x1="14.0208" y1="1.524" x2="15.5448" y2="3.048" width="0.1524" layer="1"/>
<wire x1="14.0208" y1="1.3716" x2="14.0208" y2="1.524" width="0.1524" layer="1"/>
<wire x1="14.0208" y1="1.3716" x2="13.97" y2="1.27" width="0.1524" layer="1"/>
<via x="15.5448" y="5.7912" extent="1-16" drill="0.3302"/>
</signal>
<signal name="RB11">
<contactref element="PORTB" pad="6"/>
<wire x1="24.384" y1="12.192" x2="24.384" y2="11.43" width="0.1524" layer="1"/>
<wire x1="24.0792" y1="11.8872" x2="24.384" y2="12.192" width="0.1524" layer="16"/>
<via x="24.384" y="12.192" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB11"/>
<wire x1="24.384" y1="11.43" x2="26.166" y2="11.43" width="0.1524" layer="1"/>
<wire x1="15.3924" y1="11.8872" x2="24.0792" y2="11.8872" width="0.1524" layer="16"/>
<wire x1="14.6304" y1="11.1252" x2="15.3924" y2="11.8872" width="0.1524" layer="1"/>
<wire x1="14.6304" y1="10.5156" x2="14.6304" y2="11.1252" width="0.1524" layer="1"/>
<wire x1="14.1732" y1="10.0584" x2="14.6304" y2="10.5156" width="0.1524" layer="1"/>
<wire x1="12.3444" y1="10.0584" x2="14.1732" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="12.3444" y1="2.286" x2="12.3444" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="11.43" y1="1.3716" x2="12.3444" y2="2.286" width="0.1524" layer="1"/>
<wire x1="11.43" y1="1.3716" x2="11.43" y2="1.27" width="0.1524" layer="1"/>
<via x="15.3924" y="11.8872" extent="1-16" drill="0.3302"/>
</signal>
<signal name="RB12">
<contactref element="PORTB" pad="7"/>
<wire x1="27.432" y1="12.6492" x2="26.2128" y2="12.6492" width="0.1524" layer="1"/>
<wire x1="27.432" y1="10.9728" x2="27.432" y2="12.6492" width="0.1524" layer="1"/>
<wire x1="27.1272" y1="11.2776" x2="27.432" y2="10.9728" width="0.1524" layer="16"/>
<wire x1="19.812" y1="11.2776" x2="27.1272" y2="11.2776" width="0.1524" layer="16"/>
<wire x1="8.9916" y1="1.3716" x2="8.89" y2="1.27" width="0.1524" layer="1"/>
<via x="27.432" y="10.9728" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB12"/>
<wire x1="26.2128" y1="12.6492" x2="26.166" y2="12.7" width="0.1524" layer="1"/>
<wire x1="10.0584" y1="2.4384" x2="8.89" y2="1.27" width="0.1524" layer="16"/>
<wire x1="17.3736" y1="2.4384" x2="10.0584" y2="2.4384" width="0.1524" layer="16"/>
<wire x1="17.6784" y1="2.1336" x2="17.3736" y2="2.4384" width="0.1524" layer="16"/>
<wire x1="16.6116" y1="3.2004" x2="17.6784" y2="2.1336" width="0.1524" layer="1"/>
<wire x1="16.6116" y1="8.0772" x2="16.6116" y2="3.2004" width="0.1524" layer="1"/>
<wire x1="17.9832" y1="9.4488" x2="16.6116" y2="8.0772" width="0.1524" layer="1"/>
<wire x1="19.812" y1="11.2776" x2="17.9832" y2="9.4488" width="0.1524" layer="16"/>
<via x="17.6784" y="2.1336" extent="1-16" drill="0.3302"/>
<via x="17.9832" y="9.4488" extent="1-16" drill="0.3302"/>
</signal>
<signal name="RB13">
<contactref element="PORTB" pad="8"/>
<wire x1="28.0416" y1="13.8684" x2="26.2128" y2="13.8684" width="0.1524" layer="1"/>
<wire x1="28.0416" y1="12.192" x2="28.0416" y2="13.8684" width="0.1524" layer="1"/>
<wire x1="27.432" y1="11.5824" x2="28.0416" y2="12.192" width="0.1524" layer="16"/>
<wire x1="16.002" y1="11.5824" x2="27.432" y2="11.5824" width="0.1524" layer="16"/>
<wire x1="8.6868" y1="3.6576" x2="8.6868" y2="5.6388" width="0.1524" layer="1"/>
<wire x1="8.6868" y1="5.6388" x2="8.6868" y2="11.43" width="0.1524" layer="1"/>
<wire x1="6.4008" y1="1.3716" x2="8.6868" y2="3.6576" width="0.1524" layer="1"/>
<wire x1="6.4008" y1="1.3716" x2="6.35" y2="1.27" width="0.1524" layer="1"/>
<via x="28.0416" y="12.192" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB13"/>
<wire x1="26.2128" y1="13.8684" x2="26.166" y2="13.97" width="0.1524" layer="1"/>
<wire x1="13.1064" y1="8.6868" x2="16.002" y2="11.5824" width="0.1524" layer="16"/>
<wire x1="9.906" y1="8.6868" x2="13.1064" y2="8.6868" width="0.1524" layer="16"/>
<wire x1="9.906" y1="6.858" x2="9.906" y2="8.6868" width="0.1524" layer="1"/>
<wire x1="8.6868" y1="5.6388" x2="9.906" y2="6.858" width="0.1524" layer="1"/>
<via x="9.906" y="8.6868" extent="1-16" drill="0.3302"/>
</signal>
<signal name="RB14">
<contactref element="PORTB" pad="9"/>
<wire x1="21.9456" y1="15.3924" x2="21.9456" y2="15.24" width="0.1524" layer="1"/>
<wire x1="21.6408" y1="15.6972" x2="21.9456" y2="15.3924" width="0.1524" layer="1"/>
<wire x1="18.7452" y1="15.6972" x2="19.05" y2="15.6972" width="0.1524" layer="1"/>
<wire x1="19.05" y1="15.6972" x2="21.6408" y2="15.6972" width="0.1524" layer="1"/>
<wire x1="3.81" y1="3.3528" x2="6.2484" y2="5.7912" width="0.1524" layer="1"/>
<wire x1="3.81" y1="1.27" x2="3.81" y2="3.3528" width="0.1524" layer="1"/>
<via x="6.2484" y="5.7912" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB14"/>
<wire x1="21.9456" y1="15.24" x2="26.166" y2="15.24" width="0.1524" layer="1"/>
<wire x1="19.05" y1="12.954" x2="19.05" y2="15.6972" width="0.1524" layer="1"/>
<wire x1="19.2024" y1="12.8016" x2="19.05" y2="12.954" width="0.1524" layer="1"/>
<wire x1="19.05" y1="12.954" x2="19.2024" y2="12.8016" width="0.1524" layer="16"/>
<wire x1="11.2776" y1="12.954" x2="19.05" y2="12.954" width="0.1524" layer="16"/>
<wire x1="10.2108" y1="11.8872" x2="11.2776" y2="12.954" width="0.1524" layer="1"/>
<wire x1="10.2108" y1="10.5156" x2="10.2108" y2="11.8872" width="0.1524" layer="1"/>
<wire x1="10.668" y1="10.0584" x2="10.2108" y2="10.5156" width="0.1524" layer="1"/>
<wire x1="12.0396" y1="10.0584" x2="10.668" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="12.0396" y1="7.1628" x2="12.0396" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="11.7348" y1="6.858" x2="12.0396" y2="7.1628" width="0.1524" layer="1"/>
<wire x1="10.2108" y1="6.858" x2="11.7348" y2="6.858" width="0.1524" layer="1"/>
<wire x1="10.2108" y1="5.1816" x2="10.2108" y2="6.858" width="0.1524" layer="1"/>
<wire x1="9.6012" y1="5.7912" x2="10.2108" y2="5.1816" width="0.1524" layer="16"/>
<wire x1="6.2484" y1="5.7912" x2="9.6012" y2="5.7912" width="0.1524" layer="16"/>
<via x="19.2024" y="12.8016" extent="1-16" drill="0.3302"/>
<via x="11.2776" y="12.954" extent="1-16" drill="0.3302"/>
<via x="10.2108" y="5.1816" extent="1-16" drill="0.3302"/>
</signal>
<signal name="RB15">
<contactref element="PORTB" pad="10"/>
<wire x1="42.9768" y1="18.288" x2="44.8056" y2="20.1168" width="0.1524" layer="1"/>
<wire x1="33.528" y1="18.288" x2="42.9768" y2="18.288" width="0.1524" layer="16"/>
<wire x1="31.8516" y1="19.9644" x2="33.528" y2="18.288" width="0.1524" layer="16"/>
<wire x1="27.1272" y1="19.9644" x2="31.8516" y2="19.9644" width="0.1524" layer="16"/>
<wire x1="26.2128" y1="20.8788" x2="27.1272" y2="19.9644" width="0.1524" layer="16"/>
<wire x1="21.6408" y1="20.8788" x2="26.2128" y2="20.8788" width="0.1524" layer="16"/>
<wire x1="20.7264" y1="21.7932" x2="21.6408" y2="20.8788" width="0.1524" layer="16"/>
<wire x1="10.5156" y1="21.7932" x2="20.7264" y2="21.7932" width="0.1524" layer="16"/>
<wire x1="10.2108" y1="21.4884" x2="10.5156" y2="21.7932" width="0.1524" layer="16"/>
<wire x1="8.0772" y1="19.3548" x2="10.2108" y2="21.4884" width="0.1524" layer="1"/>
<wire x1="8.0772" y1="4.572" x2="8.0772" y2="19.3548" width="0.1524" layer="1"/>
<wire x1="2.5908" y1="4.572" x2="8.0772" y2="4.572" width="0.1524" layer="16"/>
<wire x1="1.3716" y1="3.3528" x2="2.5908" y2="4.572" width="0.1524" layer="16"/>
<wire x1="1.3716" y1="1.3716" x2="1.3716" y2="3.3528" width="0.1524" layer="16"/>
<wire x1="1.3716" y1="1.3716" x2="1.27" y2="1.27" width="0.1524" layer="16"/>
<via x="42.9768" y="18.288" extent="1-16" drill="0.3302"/>
<via x="10.2108" y="21.4884" extent="1-16" drill="0.3302"/>
<via x="8.0772" y="4.572" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RB15"/>
<wire x1="44.8056" y1="20.1168" x2="44.846" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RC12">
<contactref element="PORTC" pad="1"/>
<contactref element="X1" pad="P$1"/>
<contactref element="C1" pad="1"/>
<wire x1="37.6428" y1="11.43" x2="38.1" y2="10.9728" width="0.1524" layer="16"/>
<wire x1="36.14" y1="11.43" x2="37.6428" y2="11.43" width="0.1524" layer="16"/>
<wire x1="38.1" y1="10.9728" x2="38.1" y2="10.834" width="0.1524" layer="16"/>
<wire x1="32.766" y1="5.7912" x2="32.1564" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="32.766" y1="10.2108" x2="32.766" y2="5.7912" width="0.1524" layer="1"/>
<wire x1="33.8328" y1="11.2776" x2="32.766" y2="10.2108" width="0.1524" layer="1"/>
<wire x1="33.9852" y1="11.43" x2="33.8328" y2="11.2776" width="0.1524" layer="16"/>
<wire x1="36.14" y1="11.43" x2="34.7472" y2="11.43" width="0.1524" layer="16"/>
<wire x1="34.7472" y1="11.43" x2="33.9852" y2="11.43" width="0.1524" layer="16"/>
<wire x1="9.6012" y1="22.2504" x2="11.43" y2="24.0792" width="0.1524" layer="16"/>
<wire x1="9.6012" y1="20.8788" x2="9.6012" y2="22.2504" width="0.1524" layer="16"/>
<wire x1="15.5448" y1="20.8788" x2="9.6012" y2="20.8788" width="0.1524" layer="16"/>
<wire x1="15.8496" y1="20.574" x2="15.5448" y2="20.8788" width="0.1524" layer="16"/>
<wire x1="26.0604" y1="20.574" x2="15.8496" y2="20.574" width="0.1524" layer="16"/>
<wire x1="27.1272" y1="19.5072" x2="26.0604" y2="20.574" width="0.1524" layer="16"/>
<wire x1="31.3944" y1="19.5072" x2="27.1272" y2="19.5072" width="0.1524" layer="16"/>
<wire x1="32.6136" y1="18.288" x2="31.3944" y2="19.5072" width="0.1524" layer="16"/>
<wire x1="32.766" y1="18.1356" x2="32.6136" y2="18.288" width="0.1524" layer="1"/>
<wire x1="32.766" y1="16.764" x2="32.766" y2="18.1356" width="0.1524" layer="1"/>
<wire x1="34.7472" y1="14.7828" x2="32.766" y2="16.764" width="0.1524" layer="1"/>
<wire x1="34.7472" y1="12.8016" x2="34.7472" y2="14.7828" width="0.1524" layer="1"/>
<wire x1="34.7472" y1="11.43" x2="34.7472" y2="12.8016" width="0.1524" layer="16"/>
<wire x1="11.43" y1="24.0792" x2="11.43" y2="24.13" width="0.1524" layer="16"/>
<via x="33.8328" y="11.2776" extent="1-16" drill="0.3302"/>
<via x="32.6136" y="18.288" extent="1-16" drill="0.3302"/>
<via x="34.7472" y="12.8016" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RC12"/>
<wire x1="32.1564" y1="5.1816" x2="32.146" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RC13">
<contactref element="PORTC" pad="2"/>
<contactref element="X2" pad="X2"/>
<contactref element="C4" pad="1"/>
<wire x1="35.9664" y1="8.382" x2="36.7284" y2="7.62" width="0.1524" layer="16"/>
<wire x1="35.54" y1="8.382" x2="35.9664" y2="8.382" width="0.1524" layer="16"/>
<wire x1="36.7284" y1="7.62" x2="36.83" y2="7.532" width="0.1524" layer="16"/>
<wire x1="35.9664" y1="6.5532" x2="35.9664" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="36.8808" y1="7.4676" x2="35.9664" y2="6.5532" width="0.1524" layer="16"/>
<wire x1="36.8808" y1="7.4676" x2="36.83" y2="7.532" width="0.1524" layer="16"/>
<wire x1="37.338" y1="8.0772" x2="36.8808" y2="7.62" width="0.1524" layer="16"/>
<wire x1="42.672" y1="8.0772" x2="37.338" y2="8.0772" width="0.1524" layer="16"/>
<wire x1="42.9768" y1="8.382" x2="42.672" y2="8.0772" width="0.1524" layer="16"/>
<wire x1="42.9768" y1="10.668" x2="42.9768" y2="8.382" width="0.1524" layer="16"/>
<wire x1="41.4528" y1="12.192" x2="42.9768" y2="10.668" width="0.1524" layer="1"/>
<wire x1="40.386" y1="13.2588" x2="41.4528" y2="12.192" width="0.1524" layer="16"/>
<wire x1="37.9476" y1="15.6972" x2="40.386" y2="13.2588" width="0.1524" layer="1"/>
<wire x1="37.9476" y1="16.764" x2="37.9476" y2="15.6972" width="0.1524" layer="1"/>
<wire x1="37.6428" y1="16.4592" x2="37.9476" y2="16.764" width="0.1524" layer="16"/>
<wire x1="30.9372" y1="16.4592" x2="37.6428" y2="16.4592" width="0.1524" layer="16"/>
<wire x1="30.3276" y1="17.0688" x2="30.9372" y2="16.4592" width="0.1524" layer="16"/>
<wire x1="19.3548" y1="17.0688" x2="30.3276" y2="17.0688" width="0.1524" layer="16"/>
<wire x1="19.05" y1="16.764" x2="19.3548" y2="17.0688" width="0.1524" layer="16"/>
<wire x1="14.478" y1="16.764" x2="19.05" y2="16.764" width="0.1524" layer="16"/>
<wire x1="11.7348" y1="19.5072" x2="14.478" y2="16.764" width="0.1524" layer="1"/>
<wire x1="11.7348" y1="21.336" x2="11.7348" y2="19.5072" width="0.1524" layer="1"/>
<wire x1="8.9916" y1="24.0792" x2="11.7348" y2="21.336" width="0.1524" layer="1"/>
<wire x1="36.8808" y1="7.62" x2="36.83" y2="7.532" width="0.1524" layer="16"/>
<wire x1="8.9916" y1="24.0792" x2="8.89" y2="24.13" width="0.1524" layer="1"/>
<via x="35.9664" y="6.5532" extent="1-16" drill="0.3302"/>
<via x="42.9768" y="10.668" extent="1-16" drill="0.3302"/>
<via x="41.4528" y="12.192" extent="1-16" drill="0.3302"/>
<via x="40.386" y="13.2588" extent="1-16" drill="0.3302"/>
<via x="37.9476" y="16.764" extent="1-16" drill="0.3302"/>
<via x="14.478" y="16.764" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RC13"/>
<wire x1="35.9664" y1="5.1816" x2="35.956" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RC14">
<contactref element="PORTC" pad="3"/>
<contactref element="X2" pad="X1"/>
<contactref element="C3" pad="1"/>
<wire x1="32.6136" y1="8.382" x2="31.8516" y2="7.62" width="0.1524" layer="16"/>
<wire x1="33.04" y1="8.382" x2="32.6136" y2="8.382" width="0.1524" layer="16"/>
<wire x1="31.8516" y1="7.62" x2="31.75" y2="7.532" width="0.1524" layer="16"/>
<wire x1="37.6428" y1="5.4864" x2="37.338" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="37.6428" y1="6.4008" x2="37.6428" y2="5.4864" width="0.1524" layer="1"/>
<wire x1="37.338" y1="6.096" x2="37.6428" y2="6.4008" width="0.1524" layer="16"/>
<wire x1="36.4236" y1="6.096" x2="37.338" y2="6.096" width="0.1524" layer="16"/>
<wire x1="36.2712" y1="5.9436" x2="36.4236" y2="6.096" width="0.1524" layer="16"/>
<wire x1="35.5092" y1="5.9436" x2="36.2712" y2="5.9436" width="0.1524" layer="16"/>
<wire x1="33.0708" y1="8.382" x2="35.5092" y2="5.9436" width="0.1524" layer="16"/>
<wire x1="33.0708" y1="8.382" x2="33.04" y2="8.382" width="0.1524" layer="16"/>
<wire x1="7.7724" y1="22.7076" x2="6.35" y2="24.13" width="0.1524" layer="1"/>
<wire x1="7.7724" y1="5.4864" x2="7.7724" y2="22.7076" width="0.1524" layer="1"/>
<wire x1="7.4676" y1="5.1816" x2="7.7724" y2="5.4864" width="0.1524" layer="1"/>
<wire x1="24.9936" y1="3.9624" x2="19.812" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="26.3652" y1="5.334" x2="24.9936" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="26.3652" y1="6.2484" x2="26.3652" y2="5.334" width="0.1524" layer="1"/>
<wire x1="26.67" y1="5.9436" x2="26.3652" y2="6.2484" width="0.1524" layer="16"/>
<wire x1="30.1752" y1="5.9436" x2="26.67" y2="5.9436" width="0.1524" layer="16"/>
<wire x1="31.6992" y1="7.4676" x2="30.1752" y2="5.9436" width="0.1524" layer="16"/>
<wire x1="31.6992" y1="7.4676" x2="31.75" y2="7.532" width="0.1524" layer="16"/>
<via x="37.6428" y="6.4008" extent="1-16" drill="0.3302"/>
<via x="7.4676" y="5.1816" extent="1-16" drill="0.3302"/>
<via x="24.9936" y="3.9624" extent="1-16" drill="0.3302"/>
<via x="26.3652" y="6.2484" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RC14"/>
<wire x1="37.338" y1="5.1816" x2="37.226" y2="5.15" width="0.1524" layer="1"/>
<wire x1="19.2024" y1="4.572" x2="19.812" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="14.3256" y1="4.572" x2="19.2024" y2="4.572" width="0.1524" layer="16"/>
<wire x1="14.0208" y1="4.2672" x2="14.3256" y2="4.572" width="0.1524" layer="16"/>
<wire x1="9.2964" y1="4.2672" x2="14.0208" y2="4.2672" width="0.1524" layer="16"/>
<wire x1="8.382" y1="5.1816" x2="9.2964" y2="4.2672" width="0.1524" layer="16"/>
<wire x1="7.4676" y1="5.1816" x2="8.382" y2="5.1816" width="0.1524" layer="16"/>
</signal>
<signal name="RC15">
<contactref element="PORTC" pad="4"/>
<contactref element="X1" pad="P$2"/>
<contactref element="C2" pad="1"/>
<wire x1="30.9372" y1="11.43" x2="30.48" y2="10.9728" width="0.1524" layer="16"/>
<wire x1="32.44" y1="11.43" x2="30.9372" y2="11.43" width="0.1524" layer="16"/>
<wire x1="33.8328" y1="5.4864" x2="33.528" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="33.8328" y1="10.3632" x2="33.8328" y2="5.4864" width="0.1524" layer="1"/>
<wire x1="32.766" y1="11.43" x2="33.8328" y2="10.3632" width="0.1524" layer="16"/>
<wire x1="32.44" y1="11.43" x2="32.766" y2="11.43" width="0.1524" layer="16"/>
<wire x1="3.81" y1="9.4488" x2="3.81" y2="24.13" width="0.1524" layer="1"/>
<wire x1="5.4864" y1="7.7724" x2="3.81" y2="9.4488" width="0.1524" layer="1"/>
<wire x1="9.906" y1="7.7724" x2="5.4864" y2="7.7724" width="0.1524" layer="16"/>
<wire x1="21.1836" y1="8.9916" x2="19.812" y2="8.9916" width="0.1524" layer="16"/>
<wire x1="21.6408" y1="9.4488" x2="21.1836" y2="8.9916" width="0.1524" layer="1"/>
<wire x1="21.6408" y1="10.668" x2="21.6408" y2="9.4488" width="0.1524" layer="1"/>
<wire x1="23.7744" y1="12.8016" x2="21.6408" y2="10.668" width="0.1524" layer="1"/>
<wire x1="28.6512" y1="12.8016" x2="23.7744" y2="12.8016" width="0.1524" layer="16"/>
<wire x1="30.48" y1="10.9728" x2="28.6512" y2="12.8016" width="0.1524" layer="16"/>
<wire x1="30.48" y1="10.9728" x2="30.48" y2="10.834" width="0.1524" layer="16"/>
<via x="33.8328" y="10.3632" extent="1-16" drill="0.3302"/>
<via x="5.4864" y="7.7724" extent="1-16" drill="0.3302"/>
<via x="21.1836" y="8.9916" extent="1-16" drill="0.3302"/>
<via x="23.7744" y="12.8016" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RC15"/>
<wire x1="33.528" y1="5.1816" x2="33.416" y2="5.15" width="0.1524" layer="1"/>
<wire x1="19.2024" y1="8.382" x2="19.812" y2="8.9916" width="0.1524" layer="16"/>
<wire x1="10.5156" y1="8.382" x2="19.2024" y2="8.382" width="0.1524" layer="16"/>
<wire x1="9.906" y1="7.7724" x2="10.5156" y2="8.382" width="0.1524" layer="16"/>
</signal>
<signal name="RD11">
<contactref element="PORTD" pad="11"/>
<wire x1="41.6052" y1="4.572" x2="41.148" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="41.6052" y1="4.4196" x2="41.6052" y2="4.572" width="0.1524" layer="1"/>
<wire x1="42.672" y1="3.3528" x2="41.6052" y2="4.4196" width="0.1524" layer="1"/>
<wire x1="44.196" y1="3.3528" x2="42.672" y2="3.3528" width="0.1524" layer="1"/>
<wire x1="44.196" y1="3.9624" x2="44.196" y2="3.3528" width="0.1524" layer="1"/>
<wire x1="45.4152" y1="2.7432" x2="44.196" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="50.5968" y1="2.7432" x2="45.4152" y2="2.7432" width="0.1524" layer="16"/>
<wire x1="52.07" y1="1.27" x2="50.5968" y2="2.7432" width="0.1524" layer="16"/>
<via x="44.196" y="3.9624" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD11"/>
<wire x1="41.148" y1="5.0292" x2="41.036" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RD10">
<contactref element="PORTD" pad="10"/>
<wire x1="51.9684" y1="3.81" x2="51.9684" y2="7.62" width="0.1524" layer="1"/>
<wire x1="49.53" y1="1.3716" x2="51.9684" y2="3.81" width="0.1524" layer="1"/>
<wire x1="49.53" y1="1.3716" x2="49.53" y2="1.27" width="0.1524" layer="1"/>
<contactref element="U1" pad="RD10"/>
<wire x1="51.9684" y1="7.62" x2="52.066" y2="7.62" width="0.1524" layer="1"/>
</signal>
<signal name="RD9">
<contactref element="PORTD" pad="9"/>
<contactref element="SMIRF" pad="6"/>
<wire x1="49.3776" y1="4.572" x2="49.8348" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="49.3776" y1="3.6576" x2="49.3776" y2="4.572" width="0.1524" layer="1"/>
<wire x1="46.99" y1="1.27" x2="49.3776" y2="3.6576" width="0.1524" layer="1"/>
<wire x1="4.8768" y1="9.906" x2="1.3716" y2="6.4008" width="0.1524" layer="16"/>
<wire x1="4.572" y1="10.2108" x2="4.8768" y2="9.906" width="0.1524" layer="1"/>
<wire x1="4.572" y1="17.3736" x2="4.572" y2="10.2108" width="0.1524" layer="1"/>
<wire x1="5.1816" y1="17.9832" x2="4.572" y2="17.3736" width="0.1524" layer="1"/>
<wire x1="5.1816" y1="19.9644" x2="5.1816" y2="17.9832" width="0.1524" layer="1"/>
<wire x1="5.4864" y1="20.2692" x2="5.1816" y2="19.9644" width="0.1524" layer="16"/>
<wire x1="14.1732" y1="20.2692" x2="5.4864" y2="20.2692" width="0.1524" layer="16"/>
<wire x1="15.8496" y1="18.5928" x2="14.1732" y2="20.2692" width="0.1524" layer="16"/>
<wire x1="30.48" y1="18.5928" x2="15.8496" y2="18.5928" width="0.1524" layer="16"/>
<wire x1="34.1376" y1="14.9352" x2="30.48" y2="18.5928" width="0.1524" layer="1"/>
<wire x1="34.1376" y1="12.4968" x2="34.1376" y2="14.9352" width="0.1524" layer="1"/>
<wire x1="36.1188" y1="10.5156" x2="34.1376" y2="12.4968" width="0.1524" layer="1"/>
<wire x1="40.2336" y1="10.5156" x2="36.1188" y2="10.5156" width="0.1524" layer="1"/>
<wire x1="40.2336" y1="10.668" x2="40.2336" y2="10.5156" width="0.1524" layer="1"/>
<wire x1="40.8432" y1="11.2776" x2="40.2336" y2="10.668" width="0.1524" layer="16"/>
<wire x1="43.8912" y1="11.2776" x2="40.8432" y2="11.2776" width="0.1524" layer="16"/>
<wire x1="47.3964" y1="7.7724" x2="43.8912" y2="11.2776" width="0.1524" layer="16"/>
<wire x1="49.8348" y1="5.334" x2="47.3964" y2="7.7724" width="0.1524" layer="1"/>
<wire x1="49.8348" y1="5.1816" x2="49.8348" y2="5.334" width="0.1524" layer="1"/>
<wire x1="1.3716" y1="6.4008" x2="1.27" y2="6.35" width="0.1524" layer="16"/>
<via x="4.8768" y="9.906" extent="1-16" drill="0.3302"/>
<via x="5.1816" y="19.9644" extent="1-16" drill="0.3302"/>
<via x="30.48" y="18.5928" extent="1-16" drill="0.3302"/>
<via x="40.2336" y="10.668" extent="1-16" drill="0.3302"/>
<via x="47.3964" y="7.7724" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD9"/>
<wire x1="49.8348" y1="5.1816" x2="49.926" y2="5.15" width="0.1524" layer="1"/>
<wire x1="49.8348" y1="5.0292" x2="49.926" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RD7">
<contactref element="PORTD" pad="8"/>
<wire x1="48.006" y1="4.4196" x2="48.6156" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="48.006" y1="3.9624" x2="48.006" y2="4.4196" width="0.1524" layer="1"/>
<wire x1="45.4152" y1="3.9624" x2="48.006" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="44.5008" y1="3.048" x2="45.4152" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="44.5008" y1="1.3716" x2="44.5008" y2="3.048" width="0.1524" layer="1"/>
<wire x1="44.5008" y1="1.3716" x2="44.45" y2="1.27" width="0.1524" layer="1"/>
<via x="48.006" y="3.9624" extent="1-16" drill="0.3302"/>
<via x="45.4152" y="3.9624" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD7"/>
<wire x1="48.6156" y1="5.0292" x2="48.656" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RD6">
<contactref element="PORTD" pad="7"/>
<wire x1="46.7868" y1="4.572" x2="47.244" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="46.7868" y1="3.3528" x2="46.7868" y2="4.572" width="0.1524" layer="1"/>
<wire x1="45.5676" y1="2.1336" x2="46.7868" y2="3.3528" width="0.1524" layer="1"/>
<wire x1="45.2628" y1="2.4384" x2="45.5676" y2="2.1336" width="0.1524" layer="16"/>
<wire x1="42.9768" y1="2.4384" x2="45.2628" y2="2.4384" width="0.1524" layer="16"/>
<wire x1="41.91" y1="1.3716" x2="42.9768" y2="2.4384" width="0.1524" layer="16"/>
<wire x1="41.91" y1="1.3716" x2="41.91" y2="1.27" width="0.1524" layer="16"/>
<via x="45.5676" y="2.1336" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD6"/>
<wire x1="47.244" y1="5.0292" x2="47.386" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RD5">
<contactref element="PORTD" pad="6"/>
<wire x1="45.5676" y1="5.6388" x2="46.0248" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="45.5676" y1="6.4008" x2="45.5676" y2="5.6388" width="0.1524" layer="1"/>
<wire x1="44.0436" y1="4.8768" x2="45.5676" y2="6.4008" width="0.1524" layer="16"/>
<wire x1="41.3004" y1="4.8768" x2="44.0436" y2="4.8768" width="0.1524" layer="16"/>
<wire x1="40.386" y1="3.9624" x2="41.3004" y2="4.8768" width="0.1524" layer="16"/>
<wire x1="39.4716" y1="3.048" x2="40.386" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="39.4716" y1="1.3716" x2="39.4716" y2="3.048" width="0.1524" layer="1"/>
<wire x1="39.4716" y1="1.3716" x2="39.37" y2="1.27" width="0.1524" layer="1"/>
<via x="45.5676" y="6.4008" extent="1-16" drill="0.3302"/>
<via x="40.386" y="3.9624" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD5"/>
<wire x1="46.0248" y1="5.1816" x2="46.116" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RD4">
<contactref element="JP2" pad="1"/>
<contactref element="PORTD" pad="5"/>
<wire x1="32.4612" y1="3.3528" x2="14.9352" y2="3.3528" width="0.1524" layer="16"/>
<wire x1="14.9352" y1="3.3528" x2="14.6304" y2="3.3528" width="0.1524" layer="16"/>
<wire x1="33.6804" y1="4.572" x2="32.4612" y2="3.3528" width="0.1524" layer="16"/>
<wire x1="34.29" y1="4.572" x2="33.6804" y2="4.572" width="0.1524" layer="16"/>
<wire x1="34.7472" y1="4.1148" x2="34.29" y2="4.572" width="0.1524" layer="16"/>
<wire x1="34.7472" y1="3.3528" x2="34.7472" y2="4.1148" width="0.1524" layer="16"/>
<wire x1="35.9664" y1="3.3528" x2="34.7472" y2="3.3528" width="0.1524" layer="16"/>
<wire x1="36.576" y1="3.9624" x2="35.9664" y2="3.3528" width="0.1524" layer="16"/>
<wire x1="36.7284" y1="3.81" x2="36.576" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="36.7284" y1="1.3716" x2="36.7284" y2="3.81" width="0.1524" layer="1"/>
<wire x1="36.7284" y1="1.3716" x2="36.83" y2="1.27" width="0.1524" layer="1"/>
<wire x1="42.9768" y1="4.572" x2="43.434" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="42.9768" y1="3.9624" x2="42.9768" y2="4.572" width="0.1524" layer="1"/>
<wire x1="42.3672" y1="3.3528" x2="42.9768" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="35.9664" y1="3.3528" x2="42.3672" y2="3.3528" width="0.1524" layer="16"/>
<via x="36.576" y="3.9624" extent="1-16" drill="0.3302"/>
<via x="42.9768" y="3.9624" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD4"/>
<wire x1="43.434" y1="5.0292" x2="43.576" y2="5.15" width="0.1524" layer="1"/>
<wire x1="13.8684" y1="6.5532" x2="13.716" y2="6.7056" width="0.1524" layer="16"/>
<wire x1="14.9352" y1="6.5532" x2="13.8684" y2="6.5532" width="0.1524" layer="16"/>
<wire x1="14.9352" y1="3.9624" x2="14.9352" y2="6.5532" width="0.1524" layer="1"/>
<wire x1="14.9352" y1="3.3528" x2="14.9352" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="13.716" y1="6.7056" x2="13.716" y2="6.7619" width="0.1524" layer="16"/>
<via x="14.9352" y="6.5532" extent="1-16" drill="0.3302"/>
<via x="14.9352" y="3.9624" extent="1-16" drill="0.3302"/>
</signal>
<signal name="RD3">
<contactref element="PORTD" pad="4"/>
<contactref element="SMIRF" pad="3"/>
<wire x1="30.6324" y1="4.8768" x2="30.7848" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="30.6324" y1="2.1336" x2="30.6324" y2="4.8768" width="0.1524" layer="1"/>
<wire x1="30.9372" y1="2.4384" x2="30.6324" y2="2.1336" width="0.1524" layer="16"/>
<wire x1="33.2232" y1="2.4384" x2="30.9372" y2="2.4384" width="0.1524" layer="16"/>
<wire x1="34.29" y1="1.3716" x2="33.2232" y2="2.4384" width="0.1524" layer="16"/>
<wire x1="34.29" y1="1.3716" x2="34.29" y2="1.27" width="0.1524" layer="16"/>
<wire x1="2.5908" y1="15.24" x2="1.3716" y2="14.0208" width="0.1524" layer="1"/>
<wire x1="2.5908" y1="21.4884" x2="2.5908" y2="15.24" width="0.1524" layer="1"/>
<wire x1="3.5052" y1="20.574" x2="2.5908" y2="21.4884" width="0.1524" layer="16"/>
<wire x1="15.3924" y1="20.574" x2="3.5052" y2="20.574" width="0.1524" layer="16"/>
<wire x1="15.6972" y1="20.2692" x2="15.3924" y2="20.574" width="0.1524" layer="16"/>
<wire x1="25.908" y1="20.2692" x2="15.6972" y2="20.2692" width="0.1524" layer="16"/>
<wire x1="26.9748" y1="19.2024" x2="25.908" y2="20.2692" width="0.1524" layer="16"/>
<wire x1="30.7848" y1="19.2024" x2="26.9748" y2="19.2024" width="0.1524" layer="16"/>
<wire x1="32.3088" y1="17.6784" x2="30.7848" y2="19.2024" width="0.1524" layer="16"/>
<wire x1="33.9852" y1="17.6784" x2="32.3088" y2="17.6784" width="0.1524" layer="16"/>
<wire x1="35.3568" y1="16.3068" x2="33.9852" y2="17.6784" width="0.1524" layer="1"/>
<wire x1="35.3568" y1="14.9352" x2="35.3568" y2="16.3068" width="0.1524" layer="1"/>
<wire x1="39.1668" y1="11.1252" x2="35.3568" y2="14.9352" width="0.1524" layer="1"/>
<wire x1="39.624" y1="11.5824" x2="39.1668" y2="11.1252" width="0.1524" layer="16"/>
<wire x1="44.5008" y1="11.5824" x2="39.624" y2="11.5824" width="0.1524" layer="16"/>
<wire x1="48.006" y1="8.0772" x2="44.5008" y2="11.5824" width="0.1524" layer="16"/>
<wire x1="48.006" y1="7.0104" x2="48.006" y2="8.0772" width="0.1524" layer="16"/>
<wire x1="45.2628" y1="7.0104" x2="48.006" y2="7.0104" width="0.1524" layer="16"/>
<wire x1="43.434" y1="5.1816" x2="45.2628" y2="7.0104" width="0.1524" layer="16"/>
<wire x1="36.8808" y1="5.1816" x2="43.434" y2="5.1816" width="0.1524" layer="16"/>
<wire x1="35.6616" y1="3.9624" x2="36.8808" y2="5.1816" width="0.1524" layer="16"/>
<wire x1="35.3568" y1="3.9624" x2="35.6616" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="34.29" y1="2.8956" x2="35.3568" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="34.29" y1="1.27" x2="34.29" y2="2.8956" width="0.1524" layer="1"/>
<wire x1="1.3716" y1="14.0208" x2="1.27" y2="13.97" width="0.1524" layer="1"/>
<via x="30.6324" y="2.1336" extent="1-16" drill="0.3302"/>
<via x="2.5908" y="21.4884" extent="1-16" drill="0.3302"/>
<via x="33.9852" y="17.6784" extent="1-16" drill="0.3302"/>
<via x="39.1668" y="11.1252" extent="1-16" drill="0.3302"/>
<via x="35.3568" y="3.9624" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD3"/>
<wire x1="30.7848" y1="5.0292" x2="30.876" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RD2">
<contactref element="PORTD" pad="3"/>
<contactref element="SMIRF" pad="2"/>
<wire x1="34.1376" y1="4.572" x2="34.5948" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="34.1376" y1="3.6576" x2="34.1376" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="34.1376" y1="3.9624" x2="34.1376" y2="4.572" width="0.1524" layer="1"/>
<wire x1="31.75" y1="1.27" x2="34.1376" y2="3.6576" width="0.1524" layer="1"/>
<wire x1="2.7432" y1="15.0876" x2="1.3716" y2="16.4592" width="0.1524" layer="16"/>
<wire x1="2.7432" y1="12.6492" x2="2.7432" y2="15.0876" width="0.1524" layer="16"/>
<wire x1="2.1336" y1="12.6492" x2="2.7432" y2="12.6492" width="0.1524" layer="16"/>
<wire x1="2.8956" y1="11.8872" x2="2.1336" y2="12.6492" width="0.1524" layer="1"/>
<wire x1="2.8956" y1="3.9624" x2="2.8956" y2="11.8872" width="0.1524" layer="1"/>
<wire x1="3.81" y1="3.048" x2="2.8956" y2="3.9624" width="0.1524" layer="16"/>
<wire x1="33.0708" y1="3.048" x2="3.81" y2="3.048" width="0.1524" layer="16"/>
<wire x1="33.9852" y1="3.9624" x2="33.0708" y2="3.048" width="0.1524" layer="16"/>
<wire x1="34.1376" y1="3.9624" x2="33.9852" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="1.3716" y1="16.4592" x2="1.27" y2="16.51" width="0.1524" layer="16"/>
<via x="2.1336" y="12.6492" extent="1-16" drill="0.3302"/>
<via x="2.8956" y="3.9624" extent="1-16" drill="0.3302"/>
<via x="33.9852" y="3.9624" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD2"/>
<wire x1="34.5948" y1="5.0292" x2="34.686" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RD1">
<contactref element="PORTD" pad="2"/>
<contactref element="SMIRF" pad="1"/>
<wire x1="50.5968" y1="8.8392" x2="51.9684" y2="8.8392" width="0.1524" layer="1"/>
<wire x1="50.5968" y1="8.6868" x2="50.5968" y2="8.8392" width="0.1524" layer="1"/>
<wire x1="46.482" y1="4.572" x2="50.5968" y2="8.6868" width="0.1524" layer="16"/>
<wire x1="43.8912" y1="4.572" x2="46.482" y2="4.572" width="0.1524" layer="16"/>
<wire x1="43.5864" y1="4.2672" x2="43.8912" y2="4.572" width="0.1524" layer="16"/>
<wire x1="43.5864" y1="2.7432" x2="43.5864" y2="4.2672" width="0.1524" layer="16"/>
<wire x1="30.3276" y1="2.7432" x2="43.5864" y2="2.7432" width="0.1524" layer="16"/>
<wire x1="29.2608" y1="1.6764" x2="30.3276" y2="2.7432" width="0.1524" layer="16"/>
<wire x1="29.2608" y1="1.3716" x2="29.2608" y2="1.6764" width="0.1524" layer="16"/>
<wire x1="29.2608" y1="1.3716" x2="29.21" y2="1.27" width="0.1524" layer="16"/>
<wire x1="5.1816" y1="15.24" x2="1.3716" y2="19.05" width="0.1524" layer="16"/>
<wire x1="5.1816" y1="10.9728" x2="5.1816" y2="15.24" width="0.1524" layer="1"/>
<wire x1="6.096" y1="10.0584" x2="5.1816" y2="10.9728" width="0.1524" layer="1"/>
<wire x1="7.3152" y1="10.0584" x2="6.096" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="7.3152" y1="9.6012" x2="7.3152" y2="10.0584" width="0.1524" layer="1"/>
<wire x1="7.4676" y1="9.4488" x2="7.3152" y2="9.6012" width="0.1524" layer="1"/>
<wire x1="7.4676" y1="6.096" x2="7.4676" y2="9.4488" width="0.1524" layer="1"/>
<wire x1="5.1816" y1="3.81" x2="7.4676" y2="6.096" width="0.1524" layer="1"/>
<wire x1="5.1816" y1="2.1336" x2="5.1816" y2="3.81" width="0.1524" layer="1"/>
<wire x1="5.7912" y1="2.7432" x2="5.1816" y2="2.1336" width="0.1524" layer="16"/>
<wire x1="30.3276" y1="2.7432" x2="5.7912" y2="2.7432" width="0.1524" layer="16"/>
<wire x1="1.3716" y1="19.05" x2="1.27" y2="19.05" width="0.1524" layer="16"/>
<via x="50.5968" y="8.6868" extent="1-16" drill="0.3302"/>
<via x="5.1816" y="15.24" extent="1-16" drill="0.3302"/>
<via x="5.1816" y="2.1336" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD1"/>
<wire x1="51.9684" y1="8.8392" x2="52.066" y2="8.89" width="0.1524" layer="1"/>
</signal>
<signal name="RD0">
<contactref element="PORTD" pad="1"/>
<wire x1="41.7576" y1="5.6388" x2="42.2148" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="41.7576" y1="6.4008" x2="41.7576" y2="5.6388" width="0.1524" layer="1"/>
<wire x1="40.8432" y1="5.4864" x2="41.7576" y2="6.4008" width="0.1524" layer="16"/>
<wire x1="36.7284" y1="5.4864" x2="40.8432" y2="5.4864" width="0.1524" layer="16"/>
<wire x1="36.1188" y1="4.8768" x2="36.7284" y2="5.4864" width="0.1524" layer="16"/>
<wire x1="29.8704" y1="4.8768" x2="36.1188" y2="4.8768" width="0.1524" layer="16"/>
<wire x1="28.956" y1="3.9624" x2="29.8704" y2="4.8768" width="0.1524" layer="16"/>
<wire x1="26.67" y1="1.6764" x2="28.956" y2="3.9624" width="0.1524" layer="1"/>
<wire x1="26.67" y1="1.27" x2="26.67" y2="1.6764" width="0.1524" layer="1"/>
<via x="41.7576" y="6.4008" extent="1-16" drill="0.3302"/>
<via x="28.956" y="3.9624" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RD0"/>
<wire x1="42.2148" y1="5.1816" x2="42.306" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RE7">
<contactref element="PORTE" pad="8"/>
<wire x1="31.6992" y1="20.574" x2="32.004" y2="20.2692" width="0.1524" layer="1"/>
<wire x1="31.6992" y1="21.4884" x2="31.6992" y2="20.574" width="0.1524" layer="1"/>
<wire x1="31.0896" y1="22.098" x2="31.6992" y2="21.4884" width="0.1524" layer="16"/>
<wire x1="20.8788" y1="22.098" x2="31.0896" y2="22.098" width="0.1524" layer="16"/>
<wire x1="19.9644" y1="23.0124" x2="20.8788" y2="22.098" width="0.1524" layer="16"/>
<wire x1="15.0876" y1="23.0124" x2="19.9644" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="13.97" y1="24.13" x2="15.0876" y2="23.0124" width="0.1524" layer="16"/>
<via x="31.6992" y="21.4884" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE7"/>
<wire x1="32.004" y1="20.2692" x2="32.146" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RE6">
<contactref element="PORTE" pad="7"/>
<wire x1="33.3756" y1="17.0688" x2="33.3756" y2="20.1168" width="0.1524" layer="1"/>
<wire x1="33.0708" y1="17.3736" x2="33.3756" y2="17.0688" width="0.1524" layer="16"/>
<wire x1="18.7452" y1="17.3736" x2="33.0708" y2="17.3736" width="0.1524" layer="16"/>
<wire x1="17.9832" y1="18.1356" x2="18.7452" y2="17.3736" width="0.1524" layer="1"/>
<wire x1="17.9832" y1="22.7076" x2="17.9832" y2="18.1356" width="0.1524" layer="1"/>
<wire x1="16.6116" y1="24.0792" x2="17.9832" y2="22.7076" width="0.1524" layer="1"/>
<wire x1="16.6116" y1="24.0792" x2="16.51" y2="24.13" width="0.1524" layer="1"/>
<via x="33.3756" y="17.0688" extent="1-16" drill="0.3302"/>
<via x="18.7452" y="17.3736" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE6"/>
<wire x1="33.3756" y1="20.1168" x2="33.416" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RE5">
<contactref element="PORTE" pad="6"/>
<wire x1="34.1376" y1="20.7264" x2="34.5948" y2="20.2692" width="0.1524" layer="1"/>
<wire x1="34.1376" y1="21.4884" x2="34.1376" y2="20.7264" width="0.1524" layer="1"/>
<wire x1="33.528" y1="22.098" x2="34.1376" y2="21.4884" width="0.1524" layer="16"/>
<wire x1="31.5468" y1="22.098" x2="33.528" y2="22.098" width="0.1524" layer="16"/>
<wire x1="31.242" y1="22.4028" x2="31.5468" y2="22.098" width="0.1524" layer="16"/>
<wire x1="21.0312" y1="22.4028" x2="31.242" y2="22.4028" width="0.1524" layer="16"/>
<wire x1="19.3548" y1="24.0792" x2="21.0312" y2="22.4028" width="0.1524" layer="16"/>
<wire x1="19.05" y1="24.0792" x2="19.3548" y2="24.0792" width="0.1524" layer="16"/>
<wire x1="19.05" y1="24.0792" x2="19.05" y2="24.13" width="0.1524" layer="16"/>
<via x="34.1376" y="21.4884" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE5"/>
<wire x1="34.5948" y1="20.2692" x2="34.686" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RE4">
<contactref element="PORTE" pad="5"/>
<wire x1="37.9476" y1="19.6596" x2="38.4048" y2="20.1168" width="0.1524" layer="1"/>
<wire x1="37.9476" y1="19.05" x2="37.9476" y2="19.6596" width="0.1524" layer="1"/>
<wire x1="36.7284" y1="20.2692" x2="37.9476" y2="19.05" width="0.1524" layer="16"/>
<wire x1="27.2796" y1="20.2692" x2="36.7284" y2="20.2692" width="0.1524" layer="16"/>
<wire x1="26.0604" y1="21.4884" x2="27.2796" y2="20.2692" width="0.1524" layer="16"/>
<wire x1="24.2316" y1="21.4884" x2="26.0604" y2="21.4884" width="0.1524" layer="16"/>
<wire x1="21.59" y1="24.13" x2="24.2316" y2="21.4884" width="0.1524" layer="1"/>
<via x="37.9476" y="19.05" extent="1-16" drill="0.3302"/>
<via x="24.2316" y="21.4884" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE4"/>
<wire x1="38.4048" y1="20.1168" x2="

license: MIT

repository: jetney/jetney-oshw

license_type: permissive

repo_name: jetney/jetney-oshw

branch_name: refs/heads/master

extension: brd


text:
38.496" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RE3">
<contactref element="PORTE" pad="4"/>
<wire x1="39.1668" y1="19.6596" x2="39.624" y2="20.1168" width="0.1524" layer="1"/>
<wire x1="39.1668" y1="19.05" x2="39.1668" y2="19.6596" width="0.1524" layer="1"/>
<wire x1="37.6428" y1="20.574" x2="39.1668" y2="19.05" width="0.1524" layer="16"/>
<wire x1="35.9664" y1="20.574" x2="37.6428" y2="20.574" width="0.1524" layer="16"/>
<wire x1="34.1376" y1="22.4028" x2="35.9664" y2="20.574" width="0.1524" layer="16"/>
<wire x1="31.6992" y1="22.4028" x2="34.1376" y2="22.4028" width="0.1524" layer="16"/>
<wire x1="31.3944" y1="22.7076" x2="31.6992" y2="22.4028" width="0.1524" layer="16"/>
<wire x1="25.146" y1="22.7076" x2="31.3944" y2="22.7076" width="0.1524" layer="16"/>
<wire x1="24.2316" y1="23.622" x2="25.146" y2="22.7076" width="0.1524" layer="16"/>
<wire x1="24.2316" y1="24.0792" x2="24.2316" y2="23.622" width="0.1524" layer="16"/>
<wire x1="24.2316" y1="24.0792" x2="24.13" y2="24.13" width="0.1524" layer="16"/>
<via x="39.1668" y="19.05" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE3"/>
<wire x1="39.624" y1="20.1168" x2="39.766" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RE2">
<contactref element="PORTE" pad="3"/>
<wire x1="40.5384" y1="20.7264" x2="40.9956" y2="20.2692" width="0.1524" layer="1"/>
<wire x1="40.5384" y1="23.3172" x2="40.5384" y2="20.7264" width="0.1524" layer="1"/>
<wire x1="40.2336" y1="23.0124" x2="40.5384" y2="23.3172" width="0.1524" layer="16"/>
<wire x1="38.4048" y1="23.0124" x2="40.2336" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="38.1" y1="23.3172" x2="38.4048" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="37.6428" y1="23.3172" x2="38.1" y2="23.3172" width="0.1524" layer="1"/>
<wire x1="37.0332" y1="22.7076" x2="37.6428" y2="23.3172" width="0.1524" layer="1"/>
<wire x1="26.67" y1="22.7076" x2="37.0332" y2="22.7076" width="0.1524" layer="1"/>
<wire x1="26.67" y1="24.13" x2="26.67" y2="22.7076" width="0.1524" layer="1"/>
<via x="40.5384" y="23.3172" extent="1-16" drill="0.3302"/>
<via x="38.1" y="23.3172" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE2"/>
<wire x1="40.9956" y1="20.2692" x2="41.036" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RE1">
<contactref element="PORTE" pad="2"/>
<wire x1="42.2148" y1="18.8976" x2="42.2148" y2="20.1168" width="0.1524" layer="1"/>
<wire x1="42.2148" y1="20.8788" x2="42.2148" y2="18.8976" width="0.1524" layer="16"/>
<wire x1="36.1188" y1="20.8788" x2="42.2148" y2="20.8788" width="0.1524" layer="16"/>
<wire x1="34.29" y1="22.7076" x2="36.1188" y2="20.8788" width="0.1524" layer="16"/>
<wire x1="32.3088" y1="22.7076" x2="34.29" y2="22.7076" width="0.1524" layer="16"/>
<wire x1="32.004" y1="23.0124" x2="32.3088" y2="22.7076" width="0.1524" layer="16"/>
<wire x1="30.3276" y1="23.0124" x2="32.004" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="29.21" y1="24.13" x2="30.3276" y2="23.0124" width="0.1524" layer="16"/>
<via x="42.2148" y="18.8976" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE1"/>
<wire x1="42.2148" y1="20.1168" x2="42.306" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RE0">
<contactref element="PORTE" pad="1"/>
<wire x1="43.1292" y1="20.574" x2="43.434" y2="20.2692" width="0.1524" layer="1"/>
<wire x1="43.1292" y1="21.4884" x2="43.1292" y2="20.574" width="0.1524" layer="1"/>
<wire x1="42.2148" y1="22.4028" x2="43.1292" y2="21.4884" width="0.1524" layer="16"/>
<wire x1="35.052" y1="22.4028" x2="42.2148" y2="22.4028" width="0.1524" layer="16"/>
<wire x1="34.4424" y1="23.0124" x2="35.052" y2="22.4028" width="0.1524" layer="16"/>
<wire x1="32.9184" y1="23.0124" x2="34.4424" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="31.8516" y1="24.0792" x2="32.9184" y2="23.0124" width="0.1524" layer="16"/>
<wire x1="31.8516" y1="24.0792" x2="31.75" y2="24.13" width="0.1524" layer="16"/>
<via x="43.1292" y="21.4884" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RE0"/>
<wire x1="43.434" y1="20.2692" x2="43.576" y2="20.25" width="0.1524" layer="1"/>
</signal>
<signal name="RF5">
<contactref element="PORTB" pad="2"/>
<wire x1="39.3192" y1="5.4864" x2="39.624" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="39.3192" y1="6.7056" x2="39.3192" y2="5.4864" width="0.1524" layer="1"/>
<wire x1="38.862" y1="7.1628" x2="39.3192" y2="6.7056" width="0.1524" layer="1"/>
<wire x1="34.4424" y1="7.1628" x2="38.862" y2="7.1628" width="0.1524" layer="1"/>
<wire x1="34.4424" y1="11.5824" x2="34.4424" y2="7.1628" width="0.1524" layer="1"/>
<wire x1="34.1376" y1="11.8872" x2="34.4424" y2="11.5824" width="0.1524" layer="1"/>
<wire x1="30.3276" y1="11.8872" x2="34.1376" y2="11.8872" width="0.1524" layer="1"/>
<wire x1="30.3276" y1="9.7536" x2="30.3276" y2="11.8872" width="0.1524" layer="1"/>
<wire x1="29.718" y1="9.144" x2="30.3276" y2="9.7536" width="0.1524" layer="16"/>
<wire x1="23.9268" y1="9.144" x2="29.718" y2="9.144" width="0.1524" layer="16"/>
<wire x1="21.6408" y1="6.858" x2="23.9268" y2="9.144" width="0.1524" layer="1"/>
<wire x1="21.6408" y1="5.0292" x2="21.6408" y2="6.858" width="0.1524" layer="1"/>
<wire x1="21.7932" y1="4.8768" x2="21.6408" y2="5.0292" width="0.1524" layer="1"/>
<wire x1="21.7932" y1="1.524" x2="21.7932" y2="4.8768" width="0.1524" layer="1"/>
<wire x1="21.6408" y1="1.3716" x2="21.7932" y2="1.524" width="0.1524" layer="1"/>
<wire x1="21.6408" y1="1.3716" x2="21.59" y2="1.27" width="0.1524" layer="1"/>
<via x="30.3276" y="9.7536" extent="1-16" drill="0.3302"/>
<via x="23.9268" y="9.144" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RF5"/>
<wire x1="39.624" y1="5.1816" x2="39.766" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RF4">
<contactref element="PORTB" pad="1"/>
<wire x1="38.5572" y1="6.5532" x2="38.5572" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="38.5572" y1="5.7912" x2="38.5572" y2="6.5532" width="0.1524" layer="16"/>
<wire x1="36.576" y1="5.7912" x2="38.5572" y2="5.7912" width="0.1524" layer="16"/>
<wire x1="36.4236" y1="5.6388" x2="36.576" y2="5.7912" width="0.1524" layer="16"/>
<wire x1="24.5364" y1="5.6388" x2="36.4236" y2="5.6388" width="0.1524" layer="16"/>
<wire x1="24.2316" y1="5.334" x2="24.5364" y2="5.6388" width="0.1524" layer="1"/>
<wire x1="24.2316" y1="1.3716" x2="24.2316" y2="5.334" width="0.1524" layer="1"/>
<wire x1="24.2316" y1="1.3716" x2="24.13" y2="1.27" width="0.1524" layer="1"/>
<via x="38.5572" y="6.5532" extent="1-16" drill="0.3302"/>
<via x="24.5364" y="5.6388" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RF4"/>
<wire x1="38.5572" y1="5.1816" x2="38.496" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RF3">
<contactref element="PORTF" pad="3"/>
<wire x1="21.336" y1="16.4592" x2="26.0604" y2="16.4592" width="0.1524" layer="1"/>
<wire x1="20.8788" y1="16.002" x2="21.336" y2="16.4592" width="0.1524" layer="1"/>
<wire x1="18.4404" y1="16.002" x2="20.8788" y2="16.002" width="0.1524" layer="1"/>
<wire x1="21.7932" y1="5.1816" x2="19.5072" y2="5.1816" width="0.1524" layer="16"/>
<wire x1="22.86" y1="6.2484" x2="21.7932" y2="5.1816" width="0.1524" layer="16"/>
<wire x1="22.86" y1="6.2484" x2="22.86" y2="6.35" width="0.1524" layer="16"/>
<via x="19.5072" y="5.1816" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RF3"/>
<wire x1="26.0604" y1="16.4592" x2="26.166" y2="16.51" width="0.1524" layer="1"/>
<wire x1="18.4404" y1="15.24" x2="18.4404" y2="16.002" width="0.1524" layer="1"/>
<wire x1="18.5928" y1="15.0876" x2="18.4404" y2="15.24" width="0.1524" layer="1"/>
<wire x1="18.5928" y1="7.1628" x2="18.5928" y2="15.0876" width="0.1524" layer="1"/>
<wire x1="19.2024" y1="6.5532" x2="18.5928" y2="7.1628" width="0.1524" layer="1"/>
<wire x1="19.2024" y1="5.4864" x2="19.2024" y2="6.5532" width="0.1524" layer="1"/>
<wire x1="19.5072" y1="5.1816" x2="19.2024" y2="5.4864" width="0.1524" layer="1"/>
</signal>
<signal name="RG3">
<contactref element="PORTF" pad="2"/>
<wire x1="28.3464" y1="7.1628" x2="28.3464" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="28.0416" y1="7.4676" x2="28.3464" y2="7.1628" width="0.1524" layer="16"/>
<wire x1="21.4884" y1="7.4676" x2="28.0416" y2="7.4676" width="0.1524" layer="16"/>
<wire x1="20.4216" y1="6.4008" x2="21.4884" y2="7.4676" width="0.1524" layer="16"/>
<wire x1="20.4216" y1="6.4008" x2="20.32" y2="6.35" width="0.1524" layer="16"/>
<via x="28.3464" y="7.1628" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RG3"/>
<wire x1="28.3464" y1="5.1816" x2="28.336" y2="5.15" width="0.1524" layer="1"/>
</signal>
<signal name="RG2">
<contactref element="PORTF" pad="1"/>
<wire x1="29.2608" y1="5.4864" x2="29.5656" y2="5.1816" width="0.1524" layer="1"/>
<wire x1="29.2608" y1="7.1628" x2="29.2608" y2="5.4864" width="0.1524" layer="1"/>
<wire x1="28.6512" y1="7.7724" x2="29.2608" y2="7.1628" width="0.1524" layer="16"/>
<wire x1="19.2024" y1="7.7724" x2="28.6512" y2="7.7724" width="0.1524" layer="16"/>
<via x="29.2608" y="7.1628" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="RG2"/>
<wire x1="29.5656" y1="5.1816" x2="29.606" y2="5.15" width="0.1524" layer="1"/>
<wire x1="19.2024" y1="7.7724" x2="17.78" y2="6.35" width="0.1524" layer="16"/>
</signal>
<signal name="VDD_PA" class="1">
<contactref element="POWER" pad="3"/>
<contactref element="JP1" pad="1"/>
<wire x1="37.6428" y1="20.574" x2="37.338" y2="20.2692" width="0.254" layer="1"/>
<wire x1="37.6428" y1="21.9456" x2="37.6428" y2="20.574" width="0.254" layer="1"/>
<wire x1="39.3192" y1="23.622" x2="37.6428" y2="21.9456" width="0.254" layer="1"/>
<wire x1="39.3192" y1="24.0792" x2="39.3192" y2="23.622" width="0.254" layer="1"/>
<wire x1="39.3192" y1="24.0792" x2="39.37" y2="24.13" width="0.254" layer="1"/>
<wire x1="23.3172" y1="14.478" x2="22.86" y2="14.0208" width="0.254" layer="16"/>
<wire x1="37.1856" y1="14.478" x2="23.3172" y2="14.478" width="0.254" layer="16"/>
<wire x1="37.1856" y1="20.1168" x2="37.1856" y2="14.478" width="0.254" layer="1"/>
<wire x1="22.86" y1="14.0208" x2="22.86" y2="13.97" width="0.254" layer="16"/>
<via x="37.1856" y="14.478" extent="1-16" drill="0.3302"/>
<contactref element="U1" pad="VDD_PA"/>
<contactref element="U1" pad="VDD_PA"/>
<wire x1="37.338" y1="20.2692" x2="37.226" y2="20.25" width="0.254" layer="1"/>
<wire x1="37.1856" y1="20.1168" x2="37.226" y2="20.25" width="0.254" layer="1"/>
</signal>
<signal name="N$2">
<contactref element="R2" pad="1"/>
<contactref element="JP2" pad="2"/>
<wire x1="13.716" y1="4.8768" x2="13.716" y2="6.008" width="0.1524" layer="1"/>
<wire x1="13.716" y1="5.9381" x2="13.716" y2="4.8768" width="0.1524" layer="16"/>
<via x="13.716" y="4.8768" extent="1-16" drill="0.3302"/>
</signal>
<signal name="N$4" class="1">
<contactref element="R1" pad="1"/>
<contactref element="JP3" pad="2"/>
<wire x1="11.2776" y1="4.8768" x2="11.2776" y2="5.9436" width="0.254" layer="1"/>
<wire x1="11.2776" y1="5.7912" x2="11.2776" y2="4.8768" width="0.254" layer="16"/>
<wire x1="11.2776" y1="5.9436" x2="11.176" y2="6.008" width="0.254" layer="1"/>
<wire x1="11.2776" y1="5.7912" x2="11.176" y2="5.9381" width="0.254" layer="16"/>
<via x="11.2776" y="4.8768" extent="1-16" drill="0.3302"/>
</signal>
<signal name="N$5">
<wire x1="11.176" y1="6.604" x2="11.176" y2="6.096" width="0.1524" layer="16"/>
</signal>
<signal name="N$6">
<wire x1="13.716" y1="6.096" x2="13.716" y2="6.604" width="0.1524" layer="16"/>
</signal>
<signal name="SPI_MOSI">
<contactref element="U1" pad="SPI_MOSI"/>
</signal>
<signal name="SPI_MISO">
<contactref element="U1" pad="SPI_MISO"/>
</signal>
<signal name="SPI_CLK">
<contactref element="U1" pad="SPI_CLK"/>
</signal>
<signal name="SPI_CS">
<contactref element="U1" pad="SPI_CS"/>
</signal>
</signals>
</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>
</compatibility>
</eagle>


text:
/********************************************************************************
** Form generated from reading UI file 'peerinfodialog.ui'
**
** Created by: Qt User Interface Compiler version 5.7.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_PEERINFODIALOG_H
#define UI_PEERINFODIALOG_H

#include <QtCore/QVariant>
#include <QtWidgets/QAction>
#include <QtWidgets/QApplication>
#include <QtWidgets/QButtonGroup>
#include <QtWidgets/QDialog>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QLabel>
#include <QtWidgets/QTableWidget>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QWidget>

QT_BEGIN_NAMESPACE

class Ui_PeerInfoDialog
{
public:
    QWidget *widget;
    QWidget *containerWidget;
    QToolButton *refreshBtn;
    QLabel *gifLabel;
    QWidget *widget2;
    QLabel *label_3;
    QTableWidget *peerInfoTableWidget;
    QLabel *label;
    QLabel *numLabel;
    QLabel *label_4;
    QToolButton *addNodeBtn;
    QToolButton *closeBtn;
    QLabel *label_2;
    QLabel *localIPLabel;

    void setupUi(QDialog *PeerInfoDialog)
    {
        if (PeerInfoDialog->objectName().isEmpty())
            PeerInfoDialog->setObjectName(QStringLiteral("PeerInfoDialog"));
        PeerInfoDialog->resize(960, 580);
        QFont font;
        font.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
        PeerInfoDialog->setFont(font);
        PeerInfoDialog->setStyleSheet(QStringLiteral(""));
        widget = new QWidget(PeerInfoDialog);
        widget->setObjectName(QStringLiteral("widget"));
        widget->setGeometry(QRect(0, 0, 960, 580));
        containerWidget = new QWidget(widget);
        containerWidget->setObjectName(QStringLiteral("containerWidget"));
        containerWidget->setGeometry(QRect(166, 56, 628, 468));
        refreshBtn = new QToolButton(containerWidget);
        refreshBtn->setObjectName(QStringLiteral("refreshBtn"));
        refreshBtn->setGeometry(QRect(560, 420, 18, 18));
        QFont font1;
        font1.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
        font1.setPointSize(8);
        refreshBtn->setFont(font1);
        refreshBtn->setCursor(QCursor(Qt::PointingHandCursor));
        refreshBtn->setFocusPolicy(Qt::NoFocus);
        gifLabel = new QLabel(containerWidget);
        gifLabel->setObjectName(QStringLiteral("gifLabel"));
        gifLabel->setGeometry(QRect(557, 417, 23, 23));
        widget2 = new QWidget(containerWidget);
        widget2->setObjectName(QStringLiteral("widget2"));
        widget2->setGeometry(QRect(40, 130, 521, 261));
        widget2->setStyleSheet(QStringLiteral("background-color: rgb(255, 255, 255);"));
        label_3 = new QLabel(widget2);
        label_3->setObjectName(QStringLiteral("label_3"));
        label_3->setGeometry(QRect(20, 20, 130, 20));
        QFont font2;
        font2.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
        font2.setPointSize(10);
        font2.setBold(true);
        font2.setWeight(75);
        label_3->setFont(font2);
        peerInfoTableWidget = new QTableWidget(widget2);
        if (peerInfoTableWidget->columnCount() < 4)
            peerInfoTableWidget->setColumnCount(4);
        QTableWidgetItem *__qtablewidgetitem = new QTableWidgetItem();
        __qtablewidgetitem->setTextAlignment(Qt::AlignLeading|Qt::AlignVCenter);
        __qtablewidgetitem->setFont(font);
        peerInfoTableWidget->setHorizontalHeaderItem(0, __qtablewidgetitem);
        QTableWidgetItem *__qtablewidgetitem1 = new QTableWidgetItem();
        __qtablewidgetitem1->setTextAlignment(Qt::AlignLeading|Qt::AlignVCenter);
        __qtablewidgetitem1->setFont(font);
        peerInfoTableWidget->setHorizontalHeaderItem(1, __qtablewidgetitem1);
        QTableWidgetItem *__qtablewidgetitem2 = new QTableWidgetItem();
        __qtablewidgetitem2->setTextAlignment(Qt::AlignLeading|Qt::AlignVCenter);
        __qtablewidgetitem2->setFont(font);
        peerInfoTableWidget->setHorizontalHeaderItem(2, __qtablewidgetitem2);
        QTableWidgetItem *__qtablewidgetitem3 = new QTableWidgetItem();
        __qtablewidgetitem3->setTextAlignment(Qt::AlignLeading|Qt::AlignVCenter);
        __qtablewidgetitem3->setFont(font);
        peerInfoTableWidget->setHorizontalHeaderItem(3, __qtablewidgetitem3);
        peerInfoTableWidget->setObjectName(QStringLiteral("peerInfoTableWidget"));
        peerInfoTableWidget->setGeometry(QRect(20, 60, 480, 180));
        peerInfoTableWidget->setFocusPolicy(Qt::NoFocus);
        peerInfoTableWidget->setVerticalScrollBarPolicy(Qt::ScrollBarAsNeeded);
        peerInfoTableWidget->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
        peerInfoTableWidget->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContents);
        peerInfoTableWidget->setAutoScroll(true);
        peerInfoTableWidget->setEditTriggers(QAbstractItemView::DoubleClicked);
        peerInfoTableWidget->setTabKeyNavigation(false);
        peerInfoTableWidget->setProperty("showDropIndicator", QVariant(false));
        peerInfoTableWidget->setDragDropOverwriteMode(false);
        peerInfoTableWidget->setTextElideMode(Qt::ElideRight);
        peerInfoTableWidget->setShowGrid(false);
        peerInfoTableWidget->horizontalHeader()->setCascadingSectionResizes(true);
        peerInfoTableWidget->verticalHeader()->setVisible(false);
        peerInfoTableWidget->verticalHeader()->setCascadingSectionResizes(true);
        label = new QLabel(containerWidget);
        label->setObjectName(QStringLiteral("label"));
        label->setGeometry(QRect(200, 20, 171, 21));
        QFont font3;
        font3.setFamily(QString::fromUtf8("\345\276\256\350\275\257\351\233\205\351\273\221"));
        font3.setPointSize(12);
        font3.setBold(true);
        font3.setWeight(75);
        label->setFont(font3);
        label->setStyleSheet(QStringLiteral("color: rgb(40,40,40);"));
        label->setAlignment(Qt::AlignCenter);
        numLabel = new QLabel(containerWidget);
        numLabel->setObjectName(QStringLiteral("numLabel"));
        numLabel->setGeometry(QRect(330, 80, 51, 20));
        numLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);
        label_4 = new QLabel(containerWidget);
        label_4->setObjectName(QStringLiteral("label_4"));
        label_4->setGeometry(QRect(200, 80, 165, 20));
        label_4->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        addNodeBtn = new QToolButton(containerWidget);
        addNodeBtn->setObjectName(QStringLiteral("addNodeBtn"));
        addNodeBtn->setGeometry(QRect(450, 80, 125, 25));
        addNodeBtn->setCursor(QCursor(Qt::PointingHandCursor));
        addNodeBtn->setFocusPolicy(Qt::NoFocus);
        closeBtn = new QToolButton(containerWidget);
        closeBtn->setObjectName(QStringLiteral("closeBtn"));
        closeBtn->setGeometry(QRect(594, 29, 9, 9));
        closeBtn->setCursor(QCursor(Qt::PointingHandCursor));
        closeBtn->setFocusPolicy(Qt::NoFocus);
        label_2 = new QLabel(containerWidget);
        label_2->setObjectName(QStringLiteral("label_2"));
        label_2->setGeometry(QRect(20, 80, 61, 20));
        label_2->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
        localIPLabel = new QLabel(containerWidget);
        localIPLabel->setObjectName(QStringLiteral("localIPLabel"));
        localIPLabel->setGeometry(QRect(90, 80, 151, 20));
        localIPLabel->setAlignment(Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter);

        retranslateUi(PeerInfoDialog);

        QMetaObject::connectSlotsByName(PeerInfoDialog);
    } // setupUi

    void retranslateUi(QDialog *PeerInfoDialog)
    {
        PeerInfoDialog->setWindowTitle(QApplication::translate("PeerInfoDialog", "Dialog", Q_NULLPTR));
        refreshBtn->setText(QString());
        gifLabel->setText(QString());
        label_3->setText(QApplication::translate("PeerInfoDialog", "Neighbor node list", Q_NULLPTR));
        QTableWidgetItem *___qtablewidgetitem = peerInfoTableWidget->horizontalHeaderItem(0);
        ___qtablewidgetitem->setText(QApplication::translate("PeerInfoDialog", "IP", Q_NULLPTR));
        QTableWidgetItem *___qtablewidgetitem1 = peerInfoTableWidget->horizontalHeaderItem(1);
        ___qtablewidgetitem1->setText(QApplication::translate("PeerInfoDialog", "Connection time", Q_NULLPTR));
        QTableWidgetItem *___qtablewidgetitem2 = peerInfoTableWidget->horizontalHeaderItem(2);
        ___qtablewidgetitem2->setText(QApplication::translate("PeerInfoDialog", "Duration", Q_NULLPTR));
        QTableWidgetItem *___qtablewidgetitem3 = peerInfoTableWidget->horizontalHeaderItem(3);
        ___qtablewidgetitem3->setText(QApplication::translate("PeerInfoDialog", "Remark", Q_NULLPTR));
        label->setText(QApplication::translate("PeerInfoDialog", "Node connection information", Q_NULLPTR));
        numLabel->setText(QString());
        label_4->setText(QApplication::translate("PeerInfoDialog", "Current num of connections:", Q_NULLPTR));
        addNodeBtn->setText(QApplication::translate("PeerInfoDialog", "Manually add nodes", Q_NULLPTR));
        closeBtn->setText(QString());
        label_2->setText(QApplication::translate("PeerInfoDialog", "Local IP:", Q_NULLPTR));
        localIPLabel->setText(QString());
    } // retranslateUi

};

namespace Ui {
    class PeerInfoDialog: public Ui_PeerInfoDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_PEERINFODIALOG_H

repository: SelfSellTeam/Wallet

repo_name: SelfSellTeam/Wallet

extension: h


text:
package main

import (
  "bytes"
  "os/exec"
  "fmt"
  "io/ioutil"
)

type GitJob interface {
  Run() error
  Finish(error)
  Result() (string, bool, error)
}

type GitConfig struct {
  oauthCreds string
  repoUrl string
  rootDir string
  tmpDir string
  user string
  email string
}

func (config *GitConfig) CreateWorkingDir() error {
  dir, err := ioutil.TempDir(config.tmpDir, "gitweb")
  config.rootDir = dir
  return err
}

func CloneRepo(config *GitConfig, output *bytes.Buffer) error {
  /* Clone into the repo */
  authRepoUrl := fmt.Sprintf("https://%v:@%v", config.oauthCreds, config.repoUrl)
  cloneCmd := exec.Command("git", "clone", authRepoUrl, config.rootDir)
  cloneOut, err := cloneCmd.CombinedOutput()
  output.Write(cloneOut)
  if err != nil {
    return err
  }

  fmt.Printf("Configuring user %v \n", config.user)

  userCmd := exec.Command("git", "config", "user.name", config.user)
  userCmd.Dir = config.rootDir
  userOut, err := userCmd.CombinedOutput()
  output.Write(userOut)
  if err != nil {
    return err
  }

  fmt.Printf("Configuring user %v \n", config.email)

  emailCmd := exec.Command("git", "config", "user.email", config.email)
  emailCmd.Dir = config.rootDir
  emailOut, err := emailCmd.CombinedOutput()
  output.Write(emailOut)
  return err
}

func CheckoutBranch(config *GitConfig, branch string, output *bytes.Buffer) error {
  /* Checkout the specified branch */
  checkoutCmd := exec.Command("git", "checkout", branch)
  checkoutCmd.Dir = config.rootDir
  checkoutOut, err := checkoutCmd.CombinedOutput()
  output.Write(checkoutOut)
  return err
}

func FFMergeBranch(config *GitConfig, branch string, output *bytes.Buffer) error {
  /* Fast-forward merge the specified branch into this one */
  mergeCmd := exec.Command("git", "merge", "--ff-only", "origin/" + branch)
  mergeCmd.Dir = config.rootDir
  mergeOut, err := mergeCmd.CombinedOutput()
  output.Write(mergeOut)
  return err
}

func RebaseBranch(config *GitConfig, output *bytes.Buffer) error {
  /* Rebase the current branch against the specified one */
  mergeCmd := exec.Command("git", "rebase", "master")
  mergeCmd.Dir = config.rootDir
  mergeOut, err := mergeCmd.CombinedOutput()
  output.Write(mergeOut)
  return err
}

func PushBranch(config *GitConfig, branch string, output *bytes.Buffer) error {
  /* Push the current branch to the specified one on origin (no force) */
  mergeCmd := exec.Command("git", "push", "origin", branch)
  mergeCmd.Dir = config.rootDir
  mergeOut, err := mergeCmd.CombinedOutput()
  output.Write(mergeOut)
  return err
}

func SquashCommits(config *GitConfig, message string, output *bytes.Buffer) error {
  squashCmd := exec.Command("git", "reset", "--soft", "origin/master")
  squashCmd.Dir = config.rootDir
  squashOutput, err := squashCmd.CombinedOutput()
  output.Write(squashOutput)
  if err != nil {
    return err
  }
  author := fmt.Sprintf("%v <%v>", config.user, config.email)
  commitCmd := exec.Command("git", "commit", "--author", author, "-am", message)
  commitCmd.Dir = config.rootDir
  commitOutput, err := commitCmd.CombinedOutput()
  output.Write(commitOutput)
  return err
}

func ForcePushBranch(config *GitConfig, branch string, output *bytes.Buffer) error {
  forcePushCmd := exec.Command("git", "push", "-f", "origin", branch)
  forcePushCmd.Dir = config.rootDir
  forcePushOutput, err := forcePushCmd.CombinedOutput()
  output.Write(forcePushOutput)
  return err
}

repository: brianc/gitweb

repo_name: brianc/gitweb

gha_language: Go

extension: go