📄 main.c
字号:
/*
;************************************************************************************************************
;* 北京精仪达盛科技有限公司
;* 研 发 部
;*
;* http://www.techshine.com
;*
;*--------------------------------------------- 文件信息 ----------------------------------------------------
;*
;* 文件名称 : MAIN.c
;* 文件功能 : 所有应用程序的头文件均加在此文件中
;* 补充说明 :
;*-------------------------------------------- 最新版本信息 -------------------------------------------------
;* 修改作者 : ARM7开发小组
;* 修改日期 : 2004/04/25
;* 版本声明 : V1.0.1
;*-------------------------------------------- 历史版本信息 -------------------------------------------------
;* 文件作者 : ARM7开发小组
;* 创建日期 : 2004/04/20
;* 版本声明 : v1.0.0
;*-----------------------------------------------------------------------------------------------------------
;*-----------------------------------------------------------------------------------------------------------
;************************************************************************************************************
;*/
#include "..\..\Gui\Init\GUI_Init.h"
#include "LCDDriver.h"
#include "target.h"
#include "2410LIB.h"
#include "2410addr.h"
/*
*************************************************************************************************************
- 函数名称 : Main(void)
- 函数说明 : 系统的主程序入口
- 输入参数 : 无
- 输出参数 : 无
*************************************************************************************************************
*/
void Main(void){
Target_Init();
Uart_Printf("--------------Touch Screen!-----------------\n");
GUI_Init();
Touch_Init();
TouchINT_Init();
Set_Color(GUI_BLUE);
Fill_Rect(0,0,319,239);
Set_Color(GUI_YELLOW);
while (1)
{
if (Uart_Getch() == ' ')
{
Set_Color(GUI_BLUE);
Fill_Rect(0,0,319,239);
Set_Color(GUI_YELLOW);
Uart_Printf("--------------Clear Screen!-----------------\n");
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -