Hi! I'm having some problems declearing an array. I am trying to make an array that contains messages that I will later display on an LCD display. I am using a 2D char array, but I don't want to specify a fixed size to the second dimension. At the moment i am doing this:
const char message[][20] = { "RS232 Monitor", "By: Oyvind Tjervaag", "V1.0", };
const char message[][] = {...}
Is this what you ended up with? (This works fine for me.)
void LCD_String (char ROW, char COL, char *string) { GoToXY (ROW, COL); while (*string) LCDdata (*string++); } char lcdstr[] = "LCD Ready"; LCD_String(1,1,lcdstr);