(kicad_pcb (version 20221018) (generator pcbnew)
  (general
    (thickness 1.6)
  )
  (paper "A4")
  (layers
    (0 "F.Cu" signal)
    (31 "B.Cu" signal)
    (32 "B.Adhes" user "B.Adhesive")
    (33 "F.Adhes" user "F.Adhesive")
    (34 "B.Paste" user)
    (35 "F.Paste" user)
    (36 "B.SilkS" user "B.Silkscreen")
    (37 "F.SilkS" user "F.Silkscreen")
    (38 "B.Mask" user)
    (39 "F.Mask" user)
    (40 "Dwgs.User" user "User.Drawings")
    (41 "Cmts.User" user "User.Comments")
    (42 "Eco1.User" user "User.Eco1")
    (43 "Eco2.User" user "User.Eco2")
    (44 "Edge.Cuts" user)
    (45 "Margin" user)
    (46 "B.CrtYd" user "B.Courtyard")
    (47 "F.CrtYd" user "F.Courtyard")
    (48 "B.Fab" user)
    (49 "F.Fab" user)
  )
  (setup
    (pad_to_mask_clearance 0.051)
    (solder_mask_min_width 0.25)
    (pcbplotparams
      (layerselection 0x00010fc_ffffffff)
      (plot_on_all_layers_selection 0x0000000_00000000)
      (disableapertmacros false)
      (usegerberextensions false)
      (usegerberattributes true)
      (usegerberadvancedattributes true)
      (creategerberjobfile true)
      (dashed_line_dash_ratio 12.000000)
      (dashed_line_gap_ratio 3.000000)
      (svgprecision 6)
      (plotframeref false)
      (viasonmask false)
      (mode 1)
      (useauxorigin false)
      (hpglpennumber 1)
      (hpglpenspeed 20)
      (hpglpendiameter 15.000000)
      (dxfpolygonmode true)
      (dxfimperialunits true)
      (dxfusepcbnewfont true)
      (psnegative false)
      (psa4output false)
      (plotreference true)
      (plotvalue true)
      (plotinvisibletext false)
      (sketchpadsonfab false)
      (subtractmaskfromsilk false)
      (outputformat 1)
      (mirror false)
      (drillshape 1)
      (scaleselection 1)
      (outputdirectory "")
    )
  )
  (net 0 "")
  (net 1 "Net-(D1-VDD)")
  (net 2 "Net-(D1-DOUT)")
  (net 3 "Net-(D1-DIN)")
  (net 4 "Net-(D2-DOUT)")
  (net 5 "Net-(J1-Pin_1)")
  (net 6 "Net-(J2-Pin_3)")
  (net 7 "Net-(J2-Pin_2)")
  (net 8 "GNDREF")
  (net 9 "Net-(J3-Pin_1)")
  (net 10 "Net-(U1-PA3)")
  (net 11 "Net-(J2-Pin_1)")
  (net 12 "unconnected-(D3-DOUT-Pad2)")
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical" (layer "F.Cu")
    (at 75.692 41.1954 180)
    (descr "Through hole straight pin header, 1x02, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x02 2.54mm single row")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x02, script generated (kicad-library-utils/schlib/autogen/connector/)")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J4" (at 0 -2.33) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x02" (at 0 4.87) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 1.27 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0 180) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 1 "Net-(D1-VDD)") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 2.54 180) (size 1.7 1.7) (drill 1) (layers "*.Cu" "*.Mask")
      (net 8 "GNDREF") (pinfunction "Pin_2") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x02_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attiny84:Pin_1x01_P2.00mm_Vertical" (layer "F.Cu")
    (at 119.5324 37.5204)
    (descr "Through hole straight pin header, 1x01, 2.00mm pitch, single row")
    (tags "Through hole pin header THT 1x01 2.00mm single row")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J6" (at 0 -2.06) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x01_Pin" (at 0 2.06) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0) (size 1.35 1.35) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 8 "GNDREF") (pinfunction "Pin_1") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x01_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (layer "F.Cu")
    (at 112.568234 37.3888 180)
    (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C1" (at 0 -1.85 180) (layer "F.SilkS") hide)
    (fp_text value ".1" (at 0 1.85 180) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 180) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 1 "Net-(D1-VDD)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 8 "GNDREF") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attiny84:LED_SK6812E_PLCC4_3.5x3.5mm_P1.75mm_handsolder" (layer "F.Cu")
    (at 93.7704 40.9204 180)
    (descr "3.5mm x 3.5mm PLCC4 Addressable RGB LED NeoPixel, https://cdn-shop.adafruit.com/product-files/2686/SK6812MINI_REV.01-1-2.pdf")
    (tags "LED RGB NeoPixel Mini PLCC-4 3535")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "RGB LED with integrated controller")
    (property "ki_keywords" "RGB LED NeoPixel addressable")
    (attr smd)
    (fp_text reference "D1" (at -1.4296 2.6204) (layer "F.SilkS"))
    (fp_text value "SK6812" (at -1.4256 3.25) (layer "F.Fab"))
    (fp_text user "1" (at -2.3686 -1.5484 90) (layer "F.SilkS"))
    (fp_text user "v" (at -1.5 -0.3 180 unlocked) (layer "F.Fab"))
    (fp_text user "o" (at -1.55 1.25 180 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (fp_text user "i" (at 0.85 -0.3 180 unlocked) (layer "F.Fab"))
    (fp_text user "g" (at 0.5 1.15 180 unlocked) (layer "F.Fab"))
    (fp_rect (start -1.6 -1.4) (end 1.6 1.4)
      (fill none) (layer "Edge.Cuts"))
    (pad "1" smd rect (at -2.7 -0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "Net-(D1-VDD)") (pinfunction "VDD") (pintype "power_in"))
    (pad "2" smd rect (at -2.7 0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "Net-(D1-DOUT)") (pinfunction "DOUT") (pintype "output"))
    (pad "3" smd roundrect (at 2.7 0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0)
      (chamfer_ratio 0.4) (chamfer bottom_right)
      (net 8 "GNDREF") (pinfunction "VSS") (pintype "power_in"))
    (pad "4" smd rect (at 2.7 -0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 3 "Net-(D1-DIN)") (pinfunction "DIN") (pintype "input"))
    (model "${KICAD7_3DMODEL_DIR}/LED_SMD.3dshapes/LED_SK6812MINI_PLCC4_3.5x3.5mm_P1.75mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder" (layer "F.Cu")
    (at 126.05 37.4904)
    (descr "Resistor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 72, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "resistor handsolder")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Resistor, US symbol")
    (property "ki_keywords" "R res resistor")
    (attr smd)
    (fp_text reference "R1" (at 0 -1.82) (layer "F.SilkS") hide)
    (fp_text value "10K" (at 0 1.82) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.55 0) (size 1.3 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.192308)
      (net 10 "Net-(U1-PA3)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.55 0) (size 1.3 1.75) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.192308)
      (net 5 "Net-(J1-Pin_1)") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Connector_PinHeader_2.54mm:PinHeader_1x01_P2.54mm_Vertical" (layer "F.Cu")
    (at 126.0856 41.5036 -90)
    (descr "Through hole straight pin header, 1x01, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x01 2.54mm single row")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J1" (at 0 -2.33 90) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x01_Pin" (at 0 2.33 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" thru_hole roundrect (at 0 0 270) (size 1.6 1.6) (drill 0.9) (layers "*.Cu" "*.Mask") (roundrect_rratio 0)
      (chamfer_ratio 0.2) (chamfer top_left top_right bottom_left bottom_right)
      (net 5 "Net-(J1-Pin_1)") (pinfunction "Pin_1") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x01_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (layer "F.Cu")
    (at 105.6933 37.3888 180)
    (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C4" (at 0 -1.85 180) (layer "F.SilkS") hide)
    (fp_text value ".1" (at 0 1.85 180) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 180) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 1 "Net-(D1-VDD)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 8 "GNDREF") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attiny84:LED_SK6812E_PLCC4_3.5x3.5mm_P1.75mm_handsolder" (layer "F.Cu")
    (at 110.8308 40.9204 180)
    (descr "3.5mm x 3.5mm PLCC4 Addressable RGB LED NeoPixel, https://cdn-shop.adafruit.com/product-files/2686/SK6812MINI_REV.01-1-2.pdf")
    (tags "LED RGB NeoPixel Mini PLCC-4 3535")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "RGB LED with integrated controller")
    (property "ki_keywords" "RGB LED NeoPixel addressable")
    (attr smd)
    (fp_text reference "D3" (at 1.4838 2.6172) (layer "F.SilkS"))
    (fp_text value "SK6812" (at 2.2172 3.25) (layer "F.Fab"))
    (fp_text user "1" (at -2.377 -1.6246 90) (layer "F.SilkS"))
    (fp_text user "o" (at -1.55 1.25 180 unlocked) (layer "F.Fab"))
    (fp_text user "v" (at -1.5 -0.3 180 unlocked) (layer "F.Fab"))
    (fp_text user "g" (at 0.5 1.15 180 unlocked) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (fp_text user "i" (at 0.85 -0.3 180 unlocked) (layer "F.Fab"))
    (fp_rect (start -1.6 -1.4) (end 1.6 1.4)
      (fill none) (layer "Edge.Cuts"))
    (pad "1" smd rect (at -2.7 -0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "Net-(D1-VDD)") (pinfunction "VDD") (pintype "power_in"))
    (pad "2" smd rect (at -2.7 0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 12 "unconnected-(D3-DOUT-Pad2)") (pinfunction "DOUT") (pintype "output"))
    (pad "3" smd roundrect (at 2.7 0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0)
      (chamfer_ratio 0.4) (chamfer bottom_right)
      (net 8 "GNDREF") (pinfunction "VSS") (pintype "power_in"))
    (pad "4" smd rect (at 2.7 -0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 4 "Net-(D2-DOUT)") (pinfunction "DIN") (pintype "input"))
    (model "${KICAD7_3DMODEL_DIR}/LED_SMD.3dshapes/LED_SK6812MINI_PLCC4_3.5x3.5mm_P1.75mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (layer "F.Cu")
    (at 98.818367 37.3888)
    (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C3" (at 0 -1.85) (layer "F.SilkS") hide)
    (fp_text value ".1" (at 0 1.85) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.5625 0) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 1 "Net-(D1-VDD)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.5625 0) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 8 "GNDREF") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attiny84:Pin_1x01_P2.00mm_Vertical" (layer "F.Cu")
    (at 122.0724 37.5204)
    (descr "Through hole straight pin header, 1x01, 2.00mm pitch, single row")
    (tags "Through hole pin header THT 1x01 2.00mm single row")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x01, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J5" (at 0 -2.06) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x01_Pin" (at 0 2.06) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" thru_hole rect (at 0 0) (size 1.35 1.35) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 1 "Net-(D1-VDD)") (pinfunction "Pin_1") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x01_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 121.4628 40.9204)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H2" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "Package_SO:SOIC-8_3.9x4.9mm_P1.27mm" (layer "F.Cu")
    (at 85.943 39.9204 90)
    (descr "SOIC, 8 Pin (JEDEC MS-012AA, https://www.analog.com/media/en/package-pcb-resources/package/pkg_pdf/soic_narrow-r/r_8.pdf), generated with kicad-footprint-generator ipc_gullwing_generator.py")
    (tags "SOIC SO")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "20MHz, 4kB Flash, 256B SRAM, 128B EEPROM, SOIC-8")
    (property "ki_keywords" "AVR 8bit Microcontroller tinyAVR")
    (attr smd)
    (fp_text reference "U1" (at 0 -3.4 90) (layer "F.SilkS") hide)
    (fp_text value "ATtiny402-SS" (at 0 3.4 90) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 90) (layer "F.Fab"))
    (pad "1" smd roundrect (at -2.475 -1.905 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 1 "Net-(D1-VDD)") (pinfunction "VCC") (pintype "power_in"))
    (pad "2" smd roundrect (at -2.475 -0.635 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 11 "Net-(J2-Pin_1)") (pinfunction "PA6") (pintype "bidirectional"))
    (pad "3" smd roundrect (at -2.475 0.635 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 7 "Net-(J2-Pin_2)") (pinfunction "PA7") (pintype "bidirectional"))
    (pad "4" smd roundrect (at -2.475 1.905 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 6 "Net-(J2-Pin_3)") (pinfunction "PA1") (pintype "bidirectional"))
    (pad "5" smd roundrect (at 2.475 1.905 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 3 "Net-(D1-DIN)") (pinfunction "PA2") (pintype "bidirectional"))
    (pad "6" smd roundrect (at 2.475 0.635 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 9 "Net-(J3-Pin_1)") (pinfunction "~{RESET}/PA0") (pintype "bidirectional"))
    (pad "7" smd roundrect (at 2.475 -0.635 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 10 "Net-(U1-PA3)") (pinfunction "PA3") (pintype "bidirectional"))
    (pad "8" smd roundrect (at 2.475 -1.905 90) (size 1.95 0.6) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
      (net 8 "GNDREF") (pinfunction "GND") (pintype "power_in"))
    (model "${KICAD6_3DMODEL_DIR}/Package_SO.3dshapes/SOIC-8_3.9x4.9mm_P1.27mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attiny84:LED_SK6812E_PLCC4_3.5x3.5mm_P1.75mm_handsolder" (layer "F.Cu")
    (at 102.3006 40.9204 180)
    (descr "3.5mm x 3.5mm PLCC4 Addressable RGB LED NeoPixel, https://cdn-shop.adafruit.com/product-files/2686/SK6812MINI_REV.01-1-2.pdf")
    (tags "LED RGB NeoPixel Mini PLCC-4 3535")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "RGB LED with integrated controller")
    (property "ki_keywords" "RGB LED NeoPixel addressable")
    (attr smd)
    (fp_text reference "D2" (at -0.0106 2.6172) (layer "F.SilkS"))
    (fp_text value "SK6812" (at 0.3958 3.25) (layer "F.Fab"))
    (fp_text user "1" (at -2.4744 -1.5484 90) (layer "F.SilkS"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (fp_text user "g" (at 0.5 1.15 180 unlocked) (layer "F.Fab"))
    (fp_text user "v" (at -1.5 -0.3 180 unlocked) (layer "F.Fab"))
    (fp_text user "o" (at -1.55 1.25 180 unlocked) (layer "F.Fab"))
    (fp_text user "i" (at 0.85 -0.3 180 unlocked) (layer "F.Fab"))
    (fp_rect (start -1.6 -1.4) (end 1.6 1.4)
      (fill none) (layer "Edge.Cuts"))
    (pad "1" smd rect (at -2.7 -0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 1 "Net-(D1-VDD)") (pinfunction "VDD") (pintype "power_in"))
    (pad "2" smd rect (at -2.7 0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 4 "Net-(D2-DOUT)") (pinfunction "DOUT") (pintype "output"))
    (pad "3" smd roundrect (at 2.7 0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0)
      (chamfer_ratio 0.4) (chamfer bottom_right)
      (net 8 "GNDREF") (pinfunction "VSS") (pintype "power_in"))
    (pad "4" smd rect (at 2.7 -0.78 180) (size 1.75 0.85) (layers "F.Cu" "F.Paste" "F.Mask")
      (net 2 "Net-(D1-DOUT)") (pinfunction "DIN") (pintype "input"))
    (model "${KICAD7_3DMODEL_DIR}/LED_SMD.3dshapes/LED_SK6812MINI_PLCC4_3.5x3.5mm_P1.75mm.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "MountingHole:MountingHole_2.2mm_M2" (layer "F.Cu")
    (at 80.264 40.9204)
    (descr "Mounting Hole 2.2mm, no annular, M2")
    (tags "mounting hole 2.2mm no annular m2")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Mounting Hole without connection")
    (property "ki_keywords" "mounting hole")
    (attr exclude_from_pos_files)
    (fp_text reference "H1" (at 0 -3.2) (layer "F.SilkS") hide)
    (fp_text value "MountingHole" (at 0 3.2) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab"))
    (pad "" np_thru_hole circle (at 0 0) (size 2.2 2.2) (drill 2.2) (layers "*.Cu" "*.Mask"))
  )
  (footprint "Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" (layer "F.Cu")
    (at 91.943434 37.3888 180)
    (descr "Capacitor SMD 1206 (3216 Metric), square (rectangular) end terminal, IPC_7351 nominal with elongated pad for handsoldering. (Body size source: IPC-SM-782 page 76, https://www.pcb-3d.com/wordpress/wp-content/uploads/ipc-sm-782a_amendment_1_and_2.pdf), generated with kicad-footprint-generator")
    (tags "capacitor handsolder")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Unpolarized capacitor")
    (property "ki_keywords" "cap capacitor")
    (attr smd)
    (fp_text reference "C2" (at 0 -1.85 180) (layer "F.SilkS") hide)
    (fp_text value ".1" (at 0 1.85 180) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 0 180) (layer "F.Fab"))
    (pad "1" smd roundrect (at -1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 1 "Net-(D1-VDD)") (pintype "passive"))
    (pad "2" smd roundrect (at 1.5625 0 180) (size 1.325 1.8) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.188679)
      (net 8 "GNDREF") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Capacitor_SMD.3dshapes/C_1206_3216Metric.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attiny84:PinHeader_1x03_P2.00mm_Vertical_round" (layer "F.Cu")
    (at 116.9924 37.5204)
    (descr "Through hole straight pin header, 1x03, 2.00mm pitch, single row")
    (tags "Through hole pin header THT 1x03 2.00mm single row")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x03, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J2" (at 0 -2.06) (layer "F.SilkS") hide)
    (fp_text value "Conn_01x03_Pin" (at 0 6.06) (layer "F.Fab"))
    (fp_text user "${REFERENCE}" (at 0 2 90) (layer "F.Fab"))
    (pad "1" thru_hole circle (at 0 0) (size 1.35 1.35) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 11 "Net-(J2-Pin_1)") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" thru_hole oval (at 0 2) (size 1.35 1.35) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 7 "Net-(J2-Pin_2)") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" thru_hole oval (at 0 4) (size 1.35 1.35) (drill 0.8) (layers "*.Cu" "*.Mask")
      (net 6 "Net-(J2-Pin_3)") (pinfunction "Pin_3") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.00mm.3dshapes/PinHeader_1x03_P2.00mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (footprint "attiny84:PinHeader_1x03_P2.54mm_Vertical_smd" (layer "B.Cu")
    (at 89.1032 39.9204 90)
    (descr "Through hole straight pin header, 1x03, 2.54mm pitch, single row")
    (tags "Through hole pin header THT 1x03 2.54mm single row")
    (property "Sheetfile" "attiny402lightsrev.kicad_sch")
    (property "Sheetname" "")
    (property "ki_description" "Generic connector, single row, 01x03, script generated")
    (property "ki_keywords" "connector")
    (attr through_hole)
    (fp_text reference "J3" (at 0 0.3128 90) (layer "B.SilkS") hide)
    (fp_text value "Conn_01x03_Pin" (at 0 -7.41 90) (layer "B.Fab"))
    (fp_text user "${REFERENCE}" (at 0 -4.5572) (layer "B.Fab"))
    (pad "1" smd circle (at 0 0 90) (size 1.5 1.5) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 9 "Net-(J3-Pin_1)") (pinfunction "Pin_1") (pintype "passive"))
    (pad "2" smd circle (at 0 -2.54 90) (size 1.5 1.5) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 8 "GNDREF") (pinfunction "Pin_2") (pintype "passive"))
    (pad "3" smd circle (at 0 -5.08 90) (size 1.5 1.5) (layers "B.Cu" "B.Paste" "B.Mask")
      (net 1 "Net-(D1-VDD)") (pinfunction "Pin_3") (pintype "passive"))
    (model "${KICAD6_3DMODEL_DIR}/Connector_PinHeader_2.54mm.3dshapes/PinHeader_1x03_P2.54mm_Vertical.wrl"
      (offset (xyz 0 0 0))
      (scale (xyz 1 1 1))
      (rotate (xyz 0 0 0))
    )
  )
  (gr_rect (start 74.3458 36.1612) (end 128.5732 43.6796)
    (fill none) (layer "Edge.Cuts"))
  (gr_text "PA1" (at 116.1288 42.1386) (layer "B.SilkS"))
  (gr_text "GND" (at 120.8532 39.3446) (layer "B.SilkS"))
  (gr_text "PA6" (at 116.2812 38.227) (layer "B.SilkS"))
  (gr_text "UPDI" (at 89.6112 36.2204 90) (layer "B.SilkS"))
  (gr_text "-" (at 78.3844 39.1668) (layer "B.SilkS"))
  (gr_text "VCC" (at 84.582 36.6776 90) (layer "B.SilkS"))
  (gr_text "VCC" (at 123.317 39.3446) (layer "B.SilkS"))
  (gr_text "ATTINY402 SK6812 (neopixel) class" (at 113.3094 37.6428) (layer "B.SilkS"))
  (gr_text "PA7" (at 116.1542 40.132) (layer "B.SilkS"))
  (gr_text "GND" (at 87.1728 36.4744 90) (layer "B.SilkS"))
  (gr_text "+" (at 78.3844 41.7068) (layer "B.SilkS"))
  (gr_text "AT 402" (at 84.05 40.85) (layer "F.SilkS"))
  (gr_text "t" (at 84.65 39.15) (layer "F.SilkS"))
  (gr_text "touch" (at 123.2662 43.5864) (layer "F.SilkS"))
  (gr_text "R" (at 125.5014 38.0746) (layer "F.SilkS"))
  (gr_text "VCC" (at 74.3966 43.6118) (layer "F.SilkS"))
  (gr_text "+" (at 96.3 43.45) (layer "F.SilkS"))
  (gr_text "C" (at 98.3234 37.9222) (layer "F.SilkS"))
  (gr_text "C" (at 112.0648 37.9984) (layer "F.SilkS"))
  (gr_text "+" (at 105.05 43.45) (layer "F.SilkS"))
  (gr_text "GND" (at 74.2188 37.2364) (layer "F.SilkS"))
  (gr_text "C" (at 105.2068 37.9984) (layer "F.SilkS"))
  (gr_text "C" (at 91.3638 38.0238) (layer "F.SilkS"))
  (gr_text "+" (at 113.45 43.45) (layer "F.SilkS"))
  (zone (net 8) (net_name "GNDREF") (layers "F&B.Cu") (hatch edge 0.5)
    (connect_pads (clearance 0.508))
    (min_thickness 0.25) (filled_areas_thickness no)
    (fill yes (thermal_gap 0.5) (thermal_bridge_width 0.5) (island_removal_mode 2) (island_area_min 10))
    (polygon
      (pts
        (xy 74.4474 36.322)
        (xy 128.2192 36.4236)
        (xy 128.1938 43.3832)
        (xy 74.3712 43.307)
      )
    )
  )
)
