提交 | 用户 | age
|
5dd1b7
|
1 |
sbit IN0=P0^0; |
Q |
2 |
sbit IN1=P0^1; |
|
3 |
sbit IN2=P0^2; |
|
4 |
sbit IN3=P0^3; |
|
5 |
sbit IN4=P0^4; |
|
6 |
sbit IN5=P0^6; |
|
7 |
sbit IN6=P0^6; |
|
8 |
sbit IN7=P0^7; |
|
9 |
|
|
10 |
sbit TXD3_2=P5^1; |
|
11 |
sbit RXD3_2=P5^0; |
|
12 |
|
|
13 |
sbit OUT0=P2^0; |
|
14 |
sbit OUT1=P2^1; |
|
15 |
sbit OUT2=P2^2; |
|
16 |
sbit OUT3=P2^3; |
|
17 |
sbit OUT4=P2^4; |
|
18 |
sbit OUT5=P2^5; |
|
19 |
sbit OUT6=P2^6; |
|
20 |
sbit OUT7=P2^7; |
|
21 |
|
|
22 |
sbit ERR=P4^6; |
|
23 |
sbit RUN=P4^5; |
|
24 |
|
|
25 |
sbit KEY1=P3^6; |
|
26 |
sbit KEY2=P3^7; |
|
27 |
sbit KEY3=P4^1; |
|
28 |
sbit KEY4=P4^2; |
|
29 |
sbit KEY5=P4^3; |
|
30 |
sbit KEY6=P4^4; |