main.c

来自「LED指示灯程序。应用于S3C44B0X ARM板上的LED测试」· C语言 代码 · 共 29 行

C
29
字号
#include "option.h"
#include "def.h"
#include "44b.h"
#include "44blib.h"

void Main(void)
{
    rSYSCFG=CACHECFG;   // Using 8KB Cache//

    Port_Init();
    while(1) {
        Led_Display(0x01);
        Delay(2000);
        Led_Display(0x02);
        Delay(2000);
        Led_Display(0x04);
        Delay(2000);
        Led_Display(0x00);
        Delay(2000);
        Led_Display(0x04);
        Delay(2000);
        Led_Display(0x02);
        Delay(2000);
        Led_Display(0x01);
        Delay(2000);
        Led_Display(0x00);
        Delay(2000);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?