main.c
来自「矩阵LED ARM S3C2410程序~~C源代码~~」· C语言 代码 · 共 36 行
C
36 行
/*********************************************************************************************
* File: main.c
* Author: embest
* Desc: Led_Test
* History:
*********************************************************************************************/
/*------------------------------------------------------------------------------------------*/
/* includes files */
/*------------------------------------------------------------------------------------------*/
#include "2410lib.h"
#include "sys_init.h"
/*------------------------------------------------------------------------------------------*/
/* extern declaration */
/*------------------------------------------------------------------------------------------*/
extern void led_test(void);
/*********************************************************************************************
* name: main
* func: c code entry
* para: none
* ret: none
* modify:
* comment:
*********************************************************************************************/
int main(void)
{
sys_init(); // Initial s3c2410's Clock,Interrupt,Port and UART
while(1)
{
led_test();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?