(export (version D)
  (design
    (source /home/eddy/Dropbox/Projects/STM8_samples/DRUM/schematics/drum.sch)
    (date "Вт 14 окт 2014 00:52:41")
    (tool "eeschema (2013-may-18)-stable"))
  (components
    (comp (ref P1)
      (value CONN_5)
      (libsource (lib conn) (part CONN_5))
      (sheetpath (names /) (tstamps /))
      (tstamp 52FB4AA7))
    (comp (ref DA1)
      (value TDA2822)
      (footprint DIP-8__300)
      (libsource (lib tda2822) (part TDA2822))
      (sheetpath (names /) (tstamps /))
      (tstamp 53D63E9D))
    (comp (ref C1)
      (value 100u)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 53D695F4))
    (comp (ref C2)
      (value 100u)
      (libsource (lib device) (part C))
      (sheetpath (names /) (tstamps /))
      (tstamp 53D69710))
    (comp (ref DD1)
      (value CD74HC154)
      (footprint MODULE)
      (datasheet DOCUMENTATION)
      (libsource (lib CD74HC154) (part CD74HC154))
      (sheetpath (names /) (tstamps /))
      (tstamp 53D73322))
    (comp (ref R2)
      (value 10k)
      (footprint SM0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D399A))
    (comp (ref R4)
      (value 10k)
      (footprint SM0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D48EE))
    (comp (ref R1)
      (value 10k)
      (footprint SM0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D517A))
    (comp (ref R3)
      (value 3.3k)
      (footprint SM0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D5363))
    (comp (ref Q5)
      (value 2N7002)
      (footprint transistors_gaui-SOT23)
      (libsource (lib transistors_gaui) (part 2N7002))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D5E5C))
    (comp (ref Q6)
      (value 2N7002)
      (footprint transistors_gaui-SOT23)
      (libsource (lib transistors_gaui) (part 2N7002))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D6AAD))
    (comp (ref Q3)
      (value 2N7002)
      (footprint transistors_gaui-SOT23)
      (libsource (lib transistors_gaui) (part 2N7002))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D6C1B))
    (comp (ref Q1)
      (value 2N7002)
      (footprint transistors_gaui-SOT23)
      (libsource (lib transistors_gaui) (part 2N7002))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D6DE3))
    (comp (ref Q2)
      (value 2N7002)
      (footprint transistors_gaui-SOT23)
      (libsource (lib transistors_gaui) (part 2N7002))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D6DE9))
    (comp (ref Q4)
      (value 2N7002)
      (footprint transistors_gaui-SOT23)
      (libsource (lib transistors_gaui) (part 2N7002))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D6DEF))
    (comp (ref D1)
      (value BZX55C3V6)
      (libsource (lib device) (part ZENERSMALL))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D94C6))
    (comp (ref D2)
      (value BZX55C3V6)
      (libsource (lib device) (part ZENERSMALL))
      (sheetpath (names /) (tstamps /))
      (tstamp 541D9B34))
    (comp (ref X1)
      (value STM8S105BOARD)
      (footprint devboard_pins-9-14)
      (libsource (lib stm8s105k4t6c) (part STM8S105BOARD))
      (sheetpath (names /) (tstamps /))
      (tstamp 5425C192))
    (comp (ref R6)
      (value 100k)
      (footprint SM0603)
      (libsource (lib device) (part R))
      (sheetpath (names /) (tstamps /))
      (tstamp 543A7793))
    (comp (ref C4)
      (value 100u)
      (libsource (lib device) (part CP1))
      (sheetpath (names /) (tstamps /))
      (tstamp 543CD89A))
    (comp (ref C3)
      (value 100u)
      (libsource (lib device) (part CP1))
      (sheetpath (names /) (tstamps /))
      (tstamp 543CDB79))
    (comp (ref P7)
      (value CONN_10)
      (libsource (lib conn) (part CONN_10))
      (sheetpath (names /) (tstamps /))
      (tstamp 543F4960))
    (comp (ref D9)
      (value DIODESCH)
      (libsource (lib device) (part DIODESCH))
      (sheetpath (names /) (tstamps /))
      (tstamp 543FC340))
    (comp (ref P8)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 544041B0))
    (comp (ref P9)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404214))
    (comp (ref P10)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 5440421A))
    (comp (ref P11)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 5440432F))
    (comp (ref P12)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404335))
    (comp (ref P13)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 544043E9))
    (comp (ref P15)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 544043F5))
    (comp (ref P16)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404452))
    (comp (ref P22)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404563))
    (comp (ref P23)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404569))
    (comp (ref P24)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 5440456F))
    (comp (ref P25)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404575))
    (comp (ref P26)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 5440457B))
    (comp (ref P27)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404581))
    (comp (ref P28)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 54404587))
    (comp (ref P29)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 5440458D))
    (comp (ref P18)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 5440479D))
    (comp (ref P19)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 544047A3))
    (comp (ref P20)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 544047A9))
    (comp (ref P21)
      (value CONN_1)
      (libsource (lib conn) (part CONN_1))
      (sheetpath (names /) (tstamps /))
      (tstamp 544047AF))
    (comp (ref SP1)
      (value SPEAKER)
      (libsource (lib device) (part SPEAKER))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D64216))
    (comp (ref X3)
      (value CRYSTAL)
      (libsource (lib device) (part CRYSTAL))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D64225))
    (comp (ref X2)
      (value CRYSTAL)
      (libsource (lib device) (part CRYSTAL))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D64234))
    (comp (ref D3)
      (value LED)
      (libsource (lib device) (part LED))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D6424D))
    (comp (ref D4)
      (value LED)
      (libsource (lib device) (part LED))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D6425A))
    (comp (ref D5)
      (value LED)
      (libsource (lib device) (part LED))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D64260))
    (comp (ref D6)
      (value LED)
      (libsource (lib device) (part LED))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D6426C))
    (comp (ref D7)
      (value LED)
      (libsource (lib device) (part LED))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D64272))
    (comp (ref D8)
      (value LED)
      (libsource (lib device) (part LED))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D64278))
    (comp (ref BT1)
      (value BATTERY)
      (libsource (lib device) (part BATTERY))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D64296))
    (comp (ref SW5)
      (value SPST)
      (libsource (lib device) (part SPST))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D643ED))
    (comp (ref SW1)
      (value SW_PUSH)
      (libsource (lib device) (part SW_PUSH))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D647DD))
    (comp (ref SW2)
      (value SW_PUSH)
      (libsource (lib device) (part SW_PUSH))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D647EA))
    (comp (ref SW3)
      (value SW_PUSH)
      (libsource (lib device) (part SW_PUSH))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D647F0))
    (comp (ref SW4)
      (value SW_PUSH)
      (libsource (lib device) (part SW_PUSH))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D647F6))
    (comp (ref R5)
      (value 330)
      (libsource (lib device) (part R))
      (sheetpath (names /DRUM/) (tstamps /53D64077/))
      (tstamp 53D77D36))
    (comp (ref BT2)
      (value BATTERY)
      (libsource (lib device) (part BATTERY))
      (sheetpath (names /Player/) (tstamps /53D66CFD/))
      (tstamp 53D66E57))
    (comp (ref P2)
      (value CONN_2)
      (libsource (lib conn) (part CONN_2))
      (sheetpath (names /Player/) (tstamps /53D66CFD/))
      (tstamp 541D2C34))
    (comp (ref P3)
      (value CONN_2)
      (libsource (lib conn) (part CONN_2))
      (sheetpath (names /Player/) (tstamps /53D66CFD/))
      (tstamp 541D2C57))
    (comp (ref P4)
      (value CONN_2)
      (libsource (lib conn) (part CONN_2))
      (sheetpath (names /Player/) (tstamps /53D66CFD/))
      (tstamp 541D2C5F))
    (comp (ref P5)
      (value CONN_2)
      (libsource (lib conn) (part CONN_2))
      (sheetpath (names /Player/) (tstamps /53D66CFD/))
      (tstamp 541D2C67))
    (comp (ref P6)
      (value CONN_2)
      (libsource (lib conn) (part CONN_2))
      (sheetpath (names /Player/) (tstamps /53D66CFD/))
      (tstamp 541D2C6F)))
  (libparts
    (libpart (lib device) (part BATTERY)
      (fields
        (field (name Reference) BT)
        (field (name Value) BATTERY))
      (pins
        (pin (num 1) (name +) (type passive))
        (pin (num 2) (name -) (type passive))))
    (libpart (lib device) (part C)
      (description "Condensateur non polarise")
      (footprints
        (fp SM*)
        (fp C?)
        (fp C1-1))
      (fields
        (field (name Reference) C)
        (field (name Value) C))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib device) (part CP1)
      (description "Condensateur polarise")
      (footprints
        (fp CP*)
        (fp SM*))
      (fields
        (field (name Reference) C)
        (field (name Value) CP1))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib device) (part CRYSTAL)
      (fields
        (field (name Reference) X)
        (field (name Value) CRYSTAL))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib device) (part DIODESCH)
      (description "Diode schottky")
      (footprints
        (fp D?)
        (fp S*))
      (fields
        (field (name Reference) D)
        (field (name Value) DIODESCH))
      (pins
        (pin (num 1) (name A) (type passive))
        (pin (num 2) (name K) (type passive))))
    (libpart (lib device) (part LED)
      (footprints
        (fp LED-3MM)
        (fp LED-5MM)
        (fp LED-10MM)
        (fp LED-0603)
        (fp LED-0805)
        (fp LED-1206)
        (fp LEDV))
      (fields
        (field (name Reference) D)
        (field (name Value) LED))
      (pins
        (pin (num 1) (name A) (type passive))
        (pin (num 2) (name K) (type passive))))
    (libpart (lib device) (part R)
      (description Resistance)
      (footprints
        (fp R?)
        (fp SM0603)
        (fp SM0805)
        (fp R?-*)
        (fp SM1206))
      (fields
        (field (name Reference) R)
        (field (name Value) R))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib device) (part SPEAKER)
      (fields
        (field (name Reference) SP)
        (field (name Value) SPEAKER))
      (pins
        (pin (num 1) (name 1) (type input))
        (pin (num 2) (name 2) (type input))))
    (libpart (lib device) (part SPST)
      (description "Interrupteur simple")
      (fields
        (field (name Reference) SW)
        (field (name Value) SPST))
      (pins
        (pin (num 1) (name 1) (type input))
        (pin (num 2) (name 2) (type input))))
    (libpart (lib device) (part SW_PUSH)
      (description "Push Button")
      (fields
        (field (name Reference) SW)
        (field (name Value) SW_PUSH))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib device) (part ZENERsmall)
      (description "Diode zener")
      (footprints
        (fp D?)
        (fp SO*)
        (fp SM*))
      (fields
        (field (name Reference) D)
        (field (name Value) ZENERsmall))
      (pins
        (pin (num 1) (name A) (type passive))
        (pin (num 2) (name K) (type passive))))
    (libpart (lib conn) (part CONN_1)
      (description "1 pin")
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_1))
      (pins
        (pin (num 1) (name 1) (type passive))))
    (libpart (lib conn) (part CONN_10)
      (description "Symbole general de connecteur")
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_10))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name P2) (type passive))
        (pin (num 3) (name P3) (type passive))
        (pin (num 4) (name P4) (type passive))
        (pin (num 5) (name P5) (type passive))
        (pin (num 6) (name P6) (type passive))
        (pin (num 7) (name P7) (type passive))
        (pin (num 8) (name P8) (type passive))
        (pin (num 9) (name P9) (type passive))
        (pin (num 10) (name P10) (type passive))))
    (libpart (lib conn) (part CONN_2)
      (description "Symbole general de connecteur")
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_2))
      (pins
        (pin (num 1) (name P1) (type passive))
        (pin (num 2) (name PM) (type passive))))
    (libpart (lib conn) (part CONN_5)
      (description "Symbole general de connecteur")
      (fields
        (field (name Reference) P)
        (field (name Value) CONN_5))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))
        (pin (num 3) (name ~) (type passive))
        (pin (num 4) (name ~) (type passive))
        (pin (num 5) (name ~) (type passive))))
    (libpart (lib tda2822) (part TDA2822)
      (fields
        (field (name Reference) DA)
        (field (name Value) TDA2822)
        (field (name Footprint) DIP-4__300)
        (field (name Datasheet) ~))
      (pins
        (pin (num 1) (name ~) (type input))
        (pin (num 2) (name V+) (type power_in))
        (pin (num 3) (name ~) (type input))
        (pin (num 4) (name V-) (type power_in))
        (pin (num 5) (name -) (type input))
        (pin (num 6) (name +) (type input))
        (pin (num 7) (name +) (type input))
        (pin (num 8) (name -) (type input))))
    (libpart (lib stm8s105k4t6c) (part stm8s105board)
      (footprints
        (fp stm8s105board))
      (fields
        (field (name Reference) X)
        (field (name Value) stm8s105board)
        (field (name Footprint) devboard_pins-9-14)
        (field (name Datasheet) ~))
      (pins
        (pin (num 1) (name "VDD(3.3-5v)") (type power_in))
        (pin (num 2) (name GND) (type power_in))
        (pin (num 3) (name NRST) (type input))
        (pin (num 4) (name OSCIN/PA1) (type 3state))
        (pin (num 5) (name OSCOUT/PA2) (type 3state))
        (pin (num 6) (name PF4/AIN12) (type 3state))
        (pin (num 7) (name PB5/AIN5[I2X_SDA]) (type 3state))
        (pin (num 8) (name PB4/AIN4[I2C_SCL]) (type 3state))
        (pin (num 9) (name PB3/AIN3[TIM1_ETR]) (type 3state))
        (pin (num 10) (name PB2/AIN2[TIM1_CH3N]) (type 3state))
        (pin (num 11) (name PB1/AIN1_[TIM1_CH2N]) (type 3state))
        (pin (num 12) (name PB0/AIN0_[TIM1_CH1N]) (type 3state))
        (pin (num 13) (name PE5/SPI_NSS) (type 3state))
        (pin (num 14) (name "PC1(HS)/TIM1_CH1") (type 3state))
        (pin (num 15) (name "PC2(HS)/TIM1_CH2") (type 3state))
        (pin (num 16) (name "PC3(HS)/TIM1_CH3") (type 3state))
        (pin (num 17) (name "PC4(HS)/TIM1_CH4") (type 3state))
        (pin (num 18) (name "PC5(HS)/SPI_SCK") (type 3state))
        (pin (num 19) (name "PC6(HS)/SPI_MOSI") (type 3state))
        (pin (num 20) (name "PC7(HS)/SPI_MISO") (type 3state))
        (pin (num 21) (name "PD0(HS)/TIM3_CH2[TIM1_BKIN][CLK_CCO]") (type 3state))
        (pin (num 22) (name "PD1(HS)/SWIM") (type 3state))
        (pin (num 23) (name "PD2(HS)/TIM3_CH1[TIM2_CH3]") (type 3state))
        (pin (num 24) (name "PD3(HS)/TIM2_CH2[ADC_ETR]") (type 3state))
        (pin (num 25) (name "PD4(HS)/TIM2_CH1[BEEP]") (type 3state))
        (pin (num 26) (name PD5/UART2_TX) (type 3state))
        (pin (num 27) (name PD6/UART2_RX) (type 3state))
        (pin (num 28) (name PD7/TLI[TIM1_CH4]) (type 3state))))
    (libpart (lib CD74HC154) (part CD74HC154)
      (fields
        (field (name Reference) DD)
        (field (name Value) CD74HC154)
        (field (name Footprint) MODULE)
        (field (name Datasheet) DOCUMENTATION))
      (pins
        (pin (num 1) (name ~Y0) (type output))
        (pin (num 2) (name ~Y1) (type output))
        (pin (num 3) (name ~Y2) (type output))
        (pin (num 4) (name ~Y3) (type output))
        (pin (num 5) (name ~Y4) (type output))
        (pin (num 6) (name ~Y5) (type output))
        (pin (num 7) (name ~Y6) (type output))
        (pin (num 8) (name ~Y7) (type output))
        (pin (num 9) (name ~Y8) (type output))
        (pin (num 10) (name ~Y9) (type output))
        (pin (num 11) (name ~Y10) (type output))
        (pin (num 12) (name GND) (type power_in))
        (pin (num 13) (name ~Y11) (type output))
        (pin (num 14) (name ~Y12) (type output))
        (pin (num 15) (name ~Y13) (type output))
        (pin (num 16) (name ~Y14) (type output))
        (pin (num 17) (name ~Y15) (type output))
        (pin (num 18) (name ~E1) (type input))
        (pin (num 19) (name ~E2) (type input))
        (pin (num 20) (name A3) (type input))
        (pin (num 21) (name A2) (type input))
        (pin (num 22) (name A1) (type input))
        (pin (num 23) (name A0) (type input))
        (pin (num 24) (name VCC) (type power_in))))
    (libpart (lib transistors_gaui) (part 2N7002)
      (fields
        (field (name Reference) Q)
        (field (name Value) 2N7002)
        (field (name Footprint) transistors_gaui-SOT23))
      (pins
        (pin (num 1) (name G) (type passive))
        (pin (num 2) (name S) (type passive))
        (pin (num 3) (name D) (type passive)))))
  (libraries
    (library (logical device)
      (uri /usr/share/kicad/library/device.lib))
    (library (logical conn)
      (uri /usr/share/kicad/library/conn.lib))
    (library (logical tda2822)
      (uri tda2822.lib))
    (library (logical stm8s105k4t6c)
      (uri stm8s105k4t6c.lib))
    (library (logical CD74HC154)
      (uri CD74HC154.lib))
    (library (logical transistors_gaui)
      (uri /usr/share/kicad/library/transistors_gaui.lib)))
  (nets
    (net (code 1) (name "")
      (node (ref Q3) (pin 2))
      (node (ref Q4) (pin 3))
      (node (ref Q3) (pin 1)))
    (net (code 2) (name /PB0)
      (node (ref X1) (pin 12))
      (node (ref DD1) (pin 23)))
    (net (code 3) (name /PD7)
      (node (ref X1) (pin 28)))
    (net (code 4) (name /PD4)
      (node (ref Q6) (pin 1))
      (node (ref X1) (pin 25)))
    (net (code 5) (name /PD3)
      (node (ref X1) (pin 24))
      (node (ref Q5) (pin 1)))
    (net (code 6) (name /PD2)
      (node (ref Q4) (pin 1))
      (node (ref X1) (pin 23)))
    (net (code 7) (name /PE5)
      (node (ref X1) (pin 13))
      (node (ref DD1) (pin 21)))
    (net (code 8) (name /SWIM/PD1)
      (node (ref Q2) (pin 1))
      (node (ref X1) (pin 22)))
    (net (code 9) (name /PD0)
      (node (ref X1) (pin 21))
      (node (ref Q1) (pin 1)))
    (net (code 10) (name /PB1)
      (node (ref X1) (pin 11))
      (node (ref DD1) (pin 22)))
    (net (code 11) (name /PC7)
      (node (ref X1) (pin 20)))
    (net (code 12) (name /OSC2IN)
      (node (ref X1) (pin 5)))
    (net (code 13) (name /OSC1IN)
      (node (ref X1) (pin 4)))
    (net (code 14) (name /NRST)
      (node (ref X1) (pin 3)))
    (net (code 15) (name "")
      (node (ref DA1) (pin 8))
      (node (ref R2) (pin 2))
      (node (ref R4) (pin 1)))
    (net (code 16) (name "")
      (node (ref DA1) (pin 5))
      (node (ref R3) (pin 2))
      (node (ref R1) (pin 2)))
    (net (code 17) (name "")
      (node (ref DA1) (pin 3))
      (node (ref C3) (pin 1))
      (node (ref R3) (pin 1)))
    (net (code 18) (name /PC6)
      (node (ref X1) (pin 19))
      (node (ref DD1) (pin 19)))
    (net (code 19) (name /PC1)
      (node (ref R2) (pin 1))
      (node (ref X1) (pin 14)))
    (net (code 20) (name /Player/BTN0a)
      (node (ref P7) (pin 10))
      (node (ref P2) (pin 1))
      (node (ref Q1) (pin 3)))
    (net (code 21) (name /PB2)
      (node (ref R6) (pin 1))
      (node (ref D9) (pin 2))
      (node (ref P16) (pin 1))
      (node (ref X1) (pin 10)))
    (net (code 22) (name /Player/BTN0b)
      (node (ref Q1) (pin 2))
      (node (ref P7) (pin 9))
      (node (ref P2) (pin 2)))
    (net (code 23) (name /Player/BTN1b)
      (node (ref Q2) (pin 3))
      (node (ref P3) (pin 2))
      (node (ref P7) (pin 8)))
    (net (code 24) (name /Player/BTN1a)
      (node (ref P3) (pin 1))
      (node (ref P7) (pin 7))
      (node (ref Q2) (pin 2)))
    (net (code 25) (name /Player/BTN2a)
      (node (ref P4) (pin 1))
      (node (ref P7) (pin 6))
      (node (ref Q3) (pin 3)))
    (net (code 26) (name /Player/BTN2b)
      (node (ref P7) (pin 5))
      (node (ref Q4) (pin 2))
      (node (ref P4) (pin 2)))
    (net (code 27) (name /Player/BTN3a)
      (node (ref Q5) (pin 3))
      (node (ref P7) (pin 4))
      (node (ref P5) (pin 1)))
    (net (code 28) (name /Player/BTN3b)
      (node (ref Q5) (pin 2))
      (node (ref P5) (pin 2))
      (node (ref P7) (pin 3)))
    (net (code 29) (name /Player/BTN4a)
      (node (ref Q6) (pin 3))
      (node (ref P6) (pin 1))
      (node (ref P7) (pin 2)))
    (net (code 30) (name /Player/BTN4b)
      (node (ref P7) (pin 1))
      (node (ref P6) (pin 2))
      (node (ref Q6) (pin 2)))
    (net (code 31) (name /DRUM/BUTN0)
      (node (ref X1) (pin 15))
      (node (ref SW1) (pin 1))
      (node (ref P29) (pin 1)))
    (net (code 32) (name VCC)
      (node (ref DA1) (pin 2))
      (node (ref P1) (pin 1))
      (node (ref R5) (pin 1))
      (node (ref SW5) (pin 1))
      (node (ref X1) (pin 1))
      (node (ref X1) (pin 8))
      (node (ref DD1) (pin 24))
      (node (ref P8) (pin 1))
      (node (ref D9) (pin 1)))
    (net (code 33) (name /DRUM/LED4)
      (node (ref D7) (pin 2))
      (node (ref P21) (pin 1))
      (node (ref DD1) (pin 5)))
    (net (code 34) (name /DRUM/LED5)
      (node (ref P20) (pin 1))
      (node (ref DD1) (pin 6))
      (node (ref D8) (pin 2)))
    (net (code 35) (name /PD5)
      (node (ref X1) (pin 26))
      (node (ref P1) (pin 4))
      (node (ref P19) (pin 1)))
    (net (code 36) (name /PD6)
      (node (ref X1) (pin 27))
      (node (ref P18) (pin 1))
      (node (ref P1) (pin 3)))
    (net (code 37) (name /DRUM/BUTN1)
      (node (ref P28) (pin 1))
      (node (ref SW2) (pin 1))
      (node (ref X1) (pin 16)))
    (net (code 38) (name /DRUM/BUTN2)
      (node (ref SW3) (pin 1))
      (node (ref X1) (pin 17))
      (node (ref P27) (pin 1)))
    (net (code 39) (name /DRUM/BUTN3)
      (node (ref P26) (pin 1))
      (node (ref X1) (pin 18))
      (node (ref SW4) (pin 1)))
    (net (code 40) (name /DRUM/LED0)
      (node (ref DD1) (pin 1))
      (node (ref P25) (pin 1))
      (node (ref D3) (pin 2)))
    (net (code 41) (name /DRUM/LED1)
      (node (ref DD1) (pin 2))
      (node (ref D4) (pin 2))
      (node (ref P24) (pin 1)))
    (net (code 42) (name /DRUM/LED2)
      (node (ref D5) (pin 2))
      (node (ref P23) (pin 1))
      (node (ref DD1) (pin 3)))
    (net (code 43) (name /DRUM/LED3)
      (node (ref D6) (pin 2))
      (node (ref P22) (pin 1))
      (node (ref DD1) (pin 4)))
    (net (code 44) (name /DRUM/DRUM1)
      (node (ref X3) (pin 1))
      (node (ref P13) (pin 1))
      (node (ref X1) (pin 7))
      (node (ref D1) (pin 2)))
    (net (code 45) (name /DRUM/DRUM0)
      (node (ref X2) (pin 1))
      (node (ref X1) (pin 6))
      (node (ref P12) (pin 1))
      (node (ref D2) (pin 2)))
    (net (code 46) (name /DRUM/SPEAKER)
      (node (ref P11) (pin 1))
      (node (ref C4) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref SP1) (pin 1)))
    (net (code 47) (name GND)
      (node (ref X2) (pin 2))
      (node (ref X3) (pin 2))
      (node (ref SP1) (pin 2))
      (node (ref BT1) (pin 2))
      (node (ref SW1) (pin 2))
      (node (ref SW2) (pin 2))
      (node (ref SW3) (pin 2))
      (node (ref SW4) (pin 2))
      (node (ref P1) (pin 5))
      (node (ref D2) (pin 1))
      (node (ref D1) (pin 1))
      (node (ref R6) (pin 2))
      (node (ref P9) (pin 1))
      (node (ref DA1) (pin 7))
      (node (ref DA1) (pin 6))
      (node (ref DA1) (pin 4))
      (node (ref DD1) (pin 12))
      (node (ref DD1) (pin 20))
      (node (ref X1) (pin 2))
      (node (ref BT2) (pin 2))
      (node (ref DD1) (pin 18)))
    (net (code 48) (name /Audio_in)
      (node (ref C1) (pin 2))
      (node (ref R1) (pin 1))
      (node (ref P10) (pin 1))
      (node (ref C2) (pin 2)))
    (net (code 49) (name /Player/SNDb)
      (node (ref C2) (pin 1)))
    (net (code 50) (name /Player/SNDa)
      (node (ref C1) (pin 1)))
    (net (code 51) (name /Player/BAT+)
      (node (ref P15) (pin 1))
      (node (ref X1) (pin 9))
      (node (ref BT2) (pin 1)))
    (net (code 52) (name "")
      (node (ref C4) (pin 1))
      (node (ref R4) (pin 2))
      (node (ref DA1) (pin 1)))
    (net (code 55) (name /5.0V)
      (node (ref P1) (pin 2)))
    (net (code 56) (name "")
      (node (ref DD1) (pin 15)))
    (net (code 57) (name "")
      (node (ref DD1) (pin 11)))
    (net (code 58) (name "")
      (node (ref DD1) (pin 10)))
    (net (code 59) (name "")
      (node (ref DD1) (pin 9)))
    (net (code 60) (name "")
      (node (ref DD1) (pin 8)))
    (net (code 61) (name "")
      (node (ref DD1) (pin 7)))
    (net (code 62) (name "")
      (node (ref DD1) (pin 17)))
    (net (code 63) (name "")
      (node (ref DD1) (pin 16)))
    (net (code 64) (name "")
      (node (ref DD1) (pin 14)))
    (net (code 65) (name "")
      (node (ref DD1) (pin 13)))
    (net (code 66) (name "")
      (node (ref SW5) (pin 2))
      (node (ref BT1) (pin 1)))
    (net (code 67) (name "")
      (node (ref D4) (pin 1))
      (node (ref D3) (pin 1))
      (node (ref D5) (pin 1))
      (node (ref D7) (pin 1))
      (node (ref D8) (pin 1))
      (node (ref D6) (pin 1))
      (node (ref R5) (pin 2)))))