I recently purchased a GLCD from cytron ( http://www.cytron.com.my/viewProduct.ph ... %20(128x64) ) and am trying to interface it with my arduino UNO. I downloaded the LCD12864R and tried to run the LCD_char code and everytime it returns nothing if not having trouble with the code, as in the screen remains blank.
I interfaced them together using the following pin out:
RS = Analog Pin3
RW = Analog Pin2
E = Analog Pin4
D0 = 8;
D1 = 9;
D2 = 10;
D3 = 11;
D4 = 4;
D5 = 5;
D6 = 6;
D7 = 7;
PSB = 5V;
and this is a sample code;
#include "LCD12864R.h"
#define AR_SIZE( a ) sizeof( a ) / sizeof( a[0] )
unsigned char show0[]={0xBB,0xFA,0xC6,0xF7,0xC8,0xCB,0xC3,0xCE,0xB9,0xA4,0xB3,0xA7};
unsigned char show1[]="www.dfrobot.com";//
void setup()
{
LCDA.Initialise(); // INIT SCREEN
delay(100);
}
void loop()
{
LCDA.CLEAR();//ÇåÆÁ
delay(100);
LCDA.DisplaySig(0,0,0x20);//ÏÔʾһ¸ö¿Õ¸ñ
delay(100);
LCDA.DisplayString(0,1,show0,AR_SIZE(show0));//LOGO
delay(100);
LCDA.DisplayString(2,0,show1,AR_SIZE(show1));;//LOGO
while(1);
}
***** i cant seem to see what the problem is and really hope someone can help me rectify this.. Thank you.