cancel
Showing results for 
Search instead for 
Did you mean: 

LCD interfacing

renjith
Associate II
Posted on June 21, 2005 at 11:42

LCD interfacing

2 REPLIES 2
renjith
Associate II
Posted on June 10, 2005 at 05:02

Hi,

I am interfacing ST10F269 with Graphic LCD Module based on SED1335 LCD controller. How will I define LCD registers. Please send some examples in C for Keil compiler at the earliest

charles239955_st
Associate II
Posted on June 21, 2005 at 11:42

Hello,

I think you are connecting the LCD on the external bus.

What you have to do is select a free address range and define a BUSCONx/ADDRSELx pair to point to this range.

For exemple, if you use the segment 5 to map the LCD, you can use the following define:

#define LCD_register0 *( unsigned int huge *)(0x00050000)

Hope this help.