(export (version D)
  (design
    (source F:\kicad-launchpad\git_testing\demos\flat_hierarchy\flat_hierarchy.sch)
    (date "13/02/2018 09:25:53")
    (tool "Eeschema (2018-02-12 revision ed127e8)-master")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev 1)
        (date "Sun 22 Mar 2015")
        (source flat_hierarchy.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value ""))))
    (sheet (number 2) (name /sockets/) (tstamps /48553E7C/)
      (title_block
        (title "JDM - COM84 PIC Programmer with 13V DC/DC converter")
        (company KiCad)
        (rev 3)
        (date "Sun 22 Mar 2015")
        (source pic_sockets.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value ""))))
    (sheet (number 3) (name /pic_programmer/) (tstamps /48553E53/)
      (title_block
        (title "JDM - COM84 PIC Programmer with 13V DC/DC converter")
        (company KiCad)
        (rev 2)
        (date "Sun 22 Mar 2015")
        (source pic_programmer.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref C8)
      (value 100nF)
      (footprint Discret:C1-1)
      (libsource (lib flat_hierarchy_schlib) (part C))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 4639BE2C))
    (comp (ref P2)
      (value SUPP28)
      (footprint Sockets_DIP:DIP-28__300_ELL)
      (libsource (lib flat_hierarchy_schlib) (part SUPP28))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 4436967E))
    (comp (ref C7)
      (value 100nF)
      (footprint Discret:C1-1)
      (libsource (lib flat_hierarchy_schlib) (part C))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 442AA145))
    (comp (ref C6)
      (value 100nF)
      (footprint Discret:C1-1)
      (libsource (lib flat_hierarchy_schlib) (part C))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 442AA12B))
    (comp (ref P3)
      (value SUPP40)
      (footprint Sockets_DIP:DIP-40__600_ELL)
      (libsource (lib flat_hierarchy_schlib) (part SUPP40))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 442A88ED))
    (comp (ref U1)
      (value 24Cxx)
      (footprint Sockets_DIP:DIP-8__300_ELL)
      (libsource (lib flat_hierarchy_schlib) (part 24C16))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 442A87F7))
    (comp (ref U5)
      (value PIC_18_PINS)
      (footprint Sockets_DIP:DIP-18__300_ELL)
      (libsource (lib flat_hierarchy_schlib) (part PIC16F54))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 442A81A7))
    (comp (ref U6)
      (value PIC_8_PINS)
      (footprint Sockets_DIP:DIP-8__300_ELL)
      (libsource (lib flat_hierarchy_schlib) (part PIC12C508A))
      (sheetpath (names /sockets/) (tstamps /48553E7C/))
      (tstamp 442A81A5))
    (comp (ref C9)
      (value 22OnF)
      (footprint Discret:C1-1)
      (libsource (lib flat_hierarchy_schlib) (part C))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 464AD280))
    (comp (ref JP1)
      (value JUMPER)
      (footprint pin_array:PIN_ARRAY_2X1)
      (libsource (lib flat_hierarchy_schlib) (part JUMPER))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 4639BAF8))
    (comp (ref D11)
      (value BAT43)
      (footprint Discret:D3)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 4639BA28))
    (comp (ref D12)
      (value YELLOW-LED)
      (footprint Discret:LEDV)
      (fields
        (field (name Champ4) YELLOW-LED))
      (libsource (lib flat_hierarchy_schlib) (part LED))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 4639B9EA))
    (comp (ref R21)
      (value 470)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 4639B9E9))
    (comp (ref R20)
      (value 2.2K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 4639B9B3))
    (comp (ref R19)
      (value 2.2K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 4639B9B0))
    (comp (ref Q3)
      (value BC307)
      (footprint Discret:TO92)
      (libsource (lib flat_hierarchy_schlib) (part PNP))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 4639B996))
    (comp (ref RV1)
      (value 1K)
      (footprint Discret:RV2X4)
      (libsource (lib flat_hierarchy_schlib) (part POT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 443D0101))
    (comp (ref R18)
      (value 220)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 44369638))
    (comp (ref D10)
      (value SCHOTTKY)
      (footprint Discret:D5)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A6026))
    (comp (ref R10)
      (value 5.1K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A5F83))
    (comp (ref C4)
      (value 0)
      (footprint Discret:C1-1)
      (libsource (lib flat_hierarchy_schlib) (part C))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A5F61))
    (comp (ref U4)
      (value LT1373)
      (footprint Sockets_DIP:DIP-8__300_ELL)
      (libsource (lib flat_hierarchy_schlib) (part LT1373))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A5E20))
    (comp (ref R16)
      (value 62K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A58DC))
    (comp (ref R15)
      (value 6.2K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A58D7))
    (comp (ref C5)
      (value 10nF)
      (footprint Discret:C1-1)
      (libsource (lib flat_hierarchy_schlib) (part C))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A58B1))
    (comp (ref C3)
      (value 22uF/25V)
      (footprint Discret:CP8)
      (libsource (lib flat_hierarchy_schlib) (part CP))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A584C))
    (comp (ref L1)
      (value 22uH)
      (footprint inductors:INDUCTOR_V)
      (libsource (lib flat_hierarchy_schlib) (part INDUCTOR))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A57BE))
    (comp (ref R17)
      (value 22K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A50BF))
    (comp (ref D9)
      (value GREEN-LED)
      (footprint Discret:LEDV)
      (fields
        (field (name Champ4) "GREEN LED"))
      (libsource (lib flat_hierarchy_schlib) (part LED))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A5084))
    (comp (ref R14)
      (value 470)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A5083))
    (comp (ref C1)
      (value 100uF)
      (footprint Discret:CP10)
      (libsource (lib flat_hierarchy_schlib) (part CP))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A5056))
    (comp (ref U3)
      (value 7805)
      (footprint Discret:LM78XX)
      (libsource (lib flat_hierarchy_schlib) (part 7805))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A504A))
    (comp (ref C2)
      (value 220uF)
      (footprint Discret:CP10)
      (libsource (lib flat_hierarchy_schlib) (part CP))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A501D))
    (comp (ref D1)
      (value 1N4004)
      (footprint Discret:D5)
      (libsource (lib device) (part D_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A500B))
    (comp (ref P1)
      (value CONN_2)
      (footprint Connect:bornier2)
      (libsource (lib flat_hierarchy_schlib) (part CONN_2))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4FE7))
    (comp (ref D8)
      (value RED-LED)
      (footprint Discret:LEDV)
      (fields
        (field (name Champ4) "Low Current Led")
        (field (name Champ5) "RED LED"))
      (libsource (lib flat_hierarchy_schlib) (part LED))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4F5D))
    (comp (ref R9)
      (value 2.2K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4F52))
    (comp (ref Q2)
      (value BC307)
      (footprint Discret:TO92)
      (libsource (lib flat_hierarchy_schlib) (part PNP))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4F30))
    (comp (ref R7)
      (value 10K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4F2A))
    (comp (ref R11)
      (value 22K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4F23))
    (comp (ref Q1)
      (value BC237)
      (footprint Discret:TO92)
      (libsource (lib flat_hierarchy_schlib) (part NPN))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4EB9))
    (comp (ref R8)
      (value 1K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D92))
    (comp (ref R13)
      (value 470)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D8D))
    (comp (ref R12)
      (value 470)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D85))
    (comp (ref U2)
      (value 74HC125)
      (footprint Sockets_DIP:DIP-10__300_ELL)
      (libsource (lib flat_hierarchy_schlib) (part 74LS125))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D6B))
    (comp (ref D7)
      (value BAT43)
      (footprint Discret:D3)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D65))
    (comp (ref D6)
      (value BAT43)
      (footprint Discret:D3)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D64))
    (comp (ref R6)
      (value 10K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D63))
    (comp (ref R5)
      (value 10K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D62))
    (comp (ref D5)
      (value BAT43)
      (footprint Discret:D3)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D5D))
    (comp (ref D4)
      (value BAT43)
      (footprint Discret:D3)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D5C))
    (comp (ref R4)
      (value 10K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D5B))
    (comp (ref R3)
      (value 10K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D5A))
    (comp (ref D3)
      (value BAT43)
      (footprint Discret:D3)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D25))
    (comp (ref D2)
      (value BAT43)
      (footprint Discret:D3)
      (libsource (lib device) (part D_Schottky_ALT))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4D1B))
    (comp (ref R2)
      (value 10K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4CFB))
    (comp (ref R1)
      (value 10K)
      (footprint Discret:R4)
      (libsource (lib flat_hierarchy_schlib) (part R))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4CF4))
    (comp (ref J1)
      (value DB9-FEMAL)
      (footprint Connect:DB9FC)
      (libsource (lib flat_hierarchy_schlib) (part DB9))
      (sheetpath (names /pic_programmer/) (tstamps /48553E53/))
      (tstamp 442A4C93)))
  (libparts
    (libpart (lib flat_hierarchy_schlib) (part 24C16)
      (aliases
        (alias 24C512))
      (fields
        (field (name Reference) U)
        (field (name Value) 24C16))
      (pins
        (pin (num 1) (name A0) (type input))
        (pin (num 2) (name A1) (type input))
        (pin (num 3) (name A2) (type input))
        (pin (num 4) (name GND) (type power_in))
        (pin (num 5) (name SDA) (type BiDi))
        (pin (num 6) (name SCL) (type input))
        (pin (num 7) (name WP) (type input))
        (pin (num 8) (name VCC) (type power_in))))
    (libpart (lib flat_hierarchy_schlib) (part 74LS125)
      (fields
        (field (name Reference) U)
        (field (name Value) 74LS125))
      (pins
        (pin (num 1) (name E) (type input))
        (pin (num 2) (name D) (type input))
        (pin (num 3) (name O) (type 3state))
        (pin (num 4) (name E) (type input))
        (pin (num 5) (name D) (type input))
        (pin (num 6) (name O) (type 3state))
        (pin (num 7) (name GND) (type power_in))
        (pin (num 8) (name O) (type 3state))
        (pin (num 9) (name D) (type input))
        (pin (num 10) (name E) (type input))
        (pin (num 11) (name O) (type 3state))
        (pin (num 12) (name D) (type input))
        (pin (num 13) (name E) (type input))
        (pin (num 14) (name VCC) (type power_in))))
    (libpart (lib flat_hierarchy_schlib) (part 7805)
      (aliases
        (alias LM7805)
        (alias LM7812)
        (alias 78L05))
      (fields
        (field (name Reference) U)
        (field (name Value) 7805))
      (pins
        (pin (num GND) (name GND) (type input))
        (pin (num VI) (name VI) (type input))
        (pin (num VO) (name VO) (type power_out))))
    (libpart (lib flat_hierarchy_schlib) (part C)
      (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 flat_hierarchy_schlib) (part CONN_2)
      (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 flat_hierarchy_schlib) (part CP)
      (aliases
        (alias CAPAPOL))
      (footprints
        (fp CP*)
        (fp SM*))
      (fields
        (field (name Reference) C)
        (field (name Value) CP))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (part DB9)
      (footprints
        (fp DB9*))
      (fields
        (field (name Reference) J)
        (field (name Value) DB9))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))
        (pin (num 3) (name 3) (type passive))
        (pin (num 4) (name 4) (type passive))
        (pin (num 5) (name 5) (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))))
    (libpart (lib device) (part D_ALT)
      (description "Diode, alternativ symbol")
      (footprints
        (fp TO-???*)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_ALT))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib device) (part D_Schottky_ALT)
      (description "Schottky diode, alternativ symbol")
      (footprints
        (fp TO-???*)
        (fp *SingleDiode)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_Schottky_ALT))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (part INDUCTOR)
      (fields
        (field (name Reference) L)
        (field (name Value) INDUCTOR))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (part JUMPER)
      (fields
        (field (name Reference) JP)
        (field (name Value) JUMPER))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (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 flat_hierarchy_schlib) (part LT1372)
      (aliases
        (alias LT1373))
      (fields
        (field (name Reference) U)
        (field (name Value) LT1372))
      (pins
        (pin (num 1) (name Vc) (type input))
        (pin (num 2) (name FB+) (type input))
        (pin (num 3) (name FB-) (type passive))
        (pin (num 4) (name S/S) (type passive))
        (pin (num 5) (name Vin) (type power_in))
        (pin (num 6) (name GND_S) (type input))
        (pin (num 7) (name GND) (type input))
        (pin (num 8) (name Vsw) (type input))))
    (libpart (lib flat_hierarchy_schlib) (part NPN)
      (fields
        (field (name Reference) Q)
        (field (name Value) NPN))
      (pins
        (pin (num 1) (name E) (type passive))
        (pin (num 2) (name B) (type input))
        (pin (num 3) (name C) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (part PIC12C508A)
      (aliases
        (alias PIC12C509A))
      (fields
        (field (name Reference) U)
        (field (name Value) PIC12C508A))
      (pins
        (pin (num 1) (name VDD) (type power_in))
        (pin (num 2) (name GP5/OSC1) (type input))
        (pin (num 3) (name GP4/OSC2) (type input))
        (pin (num 4) (name GP3/MCLR) (type input))
        (pin (num 5) (name GP2) (type input))
        (pin (num 6) (name GP1) (type input))
        (pin (num 7) (name GP0) (type input))
        (pin (num 8) (name VSS) (type power_in))))
    (libpart (lib flat_hierarchy_schlib) (part PIC16F54)
      (fields
        (field (name Reference) U?)
        (field (name Value) PIC16F54))
      (pins
        (pin (num 1) (name RA2) (type BiDi))
        (pin (num 2) (name RA3) (type BiDi))
        (pin (num 3) (name T0ckl) (type output))
        (pin (num 4) (name MCLR) (type input))
        (pin (num 5) (name VSS) (type power_in))
        (pin (num 6) (name RB0) (type BiDi))
        (pin (num 7) (name RB1) (type BiDi))
        (pin (num 8) (name RB2) (type BiDi))
        (pin (num 9) (name RB3) (type BiDi))
        (pin (num 10) (name RB4) (type BiDi))
        (pin (num 11) (name RB5) (type BiDi))
        (pin (num 12) (name ICSPC/RB6) (type BiDi))
        (pin (num 13) (name ICSPD/RB7) (type BiDi))
        (pin (num 14) (name VDD) (type power_in))
        (pin (num 15) (name OSC2/CLKO) (type output))
        (pin (num 16) (name OSC1/CLKI) (type input))
        (pin (num 17) (name RA0) (type BiDi))
        (pin (num 18) (name RA1) (type BiDi))))
    (libpart (lib flat_hierarchy_schlib) (part PNP)
      (fields
        (field (name Reference) Q)
        (field (name Value) PNP))
      (pins
        (pin (num 1) (name E) (type passive))
        (pin (num 2) (name B) (type input))
        (pin (num 3) (name C) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (part POT)
      (fields
        (field (name Reference) RV)
        (field (name Value) POT))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))
        (pin (num 3) (name 3) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (part R)
      (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 flat_hierarchy_schlib) (part SUPP28)
      (fields
        (field (name Reference) J)
        (field (name Value) SUPP28))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))
        (pin (num 3) (name 3) (type passive))
        (pin (num 4) (name 4) (type passive))
        (pin (num 5) (name 5) (type passive))
        (pin (num 6) (name 6) (type passive))
        (pin (num 7) (name 7) (type passive))
        (pin (num 8) (name 8) (type passive))
        (pin (num 9) (name 9) (type passive))
        (pin (num 10) (name 10) (type passive))
        (pin (num 11) (name 11) (type passive))
        (pin (num 12) (name 12) (type passive))
        (pin (num 13) (name 13) (type passive))
        (pin (num 14) (name 14) (type passive))
        (pin (num 15) (name 15) (type passive))
        (pin (num 16) (name 16) (type passive))
        (pin (num 17) (name 17) (type passive))
        (pin (num 18) (name 18) (type passive))
        (pin (num 19) (name 19) (type passive))
        (pin (num 20) (name 20) (type passive))
        (pin (num 21) (name 21) (type passive))
        (pin (num 22) (name 22) (type passive))
        (pin (num 23) (name 23) (type passive))
        (pin (num 24) (name 24) (type passive))
        (pin (num 25) (name 25) (type passive))
        (pin (num 26) (name 26) (type passive))
        (pin (num 27) (name 27) (type passive))
        (pin (num 28) (name 28) (type passive))))
    (libpart (lib flat_hierarchy_schlib) (part SUPP40)
      (fields
        (field (name Reference) P)
        (field (name Value) SUPP40))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))
        (pin (num 3) (name 3) (type passive))
        (pin (num 4) (name 4) (type passive))
        (pin (num 5) (name 5) (type passive))
        (pin (num 6) (name 6) (type passive))
        (pin (num 7) (name 7) (type passive))
        (pin (num 8) (name 8) (type passive))
        (pin (num 9) (name 9) (type passive))
        (pin (num 10) (name 10) (type passive))
        (pin (num 11) (name 11) (type passive))
        (pin (num 12) (name 12) (type passive))
        (pin (num 13) (name 13) (type passive))
        (pin (num 14) (name 14) (type passive))
        (pin (num 15) (name 15) (type passive))
        (pin (num 16) (name 16) (type passive))
        (pin (num 17) (name 17) (type passive))
        (pin (num 18) (name 18) (type passive))
        (pin (num 19) (name 19) (type passive))
        (pin (num 20) (name 20) (type passive))
        (pin (num 21) (name 21) (type passive))
        (pin (num 22) (name 22) (type passive))
        (pin (num 23) (name 23) (type passive))
        (pin (num 24) (name 24) (type passive))
        (pin (num 25) (name 25) (type passive))
        (pin (num 26) (name 26) (type passive))
        (pin (num 27) (name 27) (type passive))
        (pin (num 28) (name 28) (type passive))
        (pin (num 29) (name 29) (type passive))
        (pin (num 30) (name 30) (type passive))
        (pin (num 31) (name 31) (type passive))
        (pin (num 32) (name 32) (type passive))
        (pin (num 33) (name 33) (type passive))
        (pin (num 34) (name 34) (type passive))
        (pin (num 35) (name 35) (type passive))
        (pin (num 36) (name 36) (type passive))
        (pin (num 37) (name 37) (type passive))
        (pin (num 38) (name 38) (type passive))
        (pin (num 39) (name 39) (type passive))
        (pin (num 40) (name 40) (type passive)))))
  (libraries
    (library (logical device)
      (uri E:\kicad\share\kicad\library/device.lib))
    (library (logical flat_hierarchy_schlib)
      (uri F:\kicad-launchpad\git_testing\demos\flat_hierarchy/flat_hierarchy_schlib.lib)))
  (nets
    (net (code 1) (name "Net-(Q2-Pad3)")
      (node (ref R17) (pin 1))
      (node (ref R18) (pin 1))
      (node (ref Q2) (pin 3))
      (node (ref R9) (pin 1)))
    (net (code 2) (name GND)
      (node (ref U4) (pin 7))
      (node (ref U4) (pin 6))
      (node (ref U2) (pin 7))
      (node (ref U2) (pin 10))
      (node (ref U2) (pin 1))
      (node (ref R4) (pin 2))
      (node (ref D5) (pin 2))
      (node (ref C7) (pin 2))
      (node (ref P2) (pin 19))
      (node (ref D12) (pin 2))
      (node (ref J1) (pin 5))
      (node (ref D3) (pin 1))
      (node (ref C4) (pin 2))
      (node (ref U2) (pin 4))
      (node (ref U2) (pin 7))
      (node (ref R2) (pin 2))
      (node (ref R15) (pin 2))
      (node (ref U2) (pin 7))
      (node (ref C5) (pin 2))
      (node (ref C3) (pin 2))
      (node (ref D9) (pin 2))
      (node (ref C1) (pin 2))
      (node (ref U3) (pin GND))
      (node (ref U6) (pin 8))
      (node (ref U2) (pin 7))
      (node (ref P3) (pin 31))
      (node (ref U1) (pin 3))
      (node (ref C2) (pin 2))
      (node (ref U1) (pin 2))
      (node (ref P1) (pin 1))
      (node (ref D8) (pin 2))
      (node (ref U5) (pin 5))
      (node (ref U1) (pin 1))
      (node (ref P3) (pin 12))
      (node (ref C6) (pin 2))
      (node (ref U1) (pin 4))
      (node (ref R17) (pin 2))
      (node (ref Q1) (pin 1))
      (node (ref C8) (pin 2))
      (node (ref U2) (pin 13))
      (node (ref P2) (pin 8))
      (node (ref P3) (pin 8))
      (node (ref D7) (pin 2))
      (node (ref R6) (pin 2)))
    (net (code 3) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref P1) (pin 2)))
    (net (code 4) (name "Net-(D8-Pad1)")
      (node (ref R9) (pin 2))
      (node (ref D8) (pin 1)))
    (net (code 5) (name VPP)
      (node (ref R7) (pin 1))
      (node (ref D10) (pin 1))
      (node (ref C3) (pin 1))
      (node (ref R16) (pin 2))
      (node (ref Q2) (pin 1))
      (node (ref C9) (pin 1)))
    (net (code 6) (name "Net-(C9-Pad2)")
      (node (ref Q2) (pin 2))
      (node (ref R11) (pin 2))
      (node (ref R7) (pin 2))
      (node (ref C9) (pin 2)))
    (net (code 7) (name VCC)
      (node (ref D2) (pin 2))
      (node (ref U4) (pin 5))
      (node (ref C1) (pin 1))
      (node (ref Q3) (pin 1))
      (node (ref R14) (pin 1))
      (node (ref U2) (pin 14))
      (node (ref U2) (pin 14))
      (node (ref U2) (pin 14))
      (node (ref JP1) (pin 1))
      (node (ref U1) (pin 8))
      (node (ref D4) (pin 1))
      (node (ref D6) (pin 1))
      (node (ref U3) (pin VO))
      (node (ref R20) (pin 1))
      (node (ref U2) (pin 14))
      (node (ref L1) (pin 2))
      (node (ref C6) (pin 1)))
    (net (code 8) (name "Net-(J1-Pad1)")
      (node (ref J1) (pin 1)))
    (net (code 9) (name "Net-(D9-Pad1)")
      (node (ref R14) (pin 2))
      (node (ref D9) (pin 1)))
    (net (code 10) (name "Net-(C2-Pad1)")
      (node (ref D1) (pin 1))
      (node (ref C2) (pin 1))
      (node (ref U3) (pin VI)))
    (net (code 11) (name "Net-(J1-Pad6)")
      (node (ref J1) (pin 6)))
    (net (code 12) (name "Net-(Q1-Pad2)")
      (node (ref R8) (pin 2))
      (node (ref Q1) (pin 2)))
    (net (code 13) (name "Net-(D11-Pad1)")
      (node (ref R11) (pin 1))
      (node (ref D11) (pin 1))
      (node (ref Q1) (pin 3)))
    (net (code 14) (name "Net-(D12-Pad1)")
      (node (ref R21) (pin 2))
      (node (ref D12) (pin 1)))
    (net (code 15) (name "Net-(Q3-Pad2)")
      (node (ref Q3) (pin 2))
      (node (ref R19) (pin 2))
      (node (ref R20) (pin 2)))
    (net (code 16) (name "Net-(D11-Pad2)")
      (node (ref R19) (pin 1))
      (node (ref D11) (pin 2)))
    (net (code 17) (name /pic_programmer/TXD)
      (node (ref R2) (pin 1))
      (node (ref R1) (pin 1))
      (node (ref J1) (pin 3)))
    (net (code 18) (name CLOCK-RB6)
      (node (ref U6) (pin 6))
      (node (ref P2) (pin 27))
      (node (ref P3) (pin 39))
      (node (ref R13) (pin 2))
      (node (ref U5) (pin 12))
      (node (ref U1) (pin 6)))
    (net (code 19) (name DATA-RB7)
      (node (ref U1) (pin 5))
      (node (ref U2) (pin 12))
      (node (ref U5) (pin 13))
      (node (ref U6) (pin 7))
      (node (ref P3) (pin 40))
      (node (ref P2) (pin 28))
      (node (ref R12) (pin 2)))
    (net (code 20) (name VCC_PIC)
      (node (ref P2) (pin 20))
      (node (ref C8) (pin 1))
      (node (ref C7) (pin 1))
      (node (ref R21) (pin 1))
      (node (ref JP1) (pin 2))
      (node (ref P3) (pin 32))
      (node (ref P3) (pin 11))
      (node (ref U5) (pin 14))
      (node (ref U6) (pin 1))
      (node (ref Q3) (pin 3)))
    (net (code 21) (name "Net-(R15-Pad1)")
      (node (ref RV1) (pin 1))
      (node (ref R15) (pin 1)))
    (net (code 22) (name "Net-(U4-Pad4)")
      (node (ref U4) (pin 4)))
    (net (code 23) (name "Net-(J1-Pad9)")
      (node (ref J1) (pin 9)))
    (net (code 24) (name "Net-(J1-Pad2)")
      (node (ref J1) (pin 2)))
    (net (code 25) (name "Net-(R16-Pad1)")
      (node (ref R16) (pin 1))
      (node (ref RV1) (pin 3)))
    (net (code 26) (name VPP-MCLR)
      (node (ref U5) (pin 4))
      (node (ref U6) (pin 4))
      (node (ref P2) (pin 1))
      (node (ref R18) (pin 2))
      (node (ref P3) (pin 1)))
    (net (code 27) (name /pic_programmer/CTS)
      (node (ref U2) (pin 11))
      (node (ref J1) (pin 8)))
    (net (code 28) (name /pic_programmer/PC-CLOCK-OUT)
      (node (ref R5) (pin 1))
      (node (ref R6) (pin 1))
      (node (ref J1) (pin 7)))
    (net (code 29) (name "Net-(U4-Pad3)")
      (node (ref U4) (pin 3)))
    (net (code 30) (name "Net-(C5-Pad1)")
      (node (ref R10) (pin 2))
      (node (ref C5) (pin 1)))
    (net (code 31) (name "Net-(RV1-Pad2)")
      (node (ref RV1) (pin 2))
      (node (ref U4) (pin 2)))
    (net (code 32) (name "Net-(D10-Pad2)")
      (node (ref D10) (pin 2))
      (node (ref U4) (pin 8))
      (node (ref L1) (pin 1)))
    (net (code 33) (name "Net-(C4-Pad1)")
      (node (ref R10) (pin 1))
      (node (ref C4) (pin 1))
      (node (ref U4) (pin 1)))
    (net (code 34) (name "Net-(D6-Pad2)")
      (node (ref D7) (pin 1))
      (node (ref U2) (pin 9))
      (node (ref D6) (pin 2))
      (node (ref R5) (pin 2)))
    (net (code 35) (name "Net-(R12-Pad1)")
      (node (ref R12) (pin 1))
      (node (ref U2) (pin 6)))
    (net (code 36) (name "Net-(D2-Pad1)")
      (node (ref U2) (pin 2))
      (node (ref D3) (pin 2))
      (node (ref D2) (pin 1))
      (node (ref R1) (pin 2)))
    (net (code 37) (name "Net-(R13-Pad1)")
      (node (ref R13) (pin 1))
      (node (ref U2) (pin 8)))
    (net (code 38) (name "Net-(D4-Pad2)")
      (node (ref U2) (pin 5))
      (node (ref R3) (pin 2))
      (node (ref D5) (pin 1))
      (node (ref D4) (pin 2)))
    (net (code 39) (name /pic_programmer/DTR)
      (node (ref R3) (pin 1))
      (node (ref R4) (pin 1))
      (node (ref J1) (pin 4)))
    (net (code 40) (name "Net-(R8-Pad1)")
      (node (ref U2) (pin 3))
      (node (ref R8) (pin 1)))
    (net (code 41) (name "Net-(P2-Pad26)")
      (node (ref P2) (pin 26)))
    (net (code 42) (name "Net-(P2-Pad17)")
      (node (ref P2) (pin 17)))
    (net (code 43) (name "Net-(P2-Pad18)")
      (node (ref P2) (pin 18)))
    (net (code 44) (name "Net-(P3-Pad21)")
      (node (ref P3) (pin 21)))
    (net (code 45) (name "Net-(P3-Pad22)")
      (node (ref P3) (pin 22)))
    (net (code 46) (name "Net-(P3-Pad23)")
      (node (ref P3) (pin 23)))
    (net (code 47) (name "Net-(P2-Pad11)")
      (node (ref P2) (pin 11)))
    (net (code 48) (name "Net-(P2-Pad4)")
      (node (ref P2) (pin 4)))
    (net (code 49) (name "Net-(P2-Pad5)")
      (node (ref P2) (pin 5)))
    (net (code 50) (name "Net-(P2-Pad6)")
      (node (ref P2) (pin 6)))
    (net (code 51) (name "Net-(P2-Pad7)")
      (node (ref P2) (pin 7)))
    (net (code 52) (name "Net-(P2-Pad9)")
      (node (ref P2) (pin 9)))
    (net (code 53) (name "Net-(P2-Pad10)")
      (node (ref P2) (pin 10)))
    (net (code 54) (name "Net-(P2-Pad16)")
      (node (ref P2) (pin 16)))
    (net (code 55) (name "Net-(P2-Pad21)")
      (node (ref P2) (pin 21)))
    (net (code 56) (name "Net-(P2-Pad12)")
      (node (ref P2) (pin 12)))
    (net (code 57) (name "Net-(P2-Pad22)")
      (node (ref P2) (pin 22)))
    (net (code 58) (name "Net-(P2-Pad13)")
      (node (ref P2) (pin 13)))
    (net (code 59) (name "Net-(P2-Pad23)")
      (node (ref P2) (pin 23)))
    (net (code 60) (name "Net-(P2-Pad14)")
      (node (ref P2) (pin 14)))
    (net (code 61) (name "Net-(P2-Pad24)")
      (node (ref P2) (pin 24)))
    (net (code 62) (name "Net-(P2-Pad15)")
      (node (ref P2) (pin 15)))
    (net (code 63) (name "Net-(P2-Pad25)")
      (node (ref P2) (pin 25)))
    (net (code 64) (name "Net-(P3-Pad13)")
      (node (ref P3) (pin 13)))
    (net (code 65) (name "Net-(P3-Pad10)")
      (node (ref P3) (pin 10)))
    (net (code 66) (name "Net-(P3-Pad9)")
      (node (ref P3) (pin 9)))
    (net (code 67) (name "Net-(P3-Pad7)")
      (node (ref P3) (pin 7)))
    (net (code 68) (name "Net-(P3-Pad6)")
      (node (ref P3) (pin 6)))
    (net (code 69) (name "Net-(P3-Pad5)")
      (node (ref P3) (pin 5)))
    (net (code 70) (name "Net-(P3-Pad4)")
      (node (ref P3) (pin 4)))
    (net (code 71) (name "Net-(P3-Pad3)")
      (node (ref P3) (pin 3)))
    (net (code 72) (name "Net-(P3-Pad2)")
      (node (ref P3) (pin 2)))
    (net (code 73) (name "Net-(P3-Pad14)")
      (node (ref P3) (pin 14)))
    (net (code 74) (name "Net-(P3-Pad36)")
      (node (ref P3) (pin 36)))
    (net (code 75) (name "Net-(P3-Pad25)")
      (node (ref P3) (pin 25)))
    (net (code 76) (name "Net-(P3-Pad26)")
      (node (ref P3) (pin 26)))
    (net (code 77) (name "Net-(P3-Pad27)")
      (node (ref P3) (pin 27)))
    (net (code 78) (name "Net-(P3-Pad28)")
      (node (ref P3) (pin 28)))
    (net (code 79) (name "Net-(P3-Pad29)")
      (node (ref P3) (pin 29)))
    (net (code 80) (name "Net-(P3-Pad30)")
      (node (ref P3) (pin 30)))
    (net (code 81) (name "Net-(P3-Pad33)")
      (node (ref P3) (pin 33)))
    (net (code 82) (name "Net-(P3-Pad34)")
      (node (ref P3) (pin 34)))
    (net (code 83) (name "Net-(P3-Pad35)")
      (node (ref P3) (pin 35)))
    (net (code 84) (name "Net-(P3-Pad24)")
      (node (ref P3) (pin 24)))
    (net (code 85) (name "Net-(P3-Pad37)")
      (node (ref P3) (pin 37)))
    (net (code 86) (name "Net-(P3-Pad38)")
      (node (ref P3) (pin 38)))
    (net (code 87) (name "Net-(P3-Pad20)")
      (node (ref P3) (pin 20)))
    (net (code 88) (name "Net-(P3-Pad19)")
      (node (ref P3) (pin 19)))
    (net (code 89) (name "Net-(P3-Pad18)")
      (node (ref P3) (pin 18)))
    (net (code 90) (name "Net-(P3-Pad17)")
      (node (ref P3) (pin 17)))
    (net (code 91) (name "Net-(P3-Pad16)")
      (node (ref P3) (pin 16)))
    (net (code 92) (name "Net-(P3-Pad15)")
      (node (ref P3) (pin 15)))
    (net (code 93) (name "Net-(P2-Pad2)")
      (node (ref P2) (pin 2)))
    (net (code 94) (name "Net-(P2-Pad3)")
      (node (ref P2) (pin 3)))
    (net (code 95) (name "Net-(U6-Pad5)")
      (node (ref U6) (pin 5)))
    (net (code 96) (name "Net-(U6-Pad3)")
      (node (ref U6) (pin 3)))
    (net (code 97) (name "Net-(U6-Pad2)")
      (node (ref U6) (pin 2)))
    (net (code 98) (name "Net-(U5-Pad18)")
      (node (ref U5) (pin 18)))
    (net (code 99) (name "Net-(U1-Pad7)")
      (node (ref U1) (pin 7)))
    (net (code 100) (name "Net-(U5-Pad8)")
      (node (ref U5) (pin 8)))
    (net (code 101) (name "Net-(U5-Pad3)")
      (node (ref U5) (pin 3)))
    (net (code 102) (name "Net-(U5-Pad1)")
      (node (ref U5) (pin 1)))
    (net (code 103) (name "Net-(U5-Pad2)")
      (node (ref U5) (pin 2)))
    (net (code 104) (name "Net-(U5-Pad6)")
      (node (ref U5) (pin 6)))
    (net (code 105) (name "Net-(U5-Pad7)")
      (node (ref U5) (pin 7)))
    (net (code 106) (name "Net-(U5-Pad9)")
      (node (ref U5) (pin 9)))
    (net (code 107) (name "Net-(U5-Pad10)")
      (node (ref U5) (pin 10)))
    (net (code 108) (name "Net-(U5-Pad11)")
      (node (ref U5) (pin 11)))
    (net (code 109) (name "Net-(U5-Pad15)")
      (node (ref U5) (pin 15)))
    (net (code 110) (name "Net-(U5-Pad16)")
      (node (ref U5) (pin 16)))
    (net (code 111) (name "Net-(U5-Pad17)")
      (node (ref U5) (pin 17)))))