?? lcd.h
字號:
/*******************************************************************************************************
* *
* ********** *
* ************ *
* *** *** *
* *** +++ *** *
* *** + + *** This file contains all defines and function prototypes necessary to *
* *** + run the LCD example. *
* *** + + *** *
* *** +++ *** lcd.h *
* *** *** *
* ************ *
* ********** *
* *
*******************************************************************************************************
* Compiler: Keil C51 V7.50 *
* Target platform: Chipcon CC2500 (Silabs F320) *
* Author: ZXD *
*******************************************************************************************************
* Revision history: See end of file *
*******************************************************************************************************/
//----------------------------------------------------------------------------------
// Defines
//----------------------------------------------------------------------------------
sbit SCK=P2^7;//red line
sbit SID=P2^6;// blue line
//GND ,yellow line
//----------------------------------------------------------------------------------
// Global Variables
unsigned char code logo[];
unsigned char code bmp1[];
//-------------------------------------------------------------------------------------------------------
// Function declarations
//unsigned char code str1[]= "Welcome Optics!";
//------------------------------------------------------------------------
//LCM 液晶CA12864K 串行方式
//------------------------------------------------------------------------
//串口發送一個字節
void SendByte(unsigned char Dbyte) ;
void WriteCommand( unsigned char Cbyte ) ;
void WriteData( unsigned char Dbyte );
void LcmInit( void );
void LcmClearTXT( void ) ;//文本區清RAM函數
//寫字符串
void PutStr(unsigned char row,unsigned char col,unsigned char *puts) ;
void PutBMP(unsigned char *puts);
void Delay(unsigned int us100) ;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -