Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Graphical LCD interfacing with Atmega16

Status
Not open for further replies.

sukhdeepmankoo

Member level 2
Joined
May 14, 2009
Messages
47
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,616
Dear Sir,
I am trying to interface GDM12864A 128*64 Graphical LCD with ATmega16. I want to read the data at any line. how can i read it. I have read the data sheet and has written the following program.

unsigned char lcm_read()
{ unsigned char read;
LCD_DATA_DDR=0;
delay(30);
LCD_CONTROL_PORT|=((1<<DI)|(1<<RW)|(1<<EN));
delay(30);
read=LCD_DATA_PIN;
LCD_DATA_DDR=0xff;
delay(30);
LCD_CONTROL_PORT&=((1<<EN));
delay(30);
return read;
}

kindly tell me, how can i read the data from LCM.
Thanks & Regards
 

Hi,

Just first understand all the interfacing connection between microcontroller & Graphical LCD.
Than try for Low level coding which u will find out by reading data sheet of Graphical LCD correctly.
Try to generate some character on ur display.
Don't frustrate just be cool & try.

Regards,
Chanchal
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top