<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.1">
<drawing>
<schematic>
<libraries>
<library name="atmel">
<description>&lt;b&gt;AVR Devices&lt;/b&gt;&lt;p&gt;
Configurable logic, microcontrollers, nonvolatile memories&lt;p&gt;

based on the original libraries:
&lt;ul&gt;
&lt;li&gt;&lt;i&gt;atmel.lbr&lt;/i&gt;  (created and revised by &lt;author&gt;librarian@cadsoft.de&lt;/author&gt; ), based on the following sources:
  &lt;ul&gt;
  &lt;li&gt;www.atmel.com
  &lt;li&gt;CD-ROM : Configurable Logic Microcontroller Nonvolatile Memory
  &lt;li&gt;CadSoft download site, www.cadsoft.de or www.cadsoftusa.com , file at90smcu_v400.zip
  &lt;li&gt;avr.lbr
&lt;/ul&gt;
&lt;li&gt;&lt;i&gt;Atmel_By_element14_Batch_1-00.lbr&lt;/i&gt;
&lt;/ul&gt;&lt;br&gt;

These libraries are rearanged by &lt;author&gt;kylie&lt;/author&gt; because
&lt;ul&gt;
&lt;li&gt;elimination of package doubles (same layout, but different names)
&lt;li&gt;unification/renaming of symbols, packages
&lt;li&gt;renaming of packages to most commonly used names/codes, if possible according to JEDEC
&lt;li&gt;elimination of power pins in symbols; power supply symbol (VCC,GND) in devices added
&lt;li&gt;in case of multiple power supply pads in devices: update to APPEND-mode
&lt;/ul&gt;

The author do not warrant that this library is free from error or will meet your specific requirements.&lt;p&gt;&lt;br&gt;

&lt;b&gt;Updates:&lt;/b&gt;&lt;p&gt;
&lt;p&gt;
25.04.2019:
&lt;ul&gt;
  &lt;li&gt;ATmega164/324/644/1284,  ATmega165/325/645/3250/6450,  ATmega169/329/649/3290/6490 devices revised
&lt;/ul&gt;
24.03.2019:
&lt;ul&gt;
  &lt;li&gt;ATmega103 device revised
  &lt;li&gt;ATmega48(P,PV,A,PA)/88(P,PV,A,PA)/168(P,PV,A,PA), ATmega48PB/88PB/168PB/328(P), ATmega328PB devices added
&lt;/ul&gt;
17.03.2019:
&lt;ul&gt;
  &lt;li&gt;QFP packages revised: land pattern according to Miccrochip AN 8826 &lt;i&gt;Atmel-8826B-SEEPROM-PCB-Mounting-Guidelines-Surface-Mount-Packages-ApplicationNote.pdf&lt;/i&gt;
  &lt;li&gt;ATmega8(L,A), ATmega16(L,A), ATmega32(L,A), ATmega64(L,A), ATmega128(L,A), ATmega48(V)/88(V)/168(V) devices revised
&lt;/ul&gt;
06.03.2019:
&lt;ul&gt;
  &lt;li&gt;land pattern of packages
  &lt;ul&gt;
    &lt;li&gt;QFN20_3X3_0.40, QFN20_3X3_0.45, QFN20_4X4_0.50, QFN20_5X5_0.65, QFN24_4X4_0.50, QFN28_4X4_0.45, QFN32_5X5_0.50, QFN44_7X7_0.50, QFN64_9X9_0.50
    &lt;li&gt;DFN8_2x2, DFN8_2x3, DFN10_3X3
    &lt;li&gt;BGA 15CC1, 32CC1
  &lt;/ul&gt;revised (see Miccrochip AN 8826 &lt;i&gt;Atmel-8826B-SEEPROM-PCB-Mounting-Guidelines-Surface-Mount-Packages-ApplicationNote.pdf&lt;/i&gt;)
&lt;/ul&gt;&lt;p&gt;
02.2019:
&lt;ul&gt;
  &lt;li&gt;ATtiny devices revised
  &lt;li&gt;tiny-0-series devices added
&lt;/ul&gt;
03.2018:
&lt;ul&gt;
  &lt;li&gt;tiny-1-series devices added
  &lt;li&gt;programming interfaces (UPDI, MISO/MOSI) in various packages added
&lt;/ul&gt;

