From 346478498d7c691ea8926f7ae78631507bda4dbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=A1=E5=9D=82=E3=82=B9=E3=83=90=E3=83=AB?= Date: Tue, 6 May 2025 20:52:02 +0800 Subject: [PATCH] init: homework6 test4 --- homework6/src/test4.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 homework6/src/test4.c diff --git a/homework6/src/test4.c b/homework6/src/test4.c new file mode 100644 index 0000000..5358bf3 --- /dev/null +++ b/homework6/src/test4.c @@ -0,0 +1,13 @@ +// test4.c +// 利用定时器T0定时10秒,并通过数码管显示秒表,到10秒后让led流水灯从左往右移动 +// use timer T0 to count 10 seconds and display the stopwatch on the 7-segment display, and let the led light move from left to right after 10 seconds. +#include "homework6.h" + +void test4() +{ +} + +void main() +{ + test4(); +} \ No newline at end of file