(export (version D)
  (design
    (source C:\Users\benjamin\Downloads\rgb_lcd_hat\rgb_lcd_pihat.sch)
    (date "21.04.2021 14:27:13")
    (tool "Eeschema (5.1.9)-1")
    (sheet (number 1) (name /) (tstamps /)
      (title_block
        (title)
        (company)
        (rev)
        (date)
        (source rgb_lcd_pihat.sch)
        (comment (number 1) (value ""))
        (comment (number 2) (value ""))
        (comment (number 3) (value ""))
        (comment (number 4) (value "")))))
  (components
    (comp (ref J3)
      (value TOUCH)
      (footprint Connector_FFC-FPC:TE_84953-4_1x04-1MP_P1.0mm_Horizontal)
      (datasheet ~)
      (fields
        (field (name LCSC) C262381))
      (libsource (lib Connector_Generic) (part Conn_01x04) (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60301AC4))
    (comp (ref U1)
      (value AR1100)
      (footprint Package_SO:SSOP-20_5.3x7.2mm_P0.65mm)
      (datasheet https://ww1.microchip.com/downloads/en/DeviceDoc/41606B.pdf)
      (fields
        (field (name LCSC) C219149))
      (libsource (lib rgb_lcd_pihat) (part AR1100) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 60304A53))
    (comp (ref C2)
      (value 22p)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 602FEB22))
    (comp (ref C1)
      (value 22p)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 602FF7A8))
    (comp (ref R1)
      (value 20k)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6030A9C5))
    (comp (ref R2)
      (value 180)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6030D01B))
    (comp (ref D1)
      (value LED)
      (footprint LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part LED) (description "Light emitting diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6030F27D))
    (comp (ref C3)
      (value 10n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6031266B))
    (comp (ref R3)
      (value NB)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60317EED))
    (comp (ref J4)
      (value Conn_01x40)
      (footprint Connector_FFC-FPC:Hirose_FH12-40S-0.5SH_1x40-1MP_P0.50mm_Horizontal)
      (datasheet ~)
      (fields
        (field (name LCSC) C283157))
      (libsource (lib rgb_lcd_pihat-rescue) (part Conn_01x40-conn) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 6031CD19))
    (comp (ref U3)
      (value ME3102)
      (footprint Package_TO_SOT_SMD:SOT-23-5_HandSoldering)
      (fields
        (field (name LCSC) C83223))
      (libsource (lib Custom_IC) (part ME3102) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 604417C3))
    (comp (ref C7)
      (value 100n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6044F274))
    (comp (ref C5)
      (value 22u)
      (footprint Capacitor_SMD:CP_Elec_4x5.3)
      (datasheet ~)
      (fields
        (field (name LCSC) C305355))
      (libsource (lib rgb_lcd_pihat-rescue) (part C_Polarized_Small-Device) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 6044FAF1))
    (comp (ref L2)
      (value L_Small)
      (footprint Inductor_SMD:L_6.3x6.3_H3)
      (datasheet ~)
      (libsource (lib Device) (part L_Small) (description "Inductor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6046DEF6))
    (comp (ref C10)
      (value 22u)
      (footprint Capacitor_SMD:CP_Elec_4x5.3)
      (datasheet ~)
      (fields
        (field (name LCSC) C305355))
      (libsource (lib rgb_lcd_pihat-rescue) (part C_Polarized_Small-Device) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 6046ECB3))
    (comp (ref R7)
      (value 470k)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6046FF62))
    (comp (ref R8)
      (value 105k)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60470AEB))
    (comp (ref C9)
      (value 100n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6049F304))
    (comp (ref U2)
      (value PT4103)
      (footprint Package_TO_SOT_SMD:SOT-23-6_Handsoldering)
      (fields
        (field (name LCSC) C19861))
      (libsource (lib Custom_IC) (part PT4103) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 604F65F5))
    (comp (ref C4)
      (value 22u)
      (footprint Capacitor_SMD:CP_Elec_4x5.3)
      (datasheet ~)
      (fields
        (field (name LCSC) C305355))
      (libsource (lib rgb_lcd_pihat-rescue) (part C_Polarized_Small-Device) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 604F81AF))
    (comp (ref C6)
      (value 100n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 604F878F))
    (comp (ref L1)
      (value 22u)
      (footprint Inductor_SMD:L_6.3x6.3_H3)
      (datasheet ~)
      (libsource (lib Device) (part L_Small) (description "Inductor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60531AA4))
    (comp (ref D3)
      (value D_Schottky_Small)
      (footprint Diode_SMD:D_SMC)
      (datasheet ~)
      (fields
        (field (name LCSC) C353177))
      (libsource (lib Device) (part D_Schottky_Small) (description "Schottky diode, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60545650))
    (comp (ref R5)
      (value 1)
      (footprint Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder)
      (datasheet ~)
      (fields
        (field (name LCSC) C163871))
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 605765BB))
    (comp (ref R6)
      (value 1)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (fields
        (field (name LCSC) C163871))
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60577198))
    (comp (ref RV1)
      (value 10)
      (footprint Potentiometer_SMD:Potentiometer_Bourns_3214J_Horizontal)
      (datasheet ~)
      (fields
        (field (name LCSC) C124638))
      (libsource (lib rgb_lcd_pihat-rescue) (part R_Potentiometer-Device) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 60596FF2))
    (comp (ref C8)
      (value 220n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 605B8328))
    (comp (ref SW1)
      (value SW_SPDT)
      (footprint Button_Switch_SMD:SW_SPDT_PCM12)
      (datasheet ~)
      (fields
        (field (name LCSC) C397350))
      (libsource (lib Switch) (part SW_SPDT) (description "Switch, single pole double throw"))
      (sheetpath (names /) (tstamps /))
      (tstamp 605E0D2C))
    (comp (ref D2)
      (value PWRLED)
      (footprint LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part LED) (description "Light emitting diode"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606D6C3E))
    (comp (ref R4)
      (value 7k5)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 606D7C4E))
    (comp (ref C11)
      (value 100n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 6030FE8B))
    (comp (ref J5)
      (value Conn_01x03)
      (footprint Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical)
      (datasheet ~)
      (libsource (lib Connector_Generic) (part Conn_01x03) (description "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60330AC4))
    (comp (ref H1)
      (value MountingHole)
      (footprint MountingHole:MountingHole_3.2mm_M3)
      (datasheet ~)
      (libsource (lib Mechanical) (part MountingHole) (description "Mounting Hole without connection"))
      (sheetpath (names /) (tstamps /))
      (tstamp 603BBE19))
    (comp (ref H2)
      (value MountingHole)
      (footprint MountingHole:MountingHole_3.2mm_M3)
      (datasheet ~)
      (libsource (lib Mechanical) (part MountingHole) (description "Mounting Hole without connection"))
      (sheetpath (names /) (tstamps /))
      (tstamp 603BCE2E))
    (comp (ref H3)
      (value MountingHole)
      (footprint MountingHole:MountingHole_3.2mm_M3)
      (datasheet ~)
      (libsource (lib Mechanical) (part MountingHole) (description "Mounting Hole without connection"))
      (sheetpath (names /) (tstamps /))
      (tstamp 603BD03E))
    (comp (ref H4)
      (value MountingHole)
      (footprint MountingHole:MountingHole_3.2mm_M3)
      (datasheet ~)
      (libsource (lib Mechanical) (part MountingHole) (description "Mounting Hole without connection"))
      (sheetpath (names /) (tstamps /))
      (tstamp 603BD2B0))
    (comp (ref Y1)
      (value Crystal_GND24)
      (footprint Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm)
      (datasheet ~)
      (fields
        (field (name LCSC) C709175))
      (libsource (lib rgb_lcd_pihat-rescue) (part Crystal_GND24-device) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 60467B7E))
    (comp (ref J1)
      (value USB_C_Receptacle_USB2.0)
      (footprint Connector_USB:USB_C_Receptacle_Palconn_UTC16-G)
      (datasheet https://www.usb.org/sites/default/files/documents/usb_type-c.zip)
      (fields
        (field (name LCSC) C319148))
      (libsource (lib rgb_lcd_pihat-rescue) (part USB_C_Receptacle_USB2.0-Connector) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 60591EAA))
    (comp (ref LOGO1)
      (value Logo)
      (footprint Custom_logo:BB)
      (libsource (lib rgb_lcd_pihat-rescue) (part Logo-Custom_logo) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 606925A8))
    (comp (ref J2)
      (value RPI40)
      (footprint Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical)
      (datasheet ~)
      (fields
        (field (name LCSC) C50982))
      (libsource (lib Connector_Generic) (part Conn_02x20_Odd_Even) (description "Generic connector, double row, 02x20, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)"))
      (sheetpath (names /) (tstamps /))
      (tstamp 602EEB0B))
    (comp (ref JP1)
      (value Jumper_3_Bridged12)
      (footprint Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part Jumper_3_Bridged12) (description "Jumper, 3-pole, pins 1+2 closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60892CAD))
    (comp (ref JP2)
      (value Jumper_3_Bridged12)
      (footprint Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm)
      (datasheet ~)
      (libsource (lib Jumper) (part Jumper_3_Bridged12) (description "Jumper, 3-pole, pins 1+2 closed/bridged"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608943E0))
    (comp (ref R10)
      (value 105k)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60C60D4C))
    (comp (ref R9)
      (value 1k5)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60CA8B3D))
    (comp (ref Q1)
      (value ATM7002KNSA)
      (footprint Package_TO_SOT_SMD:SOT-23_Handsoldering)
      (datasheet https://datasheet.lcsc.com/szlcsc/2011132035_Agertech-ATM7002KNSA_C915711.pdf)
      (fields
        (field (name LCSC) C915711)
        (field (name "Other Source") X))
      (libsource (lib Device) (part Q_NMOS_GSD) (description "N-MOSFET transistor, gate/source/drain"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60D15588))
    (comp (ref TP1)
      (value 3V3_DISPLAY)
      (footprint TestPoint:TestPoint_Keystone_5000-5004_Miniature)
      (datasheet ~)
      (fields
        (field (name LCSC) C238122))
      (libsource (lib Connector) (part TestPoint) (description "test point"))
      (sheetpath (names /) (tstamps /))
      (tstamp 60E25800))
    (comp (ref TP2)
      (value BG_LEDS)
      (footprint TestPoint:TestPoint_Keystone_5000-5004_Miniature)
      (datasheet ~)
      (fields
        (field (name LCSC) C238122))
      (libsource (lib Connector) (part TestPoint) (description "test point"))
      (sheetpath (names /) (tstamps /))
      (tstamp 611790C2))
    (comp (ref LOGO2)
      (value Logo)
      (footprint footprints:julian_logo_4mm)
      (libsource (lib rgb_lcd_pihat-rescue) (part Logo-Custom_logo) (description ""))
      (sheetpath (names /) (tstamps /))
      (tstamp 6032B777))
    (comp (ref R11)
      (value 105k)
      (footprint Resistor_SMD:R_0603_1608Metric_Pad1.05x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part R_Small) (description "Resistor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 603499A4))
    (comp (ref C13)
      (value 10u)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 607E9212))
    (comp (ref C12)
      (value 100n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 607E97F5))
    (comp (ref C14)
      (value 10n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608C3BB4))
    (comp (ref C15)
      (value 10n)
      (footprint Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder)
      (datasheet ~)
      (libsource (lib Device) (part C_Small) (description "Unpolarized capacitor, small symbol"))
      (sheetpath (names /) (tstamps /))
      (tstamp 608C4477)))
  (libparts
    (libpart (lib Connector) (part TestPoint)
      (description "test point")
      (docs ~)
      (footprints
        (fp Pin*)
        (fp Test*))
      (fields
        (field (name Reference) TP)
        (field (name Value) TestPoint))
      (pins
        (pin (num 1) (name 1) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_01x03)
      (description "Generic connector, single row, 01x03, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x03))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_01x04)
      (description "Generic connector, single row, 01x04, script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_1x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x04))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))))
    (libpart (lib Connector_Generic) (part Conn_02x20_Odd_Even)
      (description "Generic connector, double row, 02x20, odd/even pin numbering scheme (row 1 odd numbers, row 2 even numbers), script generated (kicad-library-utils/schlib/autogen/connector/)")
      (docs ~)
      (footprints
        (fp Connector*:*_2x??_*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_02x20_Odd_Even))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))
        (pin (num 9) (name Pin_9) (type passive))
        (pin (num 10) (name Pin_10) (type passive))
        (pin (num 11) (name Pin_11) (type passive))
        (pin (num 12) (name Pin_12) (type passive))
        (pin (num 13) (name Pin_13) (type passive))
        (pin (num 14) (name Pin_14) (type passive))
        (pin (num 15) (name Pin_15) (type passive))
        (pin (num 16) (name Pin_16) (type passive))
        (pin (num 17) (name Pin_17) (type passive))
        (pin (num 18) (name Pin_18) (type passive))
        (pin (num 19) (name Pin_19) (type passive))
        (pin (num 20) (name Pin_20) (type passive))
        (pin (num 21) (name Pin_21) (type passive))
        (pin (num 22) (name Pin_22) (type passive))
        (pin (num 23) (name Pin_23) (type passive))
        (pin (num 24) (name Pin_24) (type passive))
        (pin (num 25) (name Pin_25) (type passive))
        (pin (num 26) (name Pin_26) (type passive))
        (pin (num 27) (name Pin_27) (type passive))
        (pin (num 28) (name Pin_28) (type passive))
        (pin (num 29) (name Pin_29) (type passive))
        (pin (num 30) (name Pin_30) (type passive))
        (pin (num 31) (name Pin_31) (type passive))
        (pin (num 32) (name Pin_32) (type passive))
        (pin (num 33) (name Pin_33) (type passive))
        (pin (num 34) (name Pin_34) (type passive))
        (pin (num 35) (name Pin_35) (type passive))
        (pin (num 36) (name Pin_36) (type passive))
        (pin (num 37) (name Pin_37) (type passive))
        (pin (num 38) (name Pin_38) (type passive))
        (pin (num 39) (name Pin_39) (type passive))
        (pin (num 40) (name Pin_40) (type passive))))
    (libpart (lib Custom_IC) (part ME3102)
      (fields
        (field (name Reference) U)
        (field (name Value) ME3102))
      (pins
        (pin (num 1) (name EN) (type input))
        (pin (num 2) (name GND) (type power_in))
        (pin (num 3) (name SW) (type power_out))
        (pin (num 4) (name VIN) (type power_in))
        (pin (num 5) (name FB) (type input))))
    (libpart (lib Custom_IC) (part PT4103)
      (fields
        (field (name Reference) U)
        (field (name Value) PT4103))
      (pins
        (pin (num 1) (name SW) (type power_out))
        (pin (num 2) (name GND) (type power_out))
        (pin (num 3) (name FB) (type input))
        (pin (num 4) (name EN) (type input))
        (pin (num 5) (name OV) (type input))
        (pin (num 6) (name IN) (type power_in))))
    (libpart (lib Device) (part C_Small)
      (description "Unpolarized capacitor, small symbol")
      (docs ~)
      (footprints
        (fp C_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part D_Schottky_Small)
      (description "Schottky diode, small symbol")
      (docs ~)
      (footprints
        (fp TO-???*)
        (fp *_Diode_*)
        (fp *SingleDiode*)
        (fp D_*))
      (fields
        (field (name Reference) D)
        (field (name Value) D_Schottky_Small))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part LED)
      (description "Light emitting diode")
      (docs ~)
      (footprints
        (fp LED*)
        (fp LED_SMD:*)
        (fp LED_THT:*))
      (fields
        (field (name Reference) D)
        (field (name Value) LED))
      (pins
        (pin (num 1) (name K) (type passive))
        (pin (num 2) (name A) (type passive))))
    (libpart (lib Device) (part L_Small)
      (description "Inductor, small symbol")
      (docs ~)
      (footprints
        (fp Choke_*)
        (fp *Coil*)
        (fp Inductor_*)
        (fp L_*))
      (fields
        (field (name Reference) L)
        (field (name Value) L_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Device) (part Q_NMOS_GSD)
      (description "N-MOSFET transistor, gate/source/drain")
      (docs ~)
      (fields
        (field (name Reference) Q)
        (field (name Value) Q_NMOS_GSD))
      (pins
        (pin (num 1) (name G) (type input))
        (pin (num 2) (name S) (type passive))
        (pin (num 3) (name D) (type passive))))
    (libpart (lib Device) (part R_Small)
      (description "Resistor, small symbol")
      (docs ~)
      (footprints
        (fp R_*))
      (fields
        (field (name Reference) R)
        (field (name Value) R_Small))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib Jumper) (part Jumper_3_Bridged12)
      (description "Jumper, 3-pole, pins 1+2 closed/bridged")
      (docs ~)
      (footprints
        (fp Jumper*)
        (fp TestPoint*3Pads*)
        (fp TestPoint*Bridge*))
      (fields
        (field (name Reference) JP)
        (field (name Value) Jumper_3_Bridged12))
      (pins
        (pin (num 1) (name A) (type passive))
        (pin (num 2) (name C) (type input))
        (pin (num 3) (name B) (type passive))))
    (libpart (lib Mechanical) (part MountingHole)
      (description "Mounting Hole without connection")
      (docs ~)
      (footprints
        (fp MountingHole*))
      (fields
        (field (name Reference) H)
        (field (name Value) MountingHole)))
    (libpart (lib Switch) (part SW_SPDT)
      (description "Switch, single pole double throw")
      (docs ~)
      (fields
        (field (name Reference) SW)
        (field (name Value) SW_SPDT))
      (pins
        (pin (num 1) (name A) (type passive))
        (pin (num 2) (name B) (type passive))
        (pin (num 3) (name C) (type passive))))
    (libpart (lib rgb_lcd_pihat) (part AR1100)
      (docs https://ww1.microchip.com/downloads/en/DeviceDoc/41606B.pdf)
      (fields
        (field (name Reference) U)
        (field (name Value) AR1100))
      (pins
        (pin (num 1) (name VDD) (type power_in))
        (pin (num 2) (name OSC1) (type input))
        (pin (num 3) (name OSC2) (type input))
        (pin (num 4) (name MODE) (type input))
        (pin (num 5) (name LED) (type input))
        (pin (num 6) (name Y+) (type input))
        (pin (num 7) (name X+) (type input))
        (pin (num 8) (name SY-) (type input))
        (pin (num 9) (name SX+) (type input))
        (pin (num 10) (name TX) (type input))
        (pin (num 11) (name WAKE) (type input))
        (pin (num 12) (name RX) (type input))
        (pin (num 13) (name SY-) (type input))
        (pin (num 14) (name X-) (type input))
        (pin (num 15) (name Y+) (type input))
        (pin (num 16) (name Y-) (type input))
        (pin (num 17) (name VUSB) (type input))
        (pin (num 18) (name D-) (type input))
        (pin (num 19) (name D+) (type input))
        (pin (num 20) (name VSS) (type power_in))))
    (libpart (lib rgb_lcd_pihat-rescue) (part C_Polarized_Small-Device)
      (footprints
        (fp CP_*))
      (fields
        (field (name Reference) C)
        (field (name Value) C_Polarized_Small-Device))
      (pins
        (pin (num 1) (name ~) (type passive))
        (pin (num 2) (name ~) (type passive))))
    (libpart (lib rgb_lcd_pihat-rescue) (part Conn_01x40-conn)
      (footprints
        (fp Connector*:*_??x*mm*)
        (fp Connector*:*1x??x*mm*)
        (fp Pin?Header?Straight?1X*)
        (fp Pin?Header?Angled?1X*)
        (fp Socket?Strip?Straight?1X*)
        (fp Socket?Strip?Angled?1X*))
      (fields
        (field (name Reference) J)
        (field (name Value) Conn_01x40-conn))
      (pins
        (pin (num 1) (name Pin_1) (type passive))
        (pin (num 2) (name Pin_2) (type passive))
        (pin (num 3) (name Pin_3) (type passive))
        (pin (num 4) (name Pin_4) (type passive))
        (pin (num 5) (name Pin_5) (type passive))
        (pin (num 6) (name Pin_6) (type passive))
        (pin (num 7) (name Pin_7) (type passive))
        (pin (num 8) (name Pin_8) (type passive))
        (pin (num 9) (name Pin_9) (type passive))
        (pin (num 10) (name Pin_10) (type passive))
        (pin (num 11) (name Pin_11) (type passive))
        (pin (num 12) (name Pin_12) (type passive))
        (pin (num 13) (name Pin_13) (type passive))
        (pin (num 14) (name Pin_14) (type passive))
        (pin (num 15) (name Pin_15) (type passive))
        (pin (num 16) (name Pin_16) (type passive))
        (pin (num 17) (name Pin_17) (type passive))
        (pin (num 18) (name Pin_18) (type passive))
        (pin (num 19) (name Pin_19) (type passive))
        (pin (num 20) (name Pin_20) (type passive))
        (pin (num 21) (name Pin_21) (type passive))
        (pin (num 22) (name Pin_22) (type passive))
        (pin (num 23) (name Pin_23) (type passive))
        (pin (num 24) (name Pin_24) (type passive))
        (pin (num 25) (name Pin_25) (type passive))
        (pin (num 26) (name Pin_26) (type passive))
        (pin (num 27) (name Pin_27) (type passive))
        (pin (num 28) (name Pin_28) (type passive))
        (pin (num 29) (name Pin_29) (type passive))
        (pin (num 30) (name Pin_30) (type passive))
        (pin (num 31) (name Pin_31) (type passive))
        (pin (num 32) (name Pin_32) (type passive))
        (pin (num 33) (name Pin_33) (type passive))
        (pin (num 34) (name Pin_34) (type passive))
        (pin (num 35) (name Pin_35) (type passive))
        (pin (num 36) (name Pin_36) (type passive))
        (pin (num 37) (name Pin_37) (type passive))
        (pin (num 38) (name Pin_38) (type passive))
        (pin (num 39) (name Pin_39) (type passive))
        (pin (num 40) (name Pin_40) (type passive))))
    (libpart (lib rgb_lcd_pihat-rescue) (part Crystal_GND24-device)
      (footprints
        (fp Crystal*))
      (fields
        (field (name Reference) Y)
        (field (name Value) Crystal_GND24-device))
      (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))))
    (libpart (lib rgb_lcd_pihat-rescue) (part Logo-Custom_logo)
      (fields
        (field (name Reference) LOGO)
        (field (name Value) Logo-Custom_logo)))
    (libpart (lib rgb_lcd_pihat-rescue) (part R_Potentiometer-Device)
      (footprints
        (fp Potentiometer*))
      (fields
        (field (name Reference) RV)
        (field (name Value) R_Potentiometer-Device))
      (pins
        (pin (num 1) (name 1) (type passive))
        (pin (num 2) (name 2) (type passive))
        (pin (num 3) (name 3) (type passive))))
    (libpart (lib rgb_lcd_pihat-rescue) (part USB_C_Receptacle_USB2.0-Connector)
      (footprints
        (fp USB*C*Receptacle*))
      (fields
        (field (name Reference) J)
        (field (name Value) USB_C_Receptacle_USB2.0-Connector))
      (pins
        (pin (num A1) (name GND) (type power_in))
        (pin (num A4) (name VBUS) (type power_in))
        (pin (num A5) (name CC1) (type BiDi))
        (pin (num A6) (name D+) (type BiDi))
        (pin (num A7) (name D-) (type BiDi))
        (pin (num A8) (name SBU1) (type BiDi))
        (pin (num A9) (name VBUS) (type passive))
        (pin (num A12) (name GND) (type passive))
        (pin (num B1) (name GND) (type passive))
        (pin (num B4) (name VBUS) (type passive))
        (pin (num B5) (name CC2) (type BiDi))
        (pin (num B6) (name D+) (type BiDi))
        (pin (num B7) (name D-) (type BiDi))
        (pin (num B8) (name SBU2) (type BiDi))
        (pin (num B9) (name VBUS) (type passive))
        (pin (num B12) (name GND) (type passive))
        (pin (num S1) (name SHIELD) (type passive)))))
  (libraries
    (library (logical Connector)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector.lib"))
    (library (logical Connector_Generic)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Connector_Generic.lib"))
    (library (logical Custom_IC)
      (uri C:\Users\benjamin\Downloads\rgb_lcd_hat/libs/Custom_IC.lib))
    (library (logical Device)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Device.lib"))
    (library (logical Jumper)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Jumper.lib"))
    (library (logical Mechanical)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Mechanical.lib"))
    (library (logical Switch)
      (uri "C:\\Program Files\\KiCad\\share\\kicad\\library/Switch.lib"))
    (library (logical rgb_lcd_pihat)
      (uri C:\Users\benjamin\Downloads\rgb_lcd_hat/rgb_lcd_pihat.lib))
    (library (logical rgb_lcd_pihat-rescue)
      (uri C:\Users\benjamin\Downloads\rgb_lcd_hat/rgb_lcd_pihat-rescue.lib)))
  (nets
    (net (code 1) (name "Net-(C1-Pad1)")
      (node (ref Y1) (pin 1))
      (node (ref C1) (pin 1))
      (node (ref U1) (pin 3)))
    (net (code 2) (name "Net-(C2-Pad1)")
      (node (ref C2) (pin 1))
      (node (ref U1) (pin 2))
      (node (ref Y1) (pin 3)))
    (net (code 3) (name "Net-(J1-PadA4)")
      (node (ref J1) (pin A4))
      (node (ref J1) (pin B4))
      (node (ref J1) (pin B9))
      (node (ref J1) (pin A9)))
    (net (code 4) (name "Net-(J1-PadA5)")
      (node (ref J1) (pin A5)))
    (net (code 5) (name "Net-(J1-PadA7)")
      (node (ref U1) (pin 18))
      (node (ref J1) (pin B7))
      (node (ref J1) (pin A7)))
    (net (code 6) (name "Net-(J1-PadA8)")
      (node (ref J1) (pin A8)))
    (net (code 7) (name Blue5)
      (node (ref J4) (pin 29))
      (node (ref J2) (pin 21)))
    (net (code 8) (name Blue0)
      (node (ref J4) (pin 23))
      (node (ref J2) (pin 7)))
    (net (code 9) (name "Net-(J2-Pad13)")
      (node (ref J2) (pin 13)))
    (net (code 10) (name "Net-(J2-Pad12)")
      (node (ref J2) (pin 12)))
    (net (code 11) (name "Net-(J2-Pad1)")
      (node (ref J2) (pin 1)))
    (net (code 12) (name Blue1)
      (node (ref J2) (pin 29))
      (node (ref J4) (pin 24)))
    (net (code 13) (name "Net-(J2-Pad17)")
      (node (ref J2) (pin 17)))
    (net (code 14) (name "Net-(J2-Pad19)")
      (node (ref J2) (pin 19)))
    (net (code 15) (name "Net-(J2-Pad23)")
      (node (ref J2) (pin 23)))
    (net (code 16) (name "Net-(J1-PadB5)")
      (node (ref J1) (pin B5)))
    (net (code 17) (name "Net-(J1-PadA6)")
      (node (ref U1) (pin 19))
      (node (ref J1) (pin A6))
      (node (ref J1) (pin B6)))
    (net (code 18) (name "Net-(J1-PadB8)")
      (node (ref J1) (pin B8)))
    (net (code 19) (name Blue2)
      (node (ref J2) (pin 31))
      (node (ref J4) (pin 25)))
    (net (code 20) (name "Net-(J2-Pad37)")
      (node (ref J2) (pin 37)))
    (net (code 21) (name RV2)
      (node (ref RV1) (pin 3))
      (node (ref R6) (pin 2))
      (node (ref RV1) (pin 2)))
    (net (code 22) (name LED-)
      (node (ref U2) (pin 3))
      (node (ref R5) (pin 2))
      (node (ref RV1) (pin 1))
      (node (ref J4) (pin 1))
      (node (ref J4) (pin 2))
      (node (ref C11) (pin 1)))
    (net (code 23) (name GND)
      (node (ref J4) (pin 14))
      (node (ref J4) (pin 26))
      (node (ref J4) (pin 18))
      (node (ref J4) (pin 32))
      (node (ref J4) (pin 22))
      (node (ref J4) (pin 30))
      (node (ref C3) (pin 1))
      (node (ref U3) (pin 2))
      (node (ref J4) (pin 10))
      (node (ref J2) (pin 39))
      (node (ref J2) (pin 34))
      (node (ref J2) (pin 30))
      (node (ref J2) (pin 6))
      (node (ref C7) (pin 2))
      (node (ref C5) (pin 2))
      (node (ref J2) (pin 9))
      (node (ref JP2) (pin 3))
      (node (ref JP1) (pin 1))
      (node (ref U2) (pin 2))
      (node (ref U1) (pin 20))
      (node (ref R2) (pin 1))
      (node (ref C6) (pin 2))
      (node (ref C4) (pin 2))
      (node (ref R8) (pin 1))
      (node (ref C1) (pin 2))
      (node (ref C10) (pin 2))
      (node (ref J4) (pin 34))
      (node (ref J4) (pin 6))
      (node (ref C2) (pin 2))
      (node (ref C13) (pin 1))
      (node (ref C12) (pin 1))
      (node (ref C8) (pin 2))
      (node (ref Q1) (pin 2))
      (node (ref J1) (pin S1))
      (node (ref J1) (pin B12))
      (node (ref J2) (pin 20))
      (node (ref J2) (pin 14))
      (node (ref J5) (pin 1))
      (node (ref J1) (pin B1))
      (node (ref R4) (pin 1))
      (node (ref J2) (pin 25))
      (node (ref C15) (pin 1))
      (node (ref R6) (pin 1))
      (node (ref R5) (pin 1))
      (node (ref SW1) (pin 1))
      (node (ref R11) (pin 1))
      (node (ref C11) (pin 2))
      (node (ref J1) (pin A12))
      (node (ref J1) (pin A1))
      (node (ref Y1) (pin 4))
      (node (ref C14) (pin 1))
      (node (ref Y1) (pin 2)))
    (net (code 24) (name Green0)
      (node (ref J4) (pin 15))
      (node (ref J2) (pin 32)))
    (net (code 25) (name Blue3)
      (node (ref J4) (pin 27))
      (node (ref J2) (pin 26)))
    (net (code 26) (name Blue4)
      (node (ref J4) (pin 28))
      (node (ref J2) (pin 24)))
    (net (code 27) (name Red5)
      (node (ref J4) (pin 13))
      (node (ref J2) (pin 22)))
    (net (code 28) (name Red4)
      (node (ref J2) (pin 18))
      (node (ref J4) (pin 12)))
    (net (code 29) (name Red3)
      (node (ref J4) (pin 11))
      (node (ref J2) (pin 16)))
    (net (code 30) (name Green3)
      (node (ref J2) (pin 10))
      (node (ref J4) (pin 19)))
    (net (code 31) (name Green2)
      (node (ref J4) (pin 17))
      (node (ref J2) (pin 8)))
    (net (code 32) (name Red2)
      (node (ref J4) (pin 9))
      (node (ref J2) (pin 15)))
    (net (code 33) (name Green4)
      (node (ref J2) (pin 36))
      (node (ref J4) (pin 20)))
    (net (code 34) (name "Net-(D2-Pad1)")
      (node (ref R4) (pin 2))
      (node (ref D2) (pin 1)))
    (net (code 35) (name +5V)
      (node (ref U3) (pin 4))
      (node (ref C7) (pin 1))
      (node (ref R10) (pin 1))
      (node (ref D2) (pin 2))
      (node (ref U1) (pin 1))
      (node (ref J2) (pin 2))
      (node (ref C4) (pin 1))
      (node (ref J2) (pin 4))
      (node (ref C5) (pin 1))
      (node (ref U3) (pin 1))
      (node (ref L1) (pin 1))
      (node (ref C12) (pin 2))
      (node (ref C13) (pin 2))
      (node (ref C6) (pin 1))
      (node (ref R3) (pin 1))
      (node (ref U2) (pin 6)))
    (net (code 36) (name Red1)
      (node (ref J4) (pin 8))
      (node (ref J2) (pin 40)))
    (net (code 37) (name Red0)
      (node (ref J4) (pin 7))
      (node (ref J2) (pin 38)))
    (net (code 38) (name "Net-(R10-Pad2)")
      (node (ref R10) (pin 2))
      (node (ref SW1) (pin 3)))
    (net (code 39) (name "Net-(Q1-Pad1)")
      (node (ref R9) (pin 1))
      (node (ref R11) (pin 2))
      (node (ref Q1) (pin 1)))
    (net (code 40) (name "Net-(C14-Pad2)")
      (node (ref U1) (pin 15))
      (node (ref C14) (pin 2))
      (node (ref J3) (pin 3)))
    (net (code 41) (name "Net-(J3-Pad1)")
      (node (ref J3) (pin 1))
      (node (ref U1) (pin 16)))
    (net (code 42) (name Green5)
      (node (ref J2) (pin 11))
      (node (ref J4) (pin 21)))
    (net (code 43) (name "Net-(U1-Pad10)")
      (node (ref U1) (pin 10)))
    (net (code 44) (name "Net-(U1-Pad12)")
      (node (ref U1) (pin 12)))
    (net (code 45) (name Green1)
      (node (ref J4) (pin 16))
      (node (ref J2) (pin 33)))
    (net (code 46) (name L_R)
      (node (ref JP1) (pin 2))
      (node (ref J4) (pin 37)))
    (net (code 47) (name U_D)
      (node (ref J4) (pin 38))
      (node (ref JP2) (pin 2)))
    (net (code 48) (name BL_ENABLE)
      (node (ref J2) (pin 35))
      (node (ref R9) (pin 2)))
    (net (code 49) (name "Net-(J4-Pad5)")
      (node (ref J4) (pin 5)))
    (net (code 50) (name "Net-(D1-Pad1)")
      (node (ref R2) (pin 2))
      (node (ref D1) (pin 1)))
    (net (code 51) (name "Net-(D1-Pad2)")
      (node (ref D1) (pin 2))
      (node (ref U1) (pin 5)))
    (net (code 52) (name "Net-(C3-Pad2)")
      (node (ref U1) (pin 17))
      (node (ref C3) (pin 2)))
    (net (code 53) (name "Net-(R3-Pad2)")
      (node (ref U1) (pin 4))
      (node (ref R3) (pin 2)))
    (net (code 54) (name "Net-(R1-Pad1)")
      (node (ref U1) (pin 11))
      (node (ref R1) (pin 1)))
    (net (code 55) (name VSYNC)
      (node (ref J2) (pin 3))
      (node (ref J4) (pin 36)))
    (net (code 56) (name HSYNC)
      (node (ref J4) (pin 31))
      (node (ref J2) (pin 5)))
    (net (code 57) (name DEN)
      (node (ref J4) (pin 35))
      (node (ref J2) (pin 28)))
    (net (code 58) (name CLK)
      (node (ref J4) (pin 33))
      (node (ref J2) (pin 27)))
    (net (code 59) (name "Net-(U1-Pad13)")
      (node (ref U1) (pin 13)))
    (net (code 60) (name "Net-(C15-Pad2)")
      (node (ref C15) (pin 2))
      (node (ref U1) (pin 14))
      (node (ref J3) (pin 2))
      (node (ref R1) (pin 2)))
    (net (code 61) (name "Net-(U1-Pad6)")
      (node (ref U1) (pin 6)))
    (net (code 62) (name "Net-(J3-Pad4)")
      (node (ref J3) (pin 4))
      (node (ref U1) (pin 7)))
    (net (code 63) (name "Net-(U1-Pad8)")
      (node (ref U1) (pin 8)))
    (net (code 64) (name "Net-(U1-Pad9)")
      (node (ref U1) (pin 9)))
    (net (code 65) (name "Net-(C9-Pad2)")
      (node (ref C9) (pin 2))
      (node (ref U3) (pin 5))
      (node (ref R8) (pin 2))
      (node (ref R7) (pin 1)))
    (net (code 66) (name +3.3VP)
      (node (ref JP1) (pin 3))
      (node (ref JP2) (pin 1))
      (node (ref R7) (pin 2))
      (node (ref J4) (pin 39))
      (node (ref C10) (pin 1))
      (node (ref L2) (pin 2))
      (node (ref J4) (pin 40))
      (node (ref TP1) (pin 1))
      (node (ref C9) (pin 1)))
    (net (code 67) (name "Net-(D3-Pad2)")
      (node (ref U2) (pin 1))
      (node (ref D3) (pin 2))
      (node (ref L1) (pin 2)))
    (net (code 68) (name BL_CONTROLLER_EN)
      (node (ref J5) (pin 3))
      (node (ref U2) (pin 4))
      (node (ref SW1) (pin 2))
      (node (ref J5) (pin 2))
      (node (ref Q1) (pin 3)))
    (net (code 69) (name LED+)
      (node (ref D3) (pin 1))
      (node (ref U2) (pin 5))
      (node (ref J4) (pin 4))
      (node (ref J4) (pin 3))
      (node (ref TP2) (pin 1))
      (node (ref C8) (pin 1)))
    (net (code 70) (name "Net-(L2-Pad1)")
      (node (ref U3) (pin 3))
      (node (ref L2) (pin 1)))))