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

📄 lcd.h

📁 这个程序用于单片机和无线传输芯片CC2500之间的传送
💻 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 + -