完成:实验三 第二题

This commit is contained in:
2025-03-25 13:16:52 +08:00
parent b4a3a188fe
commit a60eec5800
3 changed files with 35 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ void test1()
ADDR0 = 0;
while (true) {
P2 = ~(0x80 >> cnt);
P2 = ~(0x01 << cnt);
Delay(20000);
cnt++;
if (cnt >= 8) {