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

📄 interface.h

📁 单工无线呼叫系统的全部源代码 AD9858
💻 H
字号:
/***************************************************************************************************
	file			:	Interface.h
	author			:	Group23.EEICST.HUST
	finish			:	2005-08-15 10:43
	related files	:	Interface.c
----------------------------------------------------------------------------------------------------
	the basic API for SPCE061 with LCD(FM12864) and KeyBoard
	used 8 IOs for control,and they are exclusive
	used 8 IOs for Data,and they can be shared
	used IRQ6_TMB1
Attention:
	At the very begining of your programe fire the "Interface_Init" before
***************************************************************************************************/

#ifndef __Interface_h__
#define __Interface_h__

void Interface_Init();
void LCD_Init();
void LCD_CLS(unsigned char Color);
void LCD_StartRow(int x);
void LCD_Pixel(int x,int y,unsigned char Color);
void LCD_Line(int x0,int y0,int x1,int y1,unsigned char Color);
void LCD_Bar(int x0,int y0,int x1,int y1,unsigned char LineColor,unsigned char FillColor);
void LCD_Box(int x0,int y0,int x1,int y1,unsigned char Color);
int LCD_DrawText(char *str,int x,int y,char ForeColor,char BackColor);	//Color:0-white,1-black,2-reverse,3-lucency
void LCD_Reverse(int x0,int y0,int x1,int y1);

#endif

⌨️ 快捷键说明

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