Using LCDI2C4BIT and trying to print a pointer array of strings...

So I have this array:

char* message[] = {"Arduino Good!","Bacon"};

And I am stepping though and printing it like this:

for(int i=0; i<sizeof(message); i++}{
 Serial.println(message[i]);
lcd.print(message[i]);}
delay(500);

The Serial.println() part works just fine, however the lcd.print() returns the following error:

invalid conversion from 'char*' to 'int'

Normally this wouldn't be too confusing, but how do I convert an array of pointers to int? I'm still new to programming and I haven't had this particular problem before.

Thanks in advance.

It appears that the library you are using does not have a print method that takes a character array. There does appear to be a printIn method, though, that does take a character array.

Ahhh yes. I forgot about printIn and was trying to use println instead. I'll try this when I get home :slight_smile:

I'm getting back into this from a short break so I am forgetting things and making dumb mistakes everywhere :blush: