archieve: homework7 test1
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* 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();
|
||||
}
|
||||
Reference in New Issue
Block a user