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

📄 lcd_a.h

📁 时间触发嵌入式系统设计模式:使用8051系列微控制器开发可靠应用
💻 H
字号:
/*------------------------------------------------------------------*-

   LCD_A.h (v1.01)

  ------------------------------------------------------------------

   - See LCD_A.c for details.
 

   COPYRIGHT
   ---------

   This code is from the book:

   PATTERNS FOR TIME-TRIGGERED EMBEDDED SYSTEMS by Michael J. Pont 
   [Pearson Education, 2001; ISBN: 0-201-33138-1].

   This code is copyright (c) 2001 by Michael J. Pont.
 
   See book for copyright details and other information.

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

// ------ Public function prototypes -------------------------------

void LCD_Init(const bit);

void LCD_Update(void);

// Controls display of cursor and / or blinking at spec. address
void LCD_Control_Cursor(const bit, const bit, const tByte);

void LCD_Create_Character(const tByte, const tByte* const);


// ------ Public constants -----------------------------------------

// 2 x 20 display here
#define LCD_LINES 2
#define LCD_CHARACTERS 20

// User-defined characters
#define LCD_UDC_POUNDS 1
#define LCD_UDC_DEGREES_C 2 

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



⌨️ 快捷键说明

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