www.pudn.com > netbox-ii_ks0108_192x64.rar > LCD_API.H
/*////////////////////////////////////////////////////////////////////////// Orgnization: Emtronix Incorporated Filename: LCD_API.H Compiler: BC3.1 Authors: Wang Ping Date: April, 2002 Revised: ... Description: defintions of API functions for LCD module ///////////////////////////////////////////////////////////////////////////*/ #if !defined(_LCD_API_H) #define _LCD_API_H // return = 0: ok! // = -1: fail int LCD_Init( char* CHN_FntFile, char* ASCII_FntFile ); int LCD_Clearup( ); // Mode = 0: copy write for dot, line, bar // = 1: xor write for dot, line, bar int LCD_SetMode( int Mode ); // x0, x1 = 0 -- 127; y0, y1 = 0 -- 63; // color = 0, 1 int LCD_PutPixel( int x0, int y0, int color ); int LCD_DrawLine( int x0, int y0, int x1, int y1, int color ); int LCD_FillBar( int x0, int y0, int x1, int y1, int color ); // x0 = 0 -- 127; y0 = 0 -- 63; // color = 0, 1 int LCD_WriteString( int x0, int y0, char* pStr, int color, int len ); #endif