init: homework6 test4
This commit is contained in:
@@ -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();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user