⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 ks0108 avr单片机1284显示
💻 C
字号:
/*----------------------------------------------------------------------------*-
   
   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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -