main.c

来自「ks0108 avr单片机1284显示」· C语言 代码 · 共 51 行

C
51
字号
/*----------------------------------------------------------------------------*-
   
   Source Name   :  Main.C (v1.00)  

  ---------------------------------------------------------------------------- 
   COPYRIGHT 
   ---------	

   Created Date  :  2008.03.01
   Created By    :  HOCHIEN
   Modified By   :
   Modified Date :
   Version       :  2.0  
   Description   :  Main project source files.
                    See "Main.H" for more details about this project.
					   
   * * * This program is from : www.ICEworksop.com * * *

-*----------------------------------------------------------------------------*/

#include "Main.H"
#include "Init_SYS.H"

#include "KS0108_12864LCD.H"

/* -------------------------------------------------------------------------- */
/* .......................................................................... */

void main(void)
   {
   
   // ==== Initialization - BEGIN ============================================   
      
   // Global system initialization  
   Init_System();

   // Prepare for the KS0108 128 * 64 pixels Liquid Crystal Display(LCD)  
   KS0108_12864LCD_Init();

   // ==== Initialization - END ==============================================   
   
   while(1) // Super Loop "Endless loop"
      {
	  KS0108_12864LCD_Update();
      }
   }

/*----------------------------------------------------------------------------*-
  ---- END OF FILE -----------------------------------------------------------
-*----------------------------------------------------------------------------*/

⌨️ 快捷键说明

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