- Sat Mar 06, 2010 8:25 am
#95509
As a 1st step, I've been able to compile and download the MSP-4619-LCD_GE8 project you referenced using the IAR dev environment.
Unfortunately, when I called LCDWriteChar to type "hello" on the LCD nothing happened.
It looks like the function is not defined for the GE8 LCD. Any help you could offer would be greatly appreciated.
Best,
-Keith
Here are my calls to LCDWriteChar:
LCDWriteChar('h',0x10,0x17,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('e',0x20,0x27,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('l',0x28,0x2F,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('l',0x30,0x37,0x10,0x1f,0x0070,0x01EF);
LCDWriteChar('o',0x38,0x3F,0x10,0x1f,0x0070,0x01EF);
Here is the template for the LCDWriteChar function contained in \MSP-4619-LCD_GE8\LCD.c
void LCDWriteChar(unsigned char Ascii,
unsigned char xb, unsigned char xe,
unsigned char yb, unsigned char ye,
unsigned short FG_Colour, unsigned short BG_Colour) {
#ifdef GE12
GE12 code is here ...
#else
The else is empty...
#endif
}