archieve: homework7 test3

This commit is contained in:
2025-05-25 00:37:27 +08:00
parent 3b682e993c
commit 420ae95641
4 changed files with 58 additions and 3 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ void test2()
{
for (i = 8; i > 0; i--) // @loop: display the heart shape on the led matrix
{
switch_138(i); // switch the 74HC138's address to i
switch_138(i); // switch the 74HC138's address to i
P2 = ~heart[i]; // display the heart shape on the led matrix
delay_ms(1);
P2 = 0xFF; // turn off the led matrix