PORTA 40H
PORTB 41H
PORTC 42H
CONTROL PORT 43H
----------------------------------------
CONNECTORS J1 & J2
PIN NO 8255 PIN FUNCTION
ON J1/J2
1 13 PC4
2 12 PC5
3 16 PC2
4 17 PC3
5 14 PC0
6 15 PC1
7 24 PB6
8 25 PB7
9 22 PB4
10 23 PB5
11 20 PB2
12 21 PB3
13 18 PB0
14 19 PB1
15 38 PA6
16 37 PA7
17 40 PA4
18 39 PA5
19 2 PA2
20 1 PA3
21 4 PA0
22 3 PA1
23 11 PC6
24 10 PC7
25 26 + 5V
26 7 GND