hi every body.
I wanna ask that i wanna write only on my GLCD, so must i not connect the RW pin to ground?
if yes then what changes u suggest me to do in my code?? the code is attached here. thank you and regards..
///********************LCD Definitions**********************************
char GLCD_DataPort at PORTD;
sbit GLCD_CS1 at RB0_bit;
sbit GLCD_CS2 at RB1_bit;
sbit GLCD_RS at RB2_bit;
sbit GLCD_RW at RB3_bit;
sbit GLCD_EN at RB4_bit;
sbit GLCD_RST at RB5_bit;
sbit GLCD_CS1_Direction at TRISB0_bit;
sbit GLCD_CS2_Direction at TRISB1_bit;
sbit GLCD_RS_Direction at TRISB2_bit;
sbit GLCD_RW_Direction at TRISB3_bit;
sbit GLCD_EN_Direction at TRISB4_bit;
sbit GLCD_RST_Direction at TRISB5_bit;
//******************************************************************
void delay2S(){
Delay_ms(2000);
}
//*****************************************************************
void main()
{
#define COMPLETE_EXAMPLE
//ANSEL = 0;
//ANSELH = 0;
//C1ON_bit = 0;
//C2ON_bit = 0;
Glcd_init();
Glcd_Fill(0x00);
//*************main code loop***************
while(1)
{
#ifdef COMPLETE_EXAMPLE
Glcd_Set_Font(Character8x7, 8, 7, 32);
delay2S();
#endif
#ifdef TEXT_DEMO
Glcd_Write_Text("Rauf", 1, 7, 2);
delay2S();
#endif
}
}