&lt;p&gt;&lt;br&gt;
&lt;b&gt;Useful links:&lt;/b&gt;&lt;p&gt;
&lt;p&gt;
&lt;a href="https://en.wikipedia.org/wiki/ATtiny_microcontroller_comparison_chart"&gt;WIKIPEDIA ATtiny microcontroller comparison chart&lt;/a&gt;&lt;p&gt;</description>
<packages>
<package name="QFN20_3X3_0.40">
<description>
&lt;b&gt;20-Lead Plastic QFN&lt;/b&gt;,  3mm x 3mm body, 0.4mm lead pitch, exposed pad&lt;p&gt;
Microchip Code: ZCL
</description>
</package>
<package name="SO20W">
<description>
&lt;B&gt;Small Outline IC&lt;/B&gt;, 300mil body width, 50mil lead pitch&lt;p&gt;
package/pad dimensions according to IPC-SM-782, RLP No. 306A&lt;p&gt;
JEDEC: MS-013 AC&lt;br&gt;
IPC: SO20W&lt;p&gt;
other notations: SO-20W, SOIC20W, SOIC-20W
</description>
</package>
</packages>
<symbols>
<symbol name="TINY816">
<description>
AVR tiny-1-series Attiny416/816/1616/3216
</description>
<pin name="(AINP1/AIN8/CLKOUT)PB5"/>
<pin name="(AINN1/AIN9)PB4"/>
<pin name="PB3(TOSC1/RXD)"/>
<pin name="PB2(TOSC2/EVOUT1/TXD/TCA0WO2)"/>
<pin name="(TCA0WO1/SDA/XCK/AIN10)PB1"/>
<pin name="(TCA0WO0/SCL/XDIR/AIN11)PB0"/>
<pin name="(LUT1-OUT/AINP0/AIN7)PA7"/>
<pin name="(DAC0OUT/AINN0/AIN6)PA6"/>
<pin name="(TCD0WOB/TCB0WO/TCA0WO5/AC0OUT/AIN5)PA5"/>
<pin name="(LUT0-OUT/TCD0WOA/TCA0WO4/!SS!/AIN4)PA4"/>
<pin name="(TCA0WO3/SCK/AIN3/EXTCLK)PA3"/>
<pin name="(LUT0-IN2/MISO/AIN2/EVOUT0)PA2"/>
<pin name="(LUT0-IN1/MOSI/AIN1/BREAK)PA1"/>
<pin name="PA0(!RESET!/UPDI/AIN0/LUT0-IN0)"/>
<pin name="PC3(LUT1-IN0)"/>
<pin name="PC2(EVOUT2)"/>
<pin name="PC1(TCD0WOD)"/>
<pin name="PC0(TCD0WOC)"/>
</symbol>
<symbol name="PWR">
<pin name="GND" direction="pwr"/>
<pin name="VCC" direction="pwr"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="ATTINY*16" prefix="IC">
<description>
8-bit &lt;b&gt;AVR tiny-1-series Microcontroller&lt;/b&gt;&lt;p&gt;
CPU: two-cycle hardware multiplier&lt;br&gt;
single pin Unified Program Debug Interface (UPDI)&lt;br&gt;
programmable watchdog timer with separate on-chip oscillator&lt;br&gt;
programmable brown-out detection circuit with software disable function&lt;br&gt;
internal calibrated oscillator&lt;p&gt;

&lt;table border="1" cellpadding="3" cellspacing="0"&gt;
  &lt;tr&gt;
    &lt;td&gt;Status&lt;/td&gt;
    &lt;td bgcolor="lightgreen"&gt;aktiv&lt;/td&gt;
    &lt;td bgcolor="lightgreen"&gt;aktiv&lt;/td&gt;
    &lt;td bgcolor="lightgreen"&gt;aktiv&lt;/td&gt;
    &lt;td bgcolor="lightgreen"&gt;aktiv&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr bgcolor="#EBEBEB"&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td align="center"&gt;ATtiny416&lt;/td&gt;
    &lt;td align="center"&gt;ATtiny816&lt;/td&gt;
    &lt;td align="center"&gt;ATtiny1616&lt;/td&gt;
    &lt;td align="center"&gt;ATtiny3216&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;General purpose working registers&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;32&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;SRAM&lt;/td&gt;
    &lt;td align="right"&gt;256 B&lt;/td&gt;
    &lt;td align="right"&gt;512 B&lt;/td&gt;
    &lt;td align="right"&gt;2 kB&lt;/td&gt;
    &lt;td align="right"&gt;2 kB&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Program flash memory&lt;/td&gt;
    &lt;td align="right"&gt;4 kB&lt;/td&gt;
    &lt;td align="right"&gt;8 kB&lt;/td&gt;
    &lt;td align="right"&gt;16 kB&lt;/td&gt;
    &lt;td align="right"&gt;32 kB&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;EEPROM&lt;/td&gt;
    &lt;td align="right"&gt;128B&lt;/td&gt;
    &lt;td align="right"&gt;128B&lt;/td&gt;
    &lt;td align="right"&gt;256B&lt;/td&gt;
    &lt;td align="right"&gt;256B&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;16-bit Timer/Counter type A (TCA)&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;16-bit Timer/Counter type B (TCB)&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;1&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;12-bit Timer/Counter type D (TCD)&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Real Time Counter (RTC)&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;USART&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;SPI&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;TWI (I2C)&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ADC&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;1&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ADC channels&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;12&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;12+8&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;ADC resolution&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;10 bit&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;DAC&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;1&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;3&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;AC&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;1&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;3&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Peripheral Touch Controller (PTC)&lt;/td&gt;
    &lt;td align="center"&gt;-&lt;/td&gt;
    &lt;td colspan="3" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PTC number of self-capacitance channels&lt;/td&gt;
    &lt;td align="center"&gt;-&lt;/td&gt;
    &lt;td align="center"&gt;6&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;12&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PTC number of mutual-capacitance channels&lt;/td&gt;
    &lt;td align="center"&gt;-&lt;/td&gt;
    &lt;td align="center"&gt;9&lt;/td&gt;
    &lt;td colspan="2" align="center"&gt;36&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Custom Configurable Logic/Lookup tables&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1/2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Window Watchdog&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Event System channels&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;6&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;General purpose I/O&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;18&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;External interrupts&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;18&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;CRCSCAN&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;Operating voltage&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;1.8 ... 5.5 V&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td rowspan="3"&gt;Speed grade&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;0 ... 5 MHz @ 1.8 ... 5.5 V&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;0 ... 10 MHz @ 2.7 ... 5.5 V&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;0 ... 20 MHz @ 4.5 ... 5.5 V&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td rowspan="4"&gt;Clock options&lt;/td&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;internal 16/20 MHz low power RC oscillator&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;internal 32.768 kHz ultra low power RC oscillator&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;external 32.768 kHz low-frequency crystal oscillator&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td colspan="4" align="center"&gt;&lt;nobr&gt;external clock input&lt;/nobr&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;

&lt;p&gt;

&lt;table border="1" cellpadding="3" cellspacing="0"&gt;
  &lt;tr bgcolor="#EBEBEB"&gt;
    &lt;td&gt;Pin Name&lt;/td&gt;
    &lt;td&gt;Other/Special&lt;/td&gt;
    &lt;td&gt;ADC0&lt;/td&gt;
    &lt;td&gt;ADC1&lt;/td&gt;
    &lt;td&gt;PTC&lt;/td&gt;
    &lt;td&gt;AC0&lt;/td&gt;
    &lt;td&gt;AC1&lt;/td&gt;
    &lt;td&gt;AC2&lt;/td&gt;
    &lt;td&gt;DAC0&lt;/td&gt;
    &lt;td&gt;USART0&lt;/td&gt;
    &lt;td&gt;SPI0&lt;/td&gt;
    &lt;td&gt;TWI0&lt;/td&gt;
    &lt;td&gt;TCA0&lt;/td&gt;
    &lt;td&gt;TCBn&lt;/td&gt;
    &lt;td&gt;TCD0&lt;/td&gt;
    &lt;td&gt;CCL&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA0&lt;/td&gt;
    &lt;td&gt;!RESET, UPDI&lt;/td&gt;
    &lt;td&gt;AIN0&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;LUT0-IN0&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA1&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AIN1&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;TxD&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;MOSI&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;SDA&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;LUT0-IN1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA2&lt;/td&gt;
    &lt;td&gt;EVOUT0&lt;/td&gt;
    &lt;td&gt;AIN2&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;RxD&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;MISO&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;SCL&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;LUT0-IN2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA3&lt;/td&gt;
    &lt;td&gt;EXTCLK&lt;/td&gt;
    &lt;td&gt;AIN3&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;XCK&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;SCK&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;WO3&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;TCB1 WO&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA4&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AIN4&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN0&lt;/td&gt;
    &lt;td bgcolor="#CCFFFF"&gt;X0/Y0&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;XDIR&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;!SS&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;WO4&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;WOA&lt;/td&gt;
    &lt;td&gt;LUT0-OUT&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA5&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;VREFA&lt;/td&gt;
    &lt;td&gt;AIN5&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN1&lt;/td&gt;
    &lt;td bgcolor="#CCFFFF"&gt;X1/Y1&lt;/td&gt;
    &lt;td&gt;OUT&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINN0&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;WO5&lt;/td&gt;
    &lt;td&gt;TCB0 WO&lt;/td&gt;
    &lt;td&gt;WOB&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA6&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AIN6&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN2&lt;/td&gt;
    &lt;td bgcolor="#CCFFFF"&gt;X2/Y2&lt;/td&gt;
    &lt;td&gt;AINN0&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINP1&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINP0&lt;/td&gt;
    &lt;td&gt;OUT&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PA7&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AIN7&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN3&lt;/td&gt;
    &lt;td bgcolor="#CCFFFF"&gt;X3/Y3&lt;/td&gt;
    &lt;td&gt;AINP0&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINP0&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINN0&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;LUT1-OUT&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PB5&lt;/td&gt;
    &lt;td&gt;CLKOUT&lt;/td&gt;
    &lt;td&gt;AIN8&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AINP1&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINP2&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;WO2&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PB4&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AIN9&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AINN1&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINP3&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;WO1&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;LUT0-OUT&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PB3&lt;/td&gt;
    &lt;td&gt;TOSC1&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;OUT&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;RxD&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;WO0&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PB2&lt;/td&gt;
    &lt;td&gt;TOSC2, EVOUT1&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;OUT&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;TxD&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;WO2&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PB1&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AIN10&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#CCFFFF"&gt;X4/Y4&lt;/td&gt;
    &lt;td&gt;AINP2&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;XCK&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;SDA&lt;/td&gt;
    &lt;td&gt;WO1&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PB0&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;AIN11&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#CCFFFF"&gt;X5/Y5&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINP2&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AINP1&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;XDIR&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;SCL&lt;/td&gt;
    &lt;td&gt;WO0&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PC0&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN6&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;SCK&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;TCB0 WO&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;WOC&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PC1&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN7&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;MISO&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;WOD&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;LUT1-OUT&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PC2&lt;/td&gt;
    &lt;td&gt;EVOUT2&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN8&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;MOSI&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;PC3&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;AIN9&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;!SS&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;font color="gray"&gt;&lt;i&gt;WO3&lt;/i&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;LUT1-IN0&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td bgcolor="#CCFFFF"&gt;&lt;/td&gt;
    &lt;td colspan="15"&gt;only available in devices with 8/16/32KByte flash, X- or Y-line&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td bgcolor="#D9FFD9"&gt;&lt;/td&gt;
    &lt;td colspan="15"&gt;only available in device ATtiny1616/ATtiny3216&lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;
</description>
<gates>
<gate name="G$1" symbol="TINY816"/>
<gate name="P" symbol="PWR"/>
</gates>
<devices>
<device name="-MN" package="QFN20_3X3_0.40">
<connects>
<connect gate="G$1" pin="(AINN1/AIN9)PB4" pad="10"/>
<connect gate="G$1" pin="(AINP1/AIN8/CLKOUT)PB5" pad="9"/>
<connect gate="G$1" pin="(DAC0OUT/AINN0/AIN6)PA6" pad="7"/>
<connect gate="G$1" pin="(LUT0-IN1/MOSI/AIN1/BREAK)PA1" pad="20"/>
<connect gate="G$1" pin="(LUT0-IN2/MISO/AIN2/EVOUT0)PA2" pad="1"/>
<connect gate="G$1" pin="(LUT0-OUT/TCD0WOA/TCA0WO4/!SS!/AIN4)PA4" pad="5"/>
<connect gate="G$1" pin="(LUT1-OUT/AINP0/AIN7)PA7" pad="8"/>
<connect gate="G$1" pin="(TCA0WO0/SCL/XDIR/AIN11)PB0" pad="14"/>
<connect gate="G$1" pin="(TCA0WO1/SDA/XCK/AIN10)PB1" pad="13"/>
<connect gate="G$1" pin="(TCA0WO3/SCK/AIN3/EXTCLK)PA3" pad="2"/>
<connect gate="G$1" pin="(TCD0WOB/TCB0WO/TCA0WO5/AC0OUT/AIN5)PA5" pad="6"/>
<connect gate="G$1" pin="PA0(!RESET!/UPDI/AIN0/LUT0-IN0)" pad="19"/>
<connect gate="G$1" pin="PB2(TOSC2/EVOUT1/TXD/TCA0WO2)" pad="12"/>
<connect gate="G$1" pin="PB3(TOSC1/RXD)" pad="11"/>
<connect gate="G$1" pin="PC0(TCD0WOC)" pad="15"/>
<connect gate="G$1" pin="PC1(TCD0WOD)" pad="16"/>
<connect gate="G$1" pin="PC2(EVOUT2)" pad="17"/>
<connect gate="G$1" pin="PC3(LUT1-IN0)" pad="18"/>
<connect gate="P" pin="GND" pad="3"/>
<connect gate="P" pin="VCC" pad="4"/>
</connects>
<technologies>
<technology name="16"/>
<technology name="32"/>
<technology name="4"/>
<technology name="8"/>
</technologies>
</device>
<device name="-MF" package="QFN20_3X3_0.40">
<connects>
<connect gate="G$1" pin="(AINN1/AIN9)PB4" pad="10"/>
<connect gate="G$1" pin="(AINP1/AIN8/CLKOUT)PB5" pad="9"/>
<connect gate="G$1" pin="(DAC0OUT/AINN0/AIN6)PA6" pad="7"/>
<connect gate="G$1" pin="(LUT0-IN1/MOSI/AIN1/BREAK)PA1" pad="20"/>
<connect gate="G$1" pin="(LUT0-IN2/MISO/AIN2/EVOUT0)PA2" pad="1"/>
<connect gate="G$1" pin="(LUT0-OUT/TCD0WOA/TCA0WO4/!SS!/AIN4)PA4" pad="5"/>
<connect gate="G$1" pin="(LUT1-OUT/AINP0/AIN7)PA7" pad="8"/>
<connect gate="G$1" pin="(TCA0WO0/SCL/XDIR/AIN11)PB0" pad="14"/>
<connect gate="G$1" pin="(TCA0WO1/SDA/XCK/AIN10)PB1" pad="13"/>
<connect gate="G$1" pin="(TCA0WO3/SCK/AIN3/EXTCLK)PA3" pad="2"/>
<connect gate="G$1" pin="(TCD0WOB/TCB0WO/TCA0WO5/AC0OUT/AIN5)PA5" pad="6"/>
<connect gate="G$1" pin="PA0(!RESET!/UPDI/AIN0/LUT0-IN0)" pad="19"/>
<connect gate="G$1" pin="PB2(TOSC2/EVOUT1/TXD/TCA0WO2)" pad="12"/>
<connect gate="G$1" pin="PB3(TOSC1/RXD)" pad="11"/>
<connect gate="G$1" pin="PC0(TCD0WOC)" pad="15"/>
<connect gate="G$1" pin="PC1(TCD0WOD)" pad="16"/>
<connect gate="G$1" pin="PC2(EVOUT2)" pad="17"/>
<connect gate="G$1" pin="PC3(LUT1-IN0)" pad="18"/>
<connect gate="P" pin="GND" pad="3"/>
<connect gate="P" pin="VCC" pad="4"/>
</connects>
<technologies>
<technology name="16"/>
<technology name="32"/>
<technology name="4"/>
<technology name="8"/>
</technologies>
</device>
<device name="-SN" package="SO20W">
<connects>
<connect gate="G$1" pin="(AINN1/AIN9)PB4" pad="7"/>
<connect gate="G$1" pin="(AINP1/AIN8/CLKOUT)PB5" pad="6"/>
<connect gate="G$1" pin="(DAC0OUT/AINN0/AIN6)PA6" pad="4"/>
<connect gate="G$1" pin="(LUT0-IN1/MOSI/AIN1/BREAK)PA1" pad="17"/>
<connect gate="G$1" pin="(LUT0-IN2/MISO/AIN2/EVOUT0)PA2" pad="18"/>
<connect gate="G$1" pin="(LUT0-OUT/TCD0WOA/TCA0WO4/!SS!/AIN4)PA4" pad="2"/>
<connect gate="G$1" pin="(LUT1-OUT/AINP0/AIN7)PA7" pad="5"/>
<connect gate="G$1" pin="(TCA0WO0/SCL/XDIR/AIN11)PB0" pad="11"/>
<connect gate="G$1" pin="(TCA0WO1/SDA/XCK/AIN10)PB1" pad="10"/>
<connect gate="G$1" pin="(TCA0WO3/SCK/AIN3/EXTCLK)PA3" pad="19"/>
<connect gate="G$1" pin="(TCD0WOB/TCB0WO/TCA0WO5/AC0OUT/AIN5)PA5" pad="3"/>
<connect gate="G$1" pin="PA0(!RESET!/UPDI/AIN0/LUT0-IN0)" pad="16"/>
<connect gate="G$1" pin="PB2(TOSC2/EVOUT1/TXD/TCA0WO2)" pad="9"/>
<connect gate="G$1" pin="PB3(TOSC1/RXD)" pad="8"/>
<connect gate="G$1" pin="PC0(TCD0WOC)" pad="12"/>
<connect gate="G$1" pin="PC1(TCD0WOD)" pad="13"/>
<connect gate="G$1" pin="PC2(EVOUT2)" pad="14"/>
<connect gate="G$1" pin="PC3(LUT1-IN0)" pad="15"/>
<connect gate="P" pin="GND" pad="20"/>
<connect gate="P" pin="VCC" pad="1"/>
</connects>
<technologies>
<technology name="16"/>
<technology name="32"/>
<technology name="4"/>
<technology name="8"/>
</technologies>
</device>
<device name="-SF" package="SO20W">
<connects>
<connect gate="G$1" pin="(AINN1/AIN9)PB4" pad="7"/>
<connect gate="G$1" pin="(AINP1/AIN8/CLKOUT)PB5" pad="6"/>
<connect gate="G$1" pin="(DAC0OUT/AINN0/AIN6)PA6" pad="4"/>
<connect gate="G$1" pin="(LUT0-IN1/MOSI/AIN1/BREAK)PA1" pad="17"/>
<connect gate="G$1" pin="(LUT0-IN2/MISO/AIN2/EVOUT0)PA2" pad="18"/>
<connect gate="G$1" pin="(LUT0-OUT/TCD0WOA/TCA0WO4/!SS!/AIN4)PA4" pad="2"/>
<connect gate="G$1" pin="(LUT1-OUT/AINP0/AIN7)PA7" pad="5"/>
<connect gate="G$1" pin="(TCA0WO0/SCL/XDIR/AIN11)PB0" pad="11"/>
<connect gate="G$1" pin="(TCA0WO1/SDA/XCK/AIN10)PB1" pad="10"/>
<connect gate="G$1" pin="(TCA0WO3/SCK/AIN3/EXTCLK)PA3" pad="19"/>
<connect gate="G$1" pin="(TCD0WOB/TCB0WO/TCA0WO5/AC0OUT/AIN5)PA5" pad="3"/>
<connect gate="G$1" pin="PA0(!RESET!/UPDI/AIN0/LUT0-IN0)" pad="16"/>
<connect gate="G$1" pin="PB2(TOSC2/EVOUT1/TXD/TCA0WO2)" pad="9"/>
<connect gate="G$1" pin="PB3(TOSC1/RXD)" pad="8"/>
<connect gate="G$1" pin="PC0(TCD0WOC)" pad="12"/>
<connect gate="G$1" pin="PC1(TCD0WOD)" pad="13"/>
<connect gate="G$1" pin="PC2(EVOUT2)" pad="14"/>
<connect gate="G$1" pin="PC3(LUT1-IN0)" pad="15"/>
<connect gate="P" pin="GND" pad="20"/>
<connect gate="P" pin="VCC" pad="1"/>
</connects>
<technologies>
<technology name="16"/>
<technology name="32"/>
<technology name="4"/>
<technology name="8"/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="fablib2020">
<packages>
<package name="C1206">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
<package name="C1206FAB">
</package>
<package name="C2220">
<description>&lt;b&gt;CAPACITOR&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="CAP-NONPOLARIZED">
<description>non-polarized capacitor</description>
<pin name="1" direction="pas"/>
<pin name="2" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="CAP_UNPOLARIZED" prefix="C" uservalue="yes">
<gates>
<gate name="&gt;NAME" symbol="CAP-NONPOLARIZED"/>
</gates>
<devices>
<device name="" package="C1206">
<connects>
<connect gate="&gt;NAME" pin="1" pad="1"/>
<connect gate="&gt;NAME" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="FAB" package="C1206FAB">
<connects>
<connect gate="&gt;NAME" pin="1" pad="1"/>
<connect gate="&gt;NAME" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="2220" package="C2220">
<connects>
<connect gate="&gt;NAME" pin="1" pad="1"/>
<connect gate="&gt;NAME" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="fab">
<packages>
<package name="1X06SMD">
</package>
<package name="R1206">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;</description>
</package>
<package name="R1206W">
<description>&lt;b&gt;RESISTOR&lt;/b&gt;&lt;p&gt;
wave soldering</description>
</package>
<package name="R1206FAB">
</package>
<package name="LED1206">
<description>LED 1206 pads (standard pattern)</description>
</package>
<package name="LED1206FAB">
<description>LED1206 FAB style (smaller pads to allow trace between)</description>
</package>
<package name="5MM">
<description>5mm round through hole part.</description>
</package>
<package name="6MM_SWITCH">
<description>&lt;b&gt;OMRON SWITCH&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="FTDI">
<pin name="GND"/>
<pin name="CTS"/>
<pin name="VCC"/>
<pin name="TXD"/>
<pin name="RXD"/>
<pin name="RTS"/>
</symbol>
<symbol name="R-US">
<pin name="2" direction="pas"/>
<pin name="1" direction="pas"/>
</symbol>
<symbol name="LED">
<description>LED</description>
<pin name="C" direction="pas"/>
<pin name="A" direction="pas"/>
</symbol>
<symbol name="TS2">
<pin name="P" direction="pas"/>
<pin name="S" direction="pas"/>
<pin name="S1" direction="pas"/>
<pin name="P1" direction="pas"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="FTDI-SMD-HEADER">
<gates>
<gate name="G$1" symbol="FTDI"/>
</gates>
<devices>
<device name="" package="1X06SMD">
<connects>
<connect gate="G$1" pin="CTS" pad="2"/>
<connect gate="G$1" pin="GND" pad="1"/>
<connect gate="G$1" pin="RTS" pad="6"/>
<connect gate="G$1" pin="RXD" pad="5"/>
<connect gate="G$1" pin="TXD" pad="4"/>
<connect gate="G$1" pin="VCC" pad="3"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="RES-US" prefix="R" uservalue="yes">
<description>&lt;b&gt;Resistor (US Symbol)&lt;/b&gt;
&lt;p&gt;
Variants with postfix FAB are widened to allow the routing of internal traces</description>
<gates>
<gate name="G$1" symbol="R-US"/>
</gates>
<devices>
<device name="1206" package="R1206">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206W" package="R1206W">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="1206FAB" package="R1206FAB">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="LED">
<description>LED</description>
<gates>
<gate name="G$1" symbol="LED"/>
</gates>
<devices>
<device name="" package="LED1206">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="FAB1206" package="LED1206FAB">
<connects>
<connect gate="G$1" pin="A" pad="1"/>
<connect gate="G$1" pin="C" pad="2"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
<device name="5MM" package="5MM">
<connects>
<connect gate="G$1" pin="A" pad="IN"/>
<connect gate="G$1" pin="C" pad="OUT"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="6MM_SWITCH" prefix="S" uservalue="yes">
<description>&lt;b&gt;OMRON SWITCH&lt;/b&gt;</description>
<gates>
<gate name="2" symbol="TS2"/>
</gates>
<devices>
<device name="6MM_SWITCH" package="6MM_SWITCH">
<connects>
<connect gate="2" pin="P" pad="1"/>
<connect gate="2" pin="P1" pad="2"/>
<connect gate="2" pin="S" pad="3"/>
<connect gate="2" pin="S1" pad="4"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
<library name="pinhead">
<description>&lt;b&gt;Pin Header Connectors&lt;/b&gt;&lt;p&gt;
&lt;author&gt;Created by librarian@cadsoft.de&lt;/author&gt;</description>
<packages>
<package name="1X03">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X03/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X10">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X10/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X06">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X06/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X02">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
<package name="1X02/90">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
</package>
</packages>
<symbols>
<symbol name="PINHD3">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
<pin name="3" direction="pas" function="dot"/>
</symbol>
<symbol name="PINHD10">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
<pin name="3" direction="pas" function="dot"/>
<pin name="4" direction="pas" function="dot"/>
<pin name="5" direction="pas" function="dot"/>
<pin name="6" direction="pas" function="dot"/>
<pin name="7" direction="pas" function="dot"/>
<pin name="8" direction="pas" function="dot"/>
<pin name="9" direction="pas" function="dot"/>
<pin name="10" direction="pas" function="dot"/>
</symbol>
<symbol name="PINHD6">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
<pin name="3" direction="pas" function="dot"/>
<pin name="4" direction="pas" function="dot"/>
<pin name="5" direction="pas" function="dot"/>
<pin name="6" direction="pas" function="dot"/>
</symbol>
<symbol name="PINHD2">
<pin name="1" direction="pas" function="dot"/>
<pin name="2" direction="pas" function="dot"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="PINHD-1X3" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINHD3"/>
</gates>
<devices>
<device name="" package="1X03">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="92"/>
</technology>
</technologies>
</device>
<device name="/90" package="1X03/90">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="17"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-1X10" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINHD10"/>
</gates>
<devices>
<device name="" package="1X10">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="10" pad="10"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
<connect gate="A" pin="4" pad="4"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
<connect gate="A" pin="7" pad="7"/>
<connect gate="A" pin="8" pad="8"/>
<connect gate="A" pin="9" pad="9"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="35"/>
</technology>
</technologies>
</device>
<device name="/90" package="1X10/90">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="10" pad="10"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
<connect gate="A" pin="4" pad="4"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
<connect gate="A" pin="7" pad="7"/>
<connect gate="A" pin="8" pad="8"/>
<connect gate="A" pin="9" pad="9"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="1"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-1X6" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="A" symbol="PINHD6"/>
</gates>
<devices>
<device name="" package="1X06">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
<connect gate="A" pin="4" pad="4"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="79"/>
</technology>
</technologies>
</device>
<device name="/90" package="1X06/90">
<connects>
<connect gate="A" pin="1" pad="1"/>
<connect gate="A" pin="2" pad="2"/>
<connect gate="A" pin="3" pad="3"/>
<connect gate="A" pin="4" pad="4"/>
<connect gate="A" pin="5" pad="5"/>
<connect gate="A" pin="6" pad="6"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="10"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
<deviceset name="PINHD-1X2" prefix="JP" uservalue="yes">
<description>&lt;b&gt;PIN HEADER&lt;/b&gt;</description>
<gates>
<gate name="G$1" symbol="PINHD2"/>
</gates>
<devices>
<device name="" package="1X02">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="98"/>
</technology>
</technologies>
</device>
<device name="/90" package="1X02/90">
<connects>
<connect gate="G$1" pin="1" pad="1"/>
<connect gate="G$1" pin="2" pad="2"/>
</connects>
<technologies>
<technology name="">
<attribute name="POPULARITY" value="24"/>
</technology>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<parts>
<part name="IC1" library="atmel" deviceset="ATTINY*16" device="-SN" technology="32"/>
<part name="C1" library="fablib2020" deviceset="CAP_UNPOLARIZED" device="FAB" value="1uF"/>
<part name="U$1" library="fab" deviceset="FTDI-SMD-HEADER" device=""/>
<part name="JP1" library="pinhead" deviceset="PINHD-1X3" device=""/>
<part name="JP2" library="pinhead" deviceset="PINHD-1X10" device=""/>
<part name="R1" library="fab" deviceset="RES-US" device="1206FAB" value="499"/>
<part name="U$2" library="fab" deviceset="LED" device="FAB1206"/>
<part name="S1" library="fab" deviceset="6MM_SWITCH" device="6MM_SWITCH"/>
<part name="R2" library="fab" deviceset="RES-US" device="1206FAB" value="10K"/>
<part name="JP3" library="pinhead" deviceset="PINHD-1X6" device=""/>
<part name="R4" library="fab" deviceset="RES-US" device="1206FAB" value="0ohm"/>
<part name="JP4" library="pinhead" deviceset="PINHD-1X2" device=""/>
<part name="JP5" library="pinhead" deviceset="PINHD-1X2" device=""/>
</parts>
<sheets>
<sheet>
<plain>
</plain>
<busses>
</busses>
<nets>
<net name="VCC">
<segment>
<pinref part="C1" gate="&gt;NAME" pin="1"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="3"/>
</segment>
<segment>
<pinref part="R2" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="1"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="VCC"/>
</segment>
<segment>
<pinref part="JP4" gate="G$1" pin="1"/>
</segment>
</net>
<net name="GND">
<segment>
<pinref part="C1" gate="&gt;NAME" pin="2"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="2"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="1"/>
</segment>
<segment>
<pinref part="U$2" gate="G$1" pin="C"/>
</segment>
<segment>
<pinref part="S1" gate="2" pin="S1"/>
</segment>
<segment>
<pinref part="U$1" gate="G$1" pin="GND"/>
</segment>
<segment>
<pinref part="JP4" gate="G$1" pin="2"/>
</segment>
</net>
<net name="RX">
<segment>
<pinref part="U$1" gate="G$1" pin="RXD"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PB2(TOSC2/EVOUT1/TXD/TCA0WO2)"/>
</segment>
<segment>
<pinref part="JP5" gate="G$1" pin="2"/>
</segment>
</net>
<net name="TX">
<segment>
<pinref part="U$1" gate="G$1" pin="TXD"/>
</segment>
<segment>
<pinref part="IC1" gate="G$1" pin="PB3(TOSC1/RXD)"/>
</segment>
<segment>
<pinref part="JP5" gate="G$1" pin="1"/>
</segment>
</net>
<net name="UPDI">
<segment>
<pinref part="IC1" gate="G$1" pin="PA0(!RESET!/UPDI/AIN0/LUT0-IN0)"/>
</segment>
<segment>
<pinref part="JP1" gate="A" pin="1"/>
</segment>
</net>
<net name="PA3">
<segment>
<pinref part="IC1" gate="G$1" pin="(TCA0WO3/SCK/AIN3/EXTCLK)PA3"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="2"/>
</segment>
<segment>
<pinref part="R1" gate="G$1" pin="1"/>
</segment>
</net>
<net name="PA2">
<segment>
<pinref part="IC1" gate="G$1" pin="(LUT0-IN2/MISO/AIN2/EVOUT0)PA2"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="3"/>
</segment>
</net>
<net name="PA1">
<segment>
<pinref part="IC1" gate="G$1" pin="(LUT0-IN1/MOSI/AIN1/BREAK)PA1"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="4"/>
</segment>
</net>
<net name="PC3">
<segment>
<pinref part="IC1" gate="G$1" pin="PC3(LUT1-IN0)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="5"/>
</segment>
</net>
<net name="PC2">
<segment>
<pinref part="IC1" gate="G$1" pin="PC2(EVOUT2)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="6"/>
</segment>
</net>
<net name="PC1">
<segment>
<pinref part="IC1" gate="G$1" pin="PC1(TCD0WOD)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="7"/>
</segment>
</net>
<net name="PC0">
<segment>
<pinref part="IC1" gate="G$1" pin="PC0(TCD0WOC)"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="8"/>
</segment>
</net>
<net name="SCL">
<segment>
<pinref part="IC1" gate="G$1" pin="(TCA0WO0/SCL/XDIR/AIN11)PB0"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="9"/>
</segment>
</net>
<net name="SDA">
<segment>
<pinref part="IC1" gate="G$1" pin="(TCA0WO1/SDA/XCK/AIN10)PB1"/>
</segment>
<segment>
<pinref part="JP2" gate="A" pin="10"/>
</segment>
<segment>
<pinref part="R4" gate="G$1" pin="1"/>
</segment>
<segment>
<pinref part="R4" gate="G$1" pin="2"/>
</segment>
</net>
<net name="PA4">
<segment>
<pinref part="IC1" gate="G$1" pin="(LUT0-OUT/TCD0WOA/TCA0WO4/!SS!/AIN4)PA4"/>
</segment>
<segment>
<pinref part="R2" gate="G$1" pin="2"/>
</segment>
<segment>
<pinref part="S1" gate="2" pin="P1"/>
</segment>
</net>
<net name="N$1">
<segment>
<pinref part="U$2" gate="G$1" pin="A"/>
<pinref part="R1" gate="G$1" pin="2"/>
</segment>
</net>
<net name="PA5">
<segment>
<pinref part="IC1" gate="G$1" pin="(TCD0WOB/TCB0WO/TCA0WO5/AC0OUT/AIN5)PA5"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="2"/>
</segment>
</net>
<net name="PA6">
<segment>
<pinref part="IC1" gate="G$1" pin="(DAC0OUT/AINN0/AIN6)PA6"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="3"/>
</segment>
</net>
<net name="PA7">
<segment>
<pinref part="IC1" gate="G$1" pin="(LUT1-OUT/AINP0/AIN7)PA7"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="4"/>
</segment>
</net>
<net name="PB4">
<segment>
<pinref part="IC1" gate="G$1" pin="(AINN1/AIN9)PB4"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="6"/>
</segment>
</net>
<net name="PB5">
<segment>
<pinref part="IC1" gate="G$1" pin="(AINP1/AIN8/CLKOUT)PB5"/>
</segment>
<segment>
<pinref part="JP3" gate="A" pin="5"/>
</segment>
</net>
</nets>
</sheet>
</sheets>
</schematic>
</drawing>
</eagle>
