📄 app.c
字号:
/*
*********************************************************************************************************
* INCLUDE FILES
*********************************************************************************************************
*/
#include <includes.h>
/*
*********************************************************************************************************
* main()
*
* Description : This is the standard entry point for C code. It is assumed that your code will call
* main() once you have performed all necessary initialization.
*
* Argument(s) : none
*
* Return(s) : none
*********************************************************************************************************
*/
int main (void)
{
CPU_INT08U i=0;
BSP_IntDisAll(); /* Disable all interrupts until we are ready to accept them */
BSP_Init();
GUI_Init();
GUI_Clear();
GUI_DispString("Hello easyarm2131 from zlg.\n");
while(1)
{
if(i==0)
{
LED_On(0);
LCD_Delay(1000);
i=1;
}
else
{
LED_Off(0);
LCD_Delay(1000);
i=0;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -