22 lines
369 B
C
22 lines
369 B
C
/*
|
|
* name: test1.c
|
|
* author: msksbr
|
|
* date: 2025-5-20
|
|
* description: a test program for a homework
|
|
* homework zh_CN: 点亮点阵左上角的那个LED小灯
|
|
* homework en_US: light up the LED in the top left corner of the LED matrix
|
|
*/
|
|
|
|
#include "homework7.h"
|
|
|
|
void test1()
|
|
{
|
|
init_x_template();
|
|
LED_X0 = 1;
|
|
LED_Y7 = 0;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
test1();
|
|
} |