88_test.c

来自「使用embest IDE开发工具开发的基于LPC2294 的触摸屏开发」· C语言 代码 · 共 81 行

C
81
字号

/***********************************************************************

       Embest Info&Tech Co., Ltd.  All rights reserved.
                     www.embedinfo.com

file     : 88_test
author   : embest 
establish: 2006.
modify	 :
notes    :
***********************************************************************/

/*-------------------------------------------------------------------*/
/*                       compiler condition                          */
/*---------------------------------------------------------------- --*/



/*-------------------------------------------------------------------*/
/*                       include files                               */
/*---------------------------------------------------------------- --*/
#include    "..\..\com\lpc_lib_88\lpc_lib_88.h"




/*-------------------------------------------------------------------*/
/*                       local function declare                      */
/*-------------------------------------------------------------------*/
void disp_88_test(void);



/*-------------------------------------------------------------------*/
/*              extern function/variable declare                     */
/*-------------------------------------------------------------------*/
//extern void irq_timer0(void);

//extern void  time_dly(INT32U dly);
/*-------------------------------------------------------------------*/
/*                      global variable define                       */
/*-------------------------------------------------------------------*/



/*-------------------------------------------------------------------*/
/*                       function code                               */
/*-------------------------------------------------------------------*/


/***********************function descption****************************/

void Main()
{
	lpc_init_pll_manual();
	disp_88_test();
}

void disp_88_test(void)
{

	INT32U i;
	display_88_init();
//	i=TIMER0_IR;
//	while((i&=0x01)!=1);

	
	for(i=0;i<99999999;i++)
	{
		display_88(i);
		 time_dly(50);
	}


}




⌨️ 快捷键说明

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