3
<!-- *************************************************************************** -->
4
<!-- * Copyright (C) 2017 by santiago González * -->
5
<!-- * santigoro@gmail.com * -->
7
<!-- * This program is free software; you can redistribute it and/or modify * -->
8
<!-- * it under the terms of the GNU General Public License as published by * -->
9
<!-- * the Free Software Foundation; either version 3 of the License, or * -->
10
<!-- * (at your option) any later version. * -->
12
<!-- * This program is distributed in the hope that it will be useful, * -->
13
<!-- * but WITHOUT ANY WARRANTY; without even the implied warranty of * -->
14
<!-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -->
15
<!-- * GNU General Public License for more details. * -->
17
<!-- * You should have received a copy of the GNU General Public License * -->
18
<!-- * along with this program; if not, see <http://www.gnu.org/licenses/>. * -->
20
<!-- *************************************************************************** -->
22
<package name="atmega328" pins="28" width="4" height="15">
24
<pin side="left" pos="1" type="bidir" id="PC6" label="C6"/>
25
<pin side="left" pos="2" type="bidir" id="PD0" label="D0"/>
26
<pin side="left" pos="3" type="bidir" id="PD1" label="D1"/>
27
<pin side="left" pos="4" type="bidir" id="PD2" label="D2"/>
28
<pin side="left" pos="5" type="OC2B" id="PD3" label="D3"/>
29
<pin side="left" pos="6" type="bidir" id="PD4" label="D4"/>
31
<pin side="left" pos="7" type="unused" id="VCC" label="Vcc"/>
32
<pin side="left" pos="8" type="unused" id="GND1" label="Gnd"/>
34
<pin side="left" pos="9" type="bidir" id="PB6" label="B6"/>
35
<pin side="left" pos="10" type="bidir" id="PB7" label="B7"/>
36
<pin side="left" pos="11" type="OC0B" id="PD5" label="D5"/>
37
<pin side="left" pos="12" type="OC0A,ain0" id="PD6" label="D6"/>
38
<pin side="left" pos="13" type="bidir,ain1" id="PD7" label="D7"/>
39
<pin side="left" pos="14" type="bidir" id="PB0" label="B0"/>
41
<pin side="right" pos="14" type="OC1A" id="PB1" label="B1"/>
42
<pin side="right" pos="13" type="OC1B" id="PB2" label="B2"/>
43
<pin side="right" pos="12" type="OC2A" id="PB3" label="B3"/>
44
<pin side="right" pos="11" type="open" id="PB4" label="B4"/>
45
<pin side="right" pos="10" type="bidir" id="PB5" label="B5"/>
47
<pin side="right" pos="9" type="avcc" id="AVCC" label="A+"/>
48
<pin side="right" pos="8" type="aref" id="AREF" label="Ar"/>
49
<pin side="right" pos="7" type="unused" id="GND2" label="Gnd"/>
51
<pin side="right" pos="6" type="adc0" id="PC0" label="C0"/>
52
<pin side="right" pos="5" type="adc1" id="PC1" label="C1"/>
53
<pin side="right" pos="4" type="adc2" id="PC2" label="C2"/>
54
<pin side="right" pos="3" type="adc3" id="PC3" label="C3"/>
55
<pin side="right" pos="2" type="adc4,sda" id="PC4" label="C4"/>
56
<pin side="right" pos="1" type="adc5,scl" id="PC5" label="C5"/>