完成:实验三 第二题
This commit is contained in:
@@ -13,7 +13,7 @@ void test1()
|
||||
ADDR0 = 0;
|
||||
|
||||
while (true) {
|
||||
P2 = ~(0x80 >> cnt);
|
||||
P2 = ~(0x01 << cnt);
|
||||
Delay(20000);
|
||||
cnt++;
|
||||
if (cnt >= 8) {
|
||||
|
||||
Reference in New Issue
Block a user