(kicad_symbol_lib (version 20220914) (generator kicad_symbol_editor)
  (symbol "+3.3V-power" (power) (pin_names (offset 0)) (in_bom yes) (on_board yes)
    (property "Reference" "#PWR" (at 0 -3.81 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Value" "+3.3V-power" (at 0 3.556 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "+3.3V-power_0_1"
      (polyline
        (pts
          (xy -0.762 1.27)
          (xy 0 2.54)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 0 0)
          (xy 0 2.54)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 0 2.54)
          (xy 0.762 1.27)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
    )
    (symbol "+3.3V-power_1_1"
      (pin power_in line (at 0 0 90) (length 0) hide
        (name "+3V3" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "74166-74xx_IEEE" (pin_names (offset 0.762)) (in_bom yes) (on_board yes)
    (property "Reference" "U" (at 8.89 17.78 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "74xx_IEEE_74166" (at 7.62 -22.86 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "74166-74xx_IEEE_0_0"
      (rectangle (start -6.35 -19.05) (end -6.35 -19.05)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 -19.05) (end 6.35 -21.59)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 -16.51) (end 6.35 -19.05)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 -13.97) (end 6.35 -16.51)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 -11.43) (end 6.35 -13.97)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 -8.89) (end 6.35 -11.43)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 -6.35) (end 6.35 -8.89)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 -3.81) (end 6.35 -6.35)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (rectangle (start -6.35 1.27) (end 6.35 -3.81)
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -4.318 5.08)
          (xy -3.556 5.842)
          (xy -3.556 5.842)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -4.318 6.858)
          (xy -3.556 6.096)
          (xy -4.318 5.334)
          (xy -4.318 5.334)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy 0 7.62)
          (xy 1.27 6.35)
          (xy 0 5.08)
          (xy 0 5.08)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -6.35 8.89)
          (xy 0 8.89)
          (xy 0 2.54)
          (xy -1.27 2.54)
          (xy -1.27 1.27)
          (xy -1.27 1.27)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -5.08 1.27)
          (xy -5.08 2.54)
          (xy -6.35 2.54)
          (xy -6.35 16.51)
          (xy 6.35 16.51)
          (xy 6.35 2.54)
          (xy 5.08 2.54)
          (xy 5.08 1.27)
          (xy 5.08 1.27)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (text "1" (at -2.286 6.096 0)
        (effects (font (size 1.524 1.524)))
      )
    )
    (symbol "74166-74xx_IEEE_0_1"
      (pin power_in line (at 1.27 16.51 270) (length 0) hide
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "74166-74xx_IEEE_1_1"
      (pin input line (at -13.97 0 0) (length 7.62)
        (name "SER" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -12.7 0) (length 7.62)
        (name "E" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -15.24 0) (length 7.62)
        (name "F" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -17.78 0) (length 7.62)
        (name "G" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin tri_state line (at 13.97 -20.32 180) (length 7.62)
        (name "QH" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -20.32 0) (length 7.62)
        (name "H" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 11.43 0) (length 7.62)
        (name "SH" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 16.51 270) (length 0) hide
        (name "VCC" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -2.54 0) (length 7.62)
        (name "A" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -5.08 0) (length 7.62)
        (name "B" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -7.62 0) (length 7.62)
        (name "C" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 -10.16 0) (length 7.62)
        (name "D" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -13.97 7.62 0) (length 7.62)
        (name "CLK_Inh" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin input clock (at -13.97 5.08 0) (length 7.62)
        (name "CLK" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin input inverted (at -11.43 13.97 0) (length 7.62)
        (name "~{R}" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "ATmega8A-PU-MCU_Microchip_ATmega" (in_bom yes) (on_board yes)
    (property "Reference" "U" (at -12.7 34.29 0)
      (effects (font (size 1.27 1.27)) (justify left bottom))
    )
    (property "Value" "MCU_Microchip_ATmega_ATmega8A-PU" (at 5.08 -34.29 0)
      (effects (font (size 1.27 1.27)) (justify left top))
    )
    (property "Footprint" "Package_DIP:DIP-28_W7.62mm" (at 0 0 0)
      (effects (font (size 1.27 1.27) italic) hide)
    )
    (property "Datasheet" "" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "DIP*W7.62mm*" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "ATmega8A-PU-MCU_Microchip_ATmega_0_1"
      (rectangle (start -12.7 -33.02) (end 12.7 33.02)
        (stroke (width 0.254) (type solid))
        (fill (type background))
      )
    )
    (symbol "ATmega8A-PU-MCU_Microchip_ATmega_1_1"
      (pin bidirectional line (at -15.24 27.94 0) (length 2.54)
        (name "PC6/~{RESET}" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 2.54)
        (name "PB7/XTAL2" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -20.32 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -22.86 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -25.4 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 27.94 180) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 25.4 180) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 22.86 180) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 20.32 180) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 17.78 180) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -7.62 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 35.56 270) (length 2.54)
        (name "AVCC" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -15.24 12.7 0) (length 2.54)
        (name "AREF" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -35.56 90) (length 2.54)
        (name "AGND" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -10.16 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -12.7 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -15.24 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -17.78 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 35.56 270) (length 2.54)
        (name "VCC" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -35.56 90) (length 2.54)
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 22.86 0) (length 2.54)
        (name "PB6/XTAL1" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "CP1_Small-Device" (pin_numbers hide) (pin_names (offset 0.254) hide) (in_bom yes) (on_board yes)
    (property "Reference" "C" (at 0.254 1.778 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "Device_CP1_Small" (at 0.254 -2.032 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "CP_*" (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "CP1_Small-Device_0_1"
      (polyline
        (pts
          (xy -1.524 0.508)
          (xy 1.524 0.508)
        )
        (stroke (width 0.3048) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -1.27 1.524)
          (xy -0.762 1.524)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (polyline
        (pts
          (xy -1.016 1.27)
          (xy -1.016 1.778)
        )
        (stroke (width 0) (type solid))
        (fill (type none))
      )
      (arc (start 1.524 -0.762) (mid 0 -0.3734) (end -1.524 -0.762)
        (stroke (width 0.3048) (type solid))
        (fill (type none))
      )
    )
    (symbol "CP1_Small-Device_1_1"
      (pin passive line (at 0 2.54 270) (length 2.032)
        (name "~" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at 0 -2.54 90) (length 2.032)
        (name "~" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
    )
  )
)
