RA8835控制器一般用来驱动高分辨率的液晶模块,如240160分辨率,320240分辨率等
例程如下:
/********************************
- Author Date : 2008/07/21
- Company : TSINGTEK
- Case : 320 x 240
- Device : AT89S52 at 12.0MHZ
- Compiled Using Keil C v7.50
***********************************/
#include <reg52.h>
#include <intrins.h>
#define uchar unsigned char
#define uint unsigned int
#define LCD_BUS P1
sbit _RD=P3^0;
sbit _CS=P3^1;
sbit _RES=P3^4;
sbit A0=P3^2;
sbit _WR=P3^5;
uchar code systom[]={0x32,0x87,0x07,0x27,0x42,0xf0,0x28,0x00,};
uchar code scroll[]={0x00,0x00,0xf0,0x00,0x28,0xf0,0x50,0x00,0x00,0x00,};
uchar code tab[]={“HANGZHOU TSINGTEK TECHNOLOGY CO…,LTD”};
uchar code tab1[]={"*** HG320240 ***** HG320240 ******"};
uchar code tab2[]={"$$$ W E B : W W W . B E S T − L C M . C O M WEB:WWW.BEST-LCM.COM WEB