rEDI Pin Mapping

Arduino ATmega644P (TQFP44)  
Pin NumberFunctionPin NumberNameNotes
0Digital Pin 0/RX09PD0/RXD0Serial
1Digital Pin 1/TX010PD1/TXD0Serial
2Digital Pin 2/RX111PD2/RXD1/INT0Serial1
3Digital Pin 3/TX112PD3/TXD1/INT1Serial1
4Digital Pin 4/PWM13PD4/OC1B/XCK1Servo 1
5Digital Pin 5/PWM14PD5/OC1AServo 2
6Digital Pin 6/PWM15PD6/OC2B/ICPServo 3
7Digital Pin 7/PWM16PD7/OC2AServo 4
8Digital Pin 8/INT242PB2/INT2/AIN0 
9Digital Pin 9/PWM43PB3/OC0A/AIN1(optional) LCHB 1EN
10Digital Pin 10/PWM44PB4/OC0B/SSSPI/(optional) LCHB 2EN
11Digital Pin 11/MOSI1PB5/MOSISPI
12Digital Pin 12/MISO2PB6/MISOSPI
13Digital Pin 13/SCK3PB7/SCKSPI
14Digital Pin 14/Analog 037PA0/ADC0 
15Digital Pin 15/Analog 136PA1/ADC1 
16Digital Pin 16/Analog 235PA2/ADC2 
17Digital Pin 17/Analog 334PA3/ADC3 
18Digital Pin 18/Analog 433PA4/ADC4 
19Digital Pin 19/Analog 532PA5/ADC5 
20Digital Pin 20/Analog 631PA6/ADC6Thumb wheel trim-pot
21Digital Pin 21/Analog 730PA7/ADC7Battery/jack voltage monitor
22Digital Pin 2240PB0/T0/XCK0(optional) LCHB 1DIR
23Digital Pin 2341PB1/CLKO/T1(optional) LCHB 2DIR
24Digital Pin 2419PC0/SCLTWI/I2C
25Digital Pin 2520PC1/SDATWI/I2C
26Digital Pin 2621PC2/TCK 
27Digital Pin 2722PC3/TMSPiezo speaker
28Digital Pin 2823PC4/TDOSwitch/LED 1 (Green)
29Digital Pin 2924PC5/TDISwitch/LED 2 (Yellow)
30Digital Pin 3025PC6Switch/LED 3 (Red)
31Digital Pin 3126PC7Switch/LED 4 (Blue)
AREFAnalog Reference29AREF 
RESETReset4RESET