This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Regarding Hitachi LCD

Hi,

I have downloaded Graphics library for MSP430 from the TI website. In the example project provided, there is LCD driver file named - Hitachi138x110_HD66753.c.

There is one "LcdInitializationMacro[ ]" defined in the file.

Can someone please tell me what is that macro all about? I believe that it might be the register map but I am not sure. If so then where will I get the macro for some different LCD?

Please find the macro below :

uint8_t LcdInitializationMacro[] = {
0x74, 0x00, 0x00, 0x76, 0x00, 0x01,     // R00 start oscillation
0x74, 0x00, 0x01, 0x76, 0x00, 0x0D,    // R01 driver output control
0x74, 0x00, 0x02, 0x76, 0x00, 0x4C,    // R02 LCD - driving waveform control
0x74, 0x00, 0x03, 0x76, 0x12, 0x14,    // R03 Power control
0x74, 0x00, 0x04, 0x76, 0x04, 0x66,    // R04 Contrast control
0x74, 0x00, 0x05, 0x76, 0x00, 0x10,    // R05 Entry mode
0x74, 0x00, 0x06, 0x76, 0x00, 0x00,    // R06 RAM data write mask
0x74, 0x00, 0x07, 0x76, 0x00, 0x15,    // R07 Display control
0x74, 0x00, 0x08, 0x76, 0x00, 0x03,    // R08 Cursor Control
0x74, 0x00, 0x09, 0x76, 0x00, 0x00,    // R09 RAM data write mask
0x74, 0x00, 0x0A, 0x76, 0x00, 0x15,    // R0A
0x74, 0x00, 0x0B, 0x76, 0x00, 0x03,    // R0B Horizontal Cursor Position
0x74, 0x00, 0x0C, 0x76, 0x00, 0x03,   // R0C Vertical Cursor Position
0x74, 0x00, 0x0D, 0x76, 0x00, 0x00,   // R0D
0x74, 0x00, 0x0E, 0x76, 0x00, 0x15,   // R0E
0x74, 0x00, 0x0F, 0x76, 0x00, 0x03,   // R0F
0x74, 0x00, 0x10, 0x76, 0x00, 0x15,   // R0E
0x74, 0x00, 0x11, 0x76, 0x00, 0x03,   // R0F
};

//uint8_t Read_Block_Macro[] = {0x74, 0x00, 0x12, 0x77, 0x00, 0x00};
uint8_t Set_Address_Macro[] = {0x74, 0x00, 0x11, 0x76, 0x00, 0x00};
uint8_t Draw_Block_Macro[] = {0x74, 0x00, 0x12, 0x76, 0xFF, 0xFF};

Thanks

Akshay

**Attention** This is a public forum