init: homework4 test3
This commit is contained in:
@@ -19,7 +19,8 @@
|
|||||||
"targets": {
|
"targets": {
|
||||||
"Debug": {
|
"Debug": {
|
||||||
"excludeList": [
|
"excludeList": [
|
||||||
"src/test1.c"
|
"src/test1.c",
|
||||||
|
"src/test2.c"
|
||||||
],
|
],
|
||||||
"toolchain": "Keil_C51",
|
"toolchain": "Keil_C51",
|
||||||
"compileConfig": {
|
"compileConfig": {
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
// test3.c
|
||||||
|
// 用一个数码管的静态显示来实现一个简单的秒表
|
||||||
|
|
||||||
|
#include "homework4.h"
|
||||||
|
|
||||||
|
void test3()
|
||||||
|
{
|
||||||
|
set_38_2SEG();
|
||||||
|
}
|
||||||
|
|
||||||
|
void main()
|
||||||
|
{
|
||||||
|
test3();
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